zoukankan      html  css  js  c++  java
  • C# INotifyPropertyChanged

    INotifyPropertyChanged 向客户端发出某一属性值已更改的通知。

    namespace System.ComponentModel
    {
      // Summary:
      // Notifies clients that a property value has changed.
      public interface INotifyPropertyChanged
      {
      // Summary:
      // Occurs when a property value changes.
      event PropertyChangedEventHandler PropertyChanged; 声明event的时候event后面的是delegate, 这里是PropertyChangedEventHandler.
      }
    }

    PropertyChangedEventHandler

    namespace System.ComponentModel
    {
    // Summary:
    // Represents the method that will handle the System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    // event raised when a property is changed on a component.
    //
    // Parameters:
    // sender:
    // The source of the event.
    //
    // e:
    // A System.ComponentModel.PropertyChangedEventArgs that contains the event
    // data.
      public delegate void PropertyChangedEventHandler(object sender, PropertyChangedEventArgs e);
    }

  • 相关阅读:
    绿色通用的网站后台系统管理模板
    本站源码免费下载-木庄网络博客
    expr 数字操作
    wget 实现web监控脚本
    wget 监控web服务器
    read + 计算
    判断字符串长度
    替换字符串
    shell 字符串操作
    shell 定义变量
  • 原文地址:https://www.cnblogs.com/chayu3/p/3502536.html
Copyright © 2011-2022 走看看