Share via


Style.TargetType Property

Definition

Gets the type of object that this style can describe. See Remarks.

public Type TargetType { get; }
member this.TargetType : Type

Property Value

System.Type

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