Partager via


Style.TargetType Property

Definition

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

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