ModelItem.Content Property
When overridden in a derived class, gets a ModelProperty representing the item's ContentPropertyAttribute.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property Content As ModelProperty
Get
public abstract ModelProperty Content { get; }
public:
virtual property ModelProperty^ Content {
ModelProperty^ get () abstract;
}
abstract Content : ModelProperty
abstract function get Content () : ModelProperty
Property Value
Type: Microsoft.Windows.Design.Model.ModelProperty
A ModelProperty representing the item's ContentPropertyAttribute.
Remarks
If this item's ItemType property declares a ContentPropertyAttribute, that property is exposed here. Otherwise, this property returns nulla null reference (Nothing in Visual Basic).
.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.Model Namespace