共用方式為


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 寫入器在物件存留期後置成員寫入階段叫用的回呼。

適用於

另請參閱