共用方式為


DataTrigger(Type) Constructor

Definition

Initializes a new DataTrigger instance.

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

Parameters

targetType
Type

The type of the object on which the data trigger will be added.

Applies to