Class
StyleHelper

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:

cs-api-definition
public static class StyleHelper

Inheritance: objectStyleHelper

Fields

InheritedStyleClassProperty

Identifies the InheritedStyleClass attached property.

Declaration

cs-api-definition
public static BindableProperty InheritedStyleClassProperty

Field Value

BindableProperty

Methods

GetInheritedStyleClass(BindableObject)

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

Declaration

cs-api-definition
public static IList<string> GetInheritedStyleClass(BindableObject bindable)

Parameters

bindable

BindableObject

Returns

IList<string>

SetInheritedStyleClass(BindableObject, IList<string>)

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

Declaration

cs-api-definition
public static void SetInheritedStyleClass(BindableObject bindable, IList<string> value)

Parameters

bindable

BindableObject

value

IList<string>