Edytuj

Udostępnij za pośrednictwem


MarkupProperty.IsContent Property

Definition

When overridden in a derived class, determines whether this MarkupProperty represents direct content of a collection.

public:
 virtual property bool IsContent { bool get(); };
public virtual bool IsContent { get; }
member this.IsContent : bool
Public Overridable ReadOnly Property IsContent As Boolean

Property Value

true if the property represents direct content; otherwise, false.

Remarks

The default behavior is to return false.

When IsContent is true, PropertyDescriptor and DependencyProperty are both null.

Dictionaries are included when determining whether this MarkupProperty represents direct content.

Applies to