19 writes to IsVisible
Microsoft.Maui.Controls (7)
IndicatorView\IndicatorStackLayout.cs (1)
129
IsVisible
= indicatorCount > 1 || !_indicatorView.HideSingle;
TitleBar\TitleBar.cs (6)
374
IsVisible
= false
397
IsVisible
= false,
422
IsVisible
= false
476
IsVisible
= false
500
IsVisible
= false
519
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;
38 references to IsVisible
Microsoft.Maui.Controls (37)
Compatibility\Handlers\Shell\iOS\ShellTableViewSource.cs (1)
113
if (!view.View.
IsVisible
)
Element\Element.cs (1)
815
if (child == null || !child.
IsVisible
)
Handlers\Items\iOS\CarouselViewController.cs (1)
662
if (ItemsView.
IsVisible
)
Handlers\Items\iOS\ItemsViewController.cs (1)
796
if (ItemsView.
IsVisible
)
Handlers\Items2\iOS\CarouselViewController2.cs (1)
614
if (ItemsView.
IsVisible
)
Handlers\Items2\iOS\ItemsViewController2.cs (1)
478
if (ItemsView.
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)
614
if (page != null && page.
IsVisible
&& (!page.IsPlatformEnabled || !page.IsPlatformStateConsistent))
623
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)
268
/// <summary>Bindable property for <see cref="
IsVisible
"/>.</summary>
269
public static readonly BindableProperty IsVisibleProperty = BindableProperty.Create(nameof(
IsVisible
), typeof(bool), typeof(VisualElement), true,
702
/// <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>
768
/// 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.
1436
if (child.
IsVisible
)
1977
Visibility IView.Visibility =>
IsVisible
.ToVisibility();
Microsoft.Maui.Controls.Compatibility (1)
Tizen\Renderers\VisualElementRenderer.cs (1)
719
if (Element.
IsVisible
)