Style(Type) 建構函式

定義

初始化 Style 類別的新實例。

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

參數

targetType
Type

該風格所適用的類型。

適用於