New to Telerik UI for .NET MAUIStart a free 30-day trial

A helper class that contains utility extensions for content presenter.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public static class ContentPresenterUtils

Inheritance: objectContentPresenterUtils

Fields

ContentProperty

BindableProperty

Identifies the Content attached property.

C#
public static readonly BindableProperty ContentProperty

Methods

Gets the Content of the bindable object.

C#
public static View GetContent(BindableObject bindable)
Parameters:bindableBindableObjectReturns:

View

Sets the Content for this bindable object.

C#
public static void SetContent(BindableObject bindable, View value)
Parameters:bindableBindableObjectvalueView