MarkupObject.ObjectType Property

Definition

When overridden in a derived class, gets the type of the MarkupObject instance.

public:
 abstract property Type ^ ObjectType { Type ^ get(); };
public abstract Type ObjectType { get; }
member this.ObjectType : Type
Public MustOverride ReadOnly Property ObjectType As Type

Property Value

The type of the object.

Remarks

ObjectType returns the type of the MarkupObject. For example, an item representing a Button would return the equivalent of typeof(System.Windows.Button).

Applies to