2 writes to Content
Microsoft.Maui.Controls.Foldable (2)
TwoPaneView.cs (2)
127
twoPaneView._content1.
Content
= newView;
129
twoPaneView._content2.
Content
= newView;
21 references to Content
Microsoft.Maui.Controls (16)
ContentView\ContentView.cs (6)
11
/// <summary>Bindable property for <see cref="
Content
"/>.</summary>
12
public static readonly BindableProperty ContentProperty = BindableProperty.Create(nameof(
Content
), typeof(View), typeof(ContentView), null, propertyChanged: TemplateUtilities.OnContentChanged);
25
if (
Content
is View content)
35
if (
Content
is View content)
46
object IContentView.Content =>
Content
;
48
IView IContentView.PresentedContent => ((this as IControlTemplated).TemplateRoot as IView) ??
Content
;
Frame\Frame.cs (1)
9
[ContentProperty(nameof(
Content
))]
RefreshView\RefreshView.cs (2)
11
[ContentProperty(nameof(
Content
))]
143
IView IRefreshView.Content => base.
Content
;
SwipeView\SwipeItemView.cs (1)
9
[ContentProperty(nameof(
Content
))]
SwipeView\SwipeView.cs (1)
11
[ContentProperty(nameof(
Content
))]
SwipeView\SwipeView.Mapper.cs (5)
16
if (swipeView.
Content
is not null)
18
var contentBackgroundIsNull = Brush.IsNullOrEmpty(swipeView.
Content
.Background);
19
var contentBackgroundColorIsNull = swipeView.
Content
.BackgroundColor == null;
25
swipeView.
Content
.Background = swipeView.Background;
29
swipeView.
Content
.BackgroundColor = swipeView.BackgroundColor;
Microsoft.Maui.Controls.Compatibility (5)
iOS\Renderers\SwipeViewRenderer.cs (5)
224
if (Element.
Content
!= null)
225
Element.
Content
.PropertyChanged -= OnContentPropertyChanged;
328
if (Element.
Content
== null)
335
Element.
Content
.PropertyChanged += OnContentPropertyChanged;
427
var isContentEnabled = Element.
Content
.IsEnabled;