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
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Tickets als Feedbackmechanismus für Inhalte auslaufen lassen und es durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unter:Einreichen und Feedback anzeigen für