Style(Type) Constructor

Definition

Initializes a new instance of the Style class.

public:
 Style(Type ^ targetType);
public Style(Type targetType);
new Microsoft.Maui.Controls.Style : Type -> Microsoft.Maui.Controls.Style
Public Sub New (targetType As Type)

Parameters

targetType
Type

The type to which the style applies.

Applies to