MarkupObject.ObjectType Property


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

 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.


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