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

A helper class that is used to propagate the of a view to the child elements defined in xaml.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public static class StyleHelper

Inheritance: objectStyleHelper

Fields

Identifies the InheritedStyleClass attached property.

C#
public static BindableProperty InheritedStyleClassProperty

Methods

Gets the style-class names that are set to this object by a parent view in xaml.

C#
public static IList<string> GetInheritedStyleClass(BindableObject bindable)
Parameters:bindableBindableObjectReturns:

IList<string>

Sets the style-class names that should be set to the property of the bindable object.

C#
public static void SetInheritedStyleClass(BindableObject bindable, IList<string> value)
Parameters:bindableBindableObjectvalueIList<string>