2 writes to Content
Microsoft.Maui.Controls.Foldable (2)
TwoPaneView.cs (2)
127
twoPaneView._content1.
Content
= newView;
129
twoPaneView._content2.
Content
= newView;
18 references to Content
Microsoft.Maui.Controls (18)
ContentView\ContentView.cs (8)
14
/// <summary>Bindable property for <see cref="
Content
"/>.</summary>
15
public static readonly BindableProperty ContentProperty = BindableProperty.Create(nameof(
Content
), typeof(View), typeof(ContentView), null, propertyChanged: TemplateUtilities.OnContentChanged);
28
if (
Content
is View content)
38
if (
Content
is View content)
49
object IContentView.Content =>
Content
;
51
IView IContentView.PresentedContent => ((this as IControlTemplated).TemplateRoot as IView) ??
Content
;
55
var contentText = DebuggerDisplayHelpers.GetDebugText(nameof(
Content
),
Content
);
Frame\Frame.cs (1)
9
[ContentProperty(nameof(
Content
))]
RefreshView\RefreshView.cs (2)
13
[ContentProperty(nameof(
Content
))]
146
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;