XamlObjectWriterSettings.BeforePropertiesHandler 属性

定义

获取或设置对回调的引用,该回调由 XAML 编写器在每个所创建对象的对象生存期的成员写入前阶段调用。

public:
 property EventHandler<System::Xaml::XamlObjectEventArgs ^> ^ BeforePropertiesHandler { EventHandler<System::Xaml::XamlObjectEventArgs ^> ^ get(); void set(EventHandler<System::Xaml::XamlObjectEventArgs ^> ^ value); };
public EventHandler<System.Xaml.XamlObjectEventArgs> BeforePropertiesHandler { get; set; }
member this.BeforePropertiesHandler : EventHandler<System.Xaml.XamlObjectEventArgs> with get, set
Public Property BeforePropertiesHandler As EventHandler(Of XamlObjectEventArgs)

属性值

由 XAML 编写器在对象生存期的成员写入前阶段调用的回调。

适用于

另请参阅