Style.TargetType Property

Definition

Gets the type to which this style applies.

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

Property Value

Remarks

Developers should be aware that implicit styles are only applied to the specific type that is described by TargetType, and not to types that inherit from it.

Applies to