AutomationPeer.RaisePropertyChangedEvent 方法

定义

引发事件以通知自动化客户端已更改的属性值。

public:
 virtual void RaisePropertyChangedEvent(AutomationProperty ^ automationProperty, Platform::Object ^ oldValue, Platform::Object ^ newValue) = RaisePropertyChangedEvent;
void RaisePropertyChangedEvent(AutomationProperty const& automationProperty, IInspectable const& oldValue, IInspectable const& newValue);
public void RaisePropertyChangedEvent(AutomationProperty automationProperty, object oldValue, object newValue);
function raisePropertyChangedEvent(automationProperty, oldValue, newValue)
Public Sub RaisePropertyChangedEvent (automationProperty As AutomationProperty, oldValue As Object, newValue As Object)

参数

automationProperty
AutomationProperty

已更改的属性。

oldValue
Object

Platform::Object

IInspectable

属性的以前值。

newValue
Object

Platform::Object

IInspectable

属性的新值。

适用于