SimpleWindow
载入中...
搜索中...
未找到
sw::INotifyPropertyChanged类 参考abstract

属性变更通知接口 更多...

#include <INotifyPropertyChanged.h>

类 sw::INotifyPropertyChanged 继承关系图:
sw::ObservableObject sw::FrameworkElement sw::WndBase sw::NotifyIcon sw::Timer sw::ToolTip sw::UIElement sw::BallonToolTip sw::Control sw::HwndWrapper sw::ItemsControl< StrList > sw::ItemsControl< TreeViewNode > sw::Animation sw::ButtonBase sw::DateTimePicker sw::HotKeyControl sw::ItemsControl< TItem > sw::MonthCalendar sw::ProgressBar sw::Slider sw::Splitter sw::StaticControl sw::StatusBar sw::SysLink sw::TabControl sw::TextBoxBase

Public 成员函数

virtual ~INotifyPropertyChanged ()=default
 默认析构函数
 

Public 属性

const Event< PropertyChangedEventHandlerPropertyChanged
 当属性值更改时触发的事件
 

Protected 成员函数

virtual PropertyChangedEventHandlerGetPropertyChangedEventDelegate ()=0
 获取属性更改事件委托的引用
 

详细描述

属性变更通知接口

成员函数说明

◆ GetPropertyChangedEventDelegate()

virtual PropertyChangedEventHandler & sw::INotifyPropertyChanged::GetPropertyChangedEventDelegate ( )
protectedpure virtual

获取属性更改事件委托的引用

注解
PropertyChanged事件使用该函数返回的委托来保存事件处理程序

sw::ObservableObject 内被实现.

类成员变量说明

◆ PropertyChanged

const Event<PropertyChangedEventHandler> sw::INotifyPropertyChanged::PropertyChanged
初始值:
{
Event<PropertyChangedEventHandler>::Init(this)
.Delegate([](INotifyPropertyChanged *self) -> PropertyChangedEventHandler & {
return self->GetPropertyChangedEventDelegate();
})
}
EventHandler< INotifyPropertyChanged, PropertyChangedEventArgs > PropertyChangedEventHandler
属性更改事件处理函数类型
Definition INotifyPropertyChanged.h:24

当属性值更改时触发的事件


该类的文档由以下文件生成: