Partager via


Style(Type) Constructor

Definition

Intitializes a new Style instance.

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 of view to which the style will be applied.

Applies to