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

See Also

Reference

ModelItem Class

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture

Editing Model Architecture