共用方式為


VisualAttribute(String, Type) Constructor

Definition

public:
 VisualAttribute(System::String ^ key, Type ^ visual);
public VisualAttribute (string key, Type visual);
new Microsoft.Maui.Controls.VisualAttribute : string * Type -> Microsoft.Maui.Controls.VisualAttribute
Public Sub New (key As String, visual As Type)

Parameters

key
String
visual
Type

Applies to