편집

다음을 통해 공유


XamlType.ContentProperty Property

Definition

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