File: VisibilityExtensions.cs | Web Access |
Project: src\src\Controls\src\Core\Controls.Core.csproj (Microsoft.Maui.Controls) |
#nullable disable namespace Microsoft.Maui.Controls { public static class VisibilityExtensions { public static Visibility ToVisibility(this bool isVisible) { if (isVisible) return Visibility.Visible; return Visibility.Collapsed; } } } |