XamlType.ContentProperty 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 XamlMember information for the content property of this XamlType.
public:
property System::Xaml::XamlMember ^ ContentProperty { System::Xaml::XamlMember ^ get(); };
public System.Xaml.XamlMember ContentProperty { get; }
member this.ContentProperty : System.Xaml.XamlMember
Public ReadOnly Property ContentProperty As XamlMember
Property Value
XamlMember information for the content property of this XamlType. May be null
if no content property exists.
Remarks
When using the binding or backing of the CLR type system, the XAML content property can be specified on a type by applying ContentPropertyAttribute to the type definition.
This property aligns to the [content property]
information item in the [MS-XAML] specification.
If you do not use the default internal CLR reflection technique for a XamlType, calls to this property can invoke LookupContentProperty overrides on XamlType derived classes. For more information about return values and other behavior, see the documentation for LookupContentProperty on this type.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應