XamlTypeInvoker.SetMarkupExtensionHandler Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the handler to use when a XamlObjectWriter calls into an implemented MarkupExtension.
public:
property EventHandler<System::Windows::Markup::XamlSetMarkupExtensionEventArgs ^> ^ SetMarkupExtensionHandler { EventHandler<System::Windows::Markup::XamlSetMarkupExtensionEventArgs ^> ^ get(); };
public EventHandler<System.Windows.Markup.XamlSetMarkupExtensionEventArgs> SetMarkupExtensionHandler { get; }
member this.SetMarkupExtensionHandler : EventHandler<System.Windows.Markup.XamlSetMarkupExtensionEventArgs>
Public ReadOnly Property SetMarkupExtensionHandler As EventHandler(Of XamlSetMarkupExtensionEventArgs)
Property Value
A handler implementation that handles this case.
Remarks
The event handler is based on EventHandler<TEventArgs> constrained with XamlSetMarkupExtensionEventArgs event data.
The value returned invokes the LookupSetMarkupExtensionHandler behavior of the XamlType that the XamlTypeInvoker is based on.
The return value is null
for a XamlTypeInvoker that is based on an unknown XamlType.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈