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

Provides utility methods and attached properties for view-related operations.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public static class ViewUtils

Inheritance: objectViewUtils

Fields

CornerRadiusProperty

BindableProperty

Identifies the CornerRadius attached property.

C#
public static readonly BindableProperty CornerRadiusProperty

Methods

Gets the corner radius value for the specified BindableObject.

C#
public static CornerRadius GetCornerRadius(BindableObject bindable)
Parameters:bindableBindableObject

The BindableObject to get the corner radius for.

Returns:

CornerRadius

The CornerRadius value.

Sets the corner radius value for the specified BindableObject.

C#
public static void SetCornerRadius(BindableObject bindable, CornerRadius value)
Parameters:bindableBindableObject

The BindableObject to set the corner radius for.

valueCornerRadius

The CornerRadius value to set.