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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Documents.Trees Namespace