共用方式為


VisibilityExtensions.ToVisibility(Boolean) Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Visibility ToVisibility(bool isVisible);
public static Microsoft.Maui.Visibility ToVisibility (this bool isVisible);
static member ToVisibility : bool -> Microsoft.Maui.Visibility
<Extension()>
Public Function ToVisibility (isVisible As Boolean) As Visibility

Parameters

isVisible
Boolean

Returns

Applies to