19 writes to IsVisible
Microsoft.Maui.Controls (7)
IndicatorView\IndicatorStackLayout.cs (1)
129
IsVisible
= indicatorCount > 1 || !_indicatorView.HideSingle;
TitleBar\TitleBar.cs (6)
388
IsVisible
= false
411
IsVisible
= false,
436
IsVisible
= false
490
IsVisible
= false
514
IsVisible
= false
533
IsVisible
= false
Microsoft.Maui.Controls.Foldable (12)
TwoPaneView.cs (12)
522
_content1.
IsVisible
= true;
523
_content2.
IsVisible
= true;
540
_content1.
IsVisible
= true;
541
_content2.
IsVisible
= true;
558
_content1.
IsVisible
= true;
559
_content2.
IsVisible
= true;
577
_content1.
IsVisible
= true;
578
_content2.
IsVisible
= true;
595
_content1.
IsVisible
= true;
596
_content2.
IsVisible
= false;
612
_content1.
IsVisible
= false;
613
_content2.
IsVisible
= true;
32 references to IsVisible
Microsoft.Maui.Controls (32)
Element\Element.cs (1)
815
if (child == null || !child.
IsVisible
)
LegacyLayouts\GridCalc.cs (7)
26
if (!child.
IsVisible
)
193
if (!child.
IsVisible
|| GetRowSpan(child) != rowspan || !IsInRow(child, i) || NumberOfUnsetRowHeight(child) > 1)
226
if (!child.
IsVisible
|| GetColumnSpan(child) != colspan || !IsInColumn(child, i) || NumberOfUnsetColumnWidth(child) > 1)
535
if (!child.
IsVisible
)
560
if (!child.
IsVisible
)
667
if (!child.
IsVisible
|| GetColumnSpan(child) != colspan || !IsInColumn(child, i) || NumberOfUnsetColumnWidth(child) > 1)
728
if (!child.
IsVisible
|| GetRowSpan(child) != rowspan || !IsInRow(child, i) || NumberOfUnsetRowHeight(child) > 1)
LegacyLayouts\Layout.cs (3)
551
if (LogicalChildrenInternal[index] is VisualElement v && v.
IsVisible
&& (!v.IsPlatformEnabled || !v.IsPlatformStateConsistent))
683
if (Width <= 0 || Height <= 0 || !LogicalChildrenInternal.Any() || !
IsVisible
|| !IsPlatformStateConsistent || DisableLayout)
691
if (visual == null || !visual.
IsVisible
)
LegacyLayouts\StackLayout.cs (9)
73
if (child.
IsVisible
&& layoutInformationCopy.Plots != null)
110
if (!((View)LogicalChildrenInternal[i]).
IsVisible
)
160
if (!child.
IsVisible
)
196
if (!child.
IsVisible
)
247
if (!child.
IsVisible
)
319
if (!child.
IsVisible
)
404
if (child.
IsVisible
)
427
if (!child.
IsVisible
)
455
if (!child.
IsVisible
)
Page\Page.cs (2)
616
if (page != null && page.
IsVisible
&& (!page.IsPlatformEnabled || !page.IsPlatformStateConsistent))
625
if (v != null && v.
IsVisible
&& (!v.IsPlatformEnabled || !v.IsPlatformStateConsistent))
Shell\ShellContent.cs (2)
159
else if (IsVisibleContent && page.
IsVisible
)
241
(_contentCache is not null && !_contentCache.
IsVisible
) || // user has set IsVisible on the Page to false
Shell\ShellContentCollection.cs (1)
19
return controller.Page == null || controller.Page.
IsVisible
;
TitleBar\TitleBar.cs (1)
12
/// The title bar can also be hidden by setting the <see cref="VisualElement.
IsVisible
"/> property, which
VisualElement\VisualElement.cs (6)
271
/// <summary>Bindable property for <see cref="
IsVisible
"/>.</summary>
272
public static readonly BindableProperty IsVisibleProperty = BindableProperty.Create(nameof(
IsVisible
), typeof(bool), typeof(VisualElement), true,
705
/// <remarks>When an element has <see cref="
IsVisible
"/> set to <see langword="false"/> it will no longer take up space in layouts or be eligible to receive any kind of input event.</remarks>
771
/// The opacity value has no effect unless <see cref="
IsVisible
"/> is <see langword="true"/>. The effective opacity of an element is the value of <see cref="Opacity"/> multiplied by the opacity of the element's <c>Parent</c>. If a parent has 0.5 opacity, and a child has 0.5 opacity, the child will render with an effective 0.25 opacity.
1439
if (child.
IsVisible
)
1980
Visibility IView.Visibility =>
IsVisible
.ToVisibility();