Interface IStyleSelector
Provides a mechanism to select a Microsoft.Maui.Controls.Style based on a custom logic.
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public interface IStyleSelector
Methods
SelectStyle(Object, BindableObject)
Selects a Microsoft.Maui.Controls.Style based on a custom logic.
Declaration
Style SelectStyle(object item, BindableObject bindable)
Parameters
System.Object
item
Specifies the item for which to select a custom Microsoft.Maui.Controls.Style. |
Microsoft.Maui.Controls.BindableObject
bindable
Specifies the Microsoft.Maui.Controls.BindableObject for which to select a custom Microsoft.Maui.Controls.Style. |
Returns
Microsoft.Maui.Controls.Style
Returns the Microsoft.Maui.Controls.Style for the specified item. |