共用方式為


ToggledEventArgs(Boolean) Constructor

Definition

Creates a new ToggledEventArgs that indicates that the toggle control was toggled to value.

public:
 ToggledEventArgs(bool value);
public ToggledEventArgs (bool value);
new Microsoft.Maui.Controls.ToggledEventArgs : bool -> Microsoft.Maui.Controls.ToggledEventArgs
Public Sub New (value As Boolean)

Parameters

value
Boolean

Whether the toggle is in the On position.

Applies to