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);
    }

  • 相关阅读:
    Docker 安装 Logstash
    Docker 安装 Kibana
    go命令行参数
    小程序 表单提交
    小程序picker日历
    小程序,验证码倒计时效果
    flex图片垂直居中
    小程序单选框样式
    wechat-wxparse 使用
    小程序Banner跳转
  • 原文地址:https://www.cnblogs.com/chayu3/p/3502536.html
Copyright © 2011-2022 走看看