Udostępnij za pośrednictwem


DocumentItem.IsFromContent Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Get a value indicating whether this item comes directly from content of an element in a XAML file.

Namespace:  Microsoft.Windows.Design.Documents.Trees
Assembly:  Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property IsFromContent As Boolean
'Usage
Dim instance As DocumentItem 
Dim value As Boolean 

value = instance.IsFromContent
public virtual bool IsFromContent { get; }
public:
virtual property bool IsFromContent {
    bool get ();
}
public function get IsFromContent () : boolean

Property Value

Type: System.Boolean
true if this item comes directly from content of an element in a XAML file; otherwise, false.

Remarks

This property is used to determine whether the IAddChild interface should be used instead of the IList.Add method to add content to the parent.

.NET Framework Security

See Also

Reference

DocumentItem Class

DocumentItem Members

Microsoft.Windows.Design.Documents.Trees Namespace

Other Resources

WPF Designer Extensibility