Class
ToolbarListItemView

Visual representation of an item in the ListPickerButtonToolbarItemViewContent.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class ToolbarListItemView : ToolbarContentView, IRadContentView, IContentView, IPadding, ICrossPlatformLayout, IVisualTreeElement, IView, IElement, ITransform

Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewToolbarContentViewToolbarListItemView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIViewIVisualTreeElement

Inherited Members RadBorderContentView.BackgroundColorPropertyRadBorderContentView.BackgroundPropertyRadBorderContentView.BorderColorPropertyRadBorderContentView.BorderBrushPropertyRadBorderContentView.BorderThicknessPropertyRadBorderContentView.CornerRadiusPropertyRadBorderContentView.ContentPaddingPropertyRadBorderContentView.BackgroundColorRadBorderContentView.BackgroundRadBorderContentView.BorderColorRadBorderContentView.BorderBrushRadBorderContentView.BorderThicknessRadBorderContentView.CornerRadiusRadBorderContentView.ContentPaddingRadCompositeContentView.StylePropertyRadCompositeContentView.ControlTemplatePropertyRadCompositeContentView.OnApplyTemplate()RadCompositeContentView.OnBindingContextChanged()RadCompositeContentView.OnPropertyChanged(string)RadCompositeContentView.StyleRadCompositeContentView.ControlTemplateRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)

Constructors

ToolbarListItemView()

Declaration

cs-api-definition
public ToolbarListItemView()

Fields

ContentTemplateProperty

Identifies the ContentTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty ContentTemplateProperty

Field Value

BindableProperty

DisplayMemberPathProperty

Identifies the DisplayMemberPath property.

Declaration

cs-api-definition
public static readonly BindableProperty DisplayMemberPathProperty

Field Value

BindableProperty

DisplayStringFormatProperty

Identifies the DisplayStringFormat property.

Declaration

cs-api-definition
public static readonly BindableProperty DisplayStringFormatProperty

Field Value

BindableProperty

DisplayValueConverterProperty

Identifies the DisplayValueConverter property.

Declaration

cs-api-definition
public static readonly BindableProperty DisplayValueConverterProperty

Field Value

BindableProperty

FontAttributesProperty

Identifies the FontAttributes property.

Declaration

cs-api-definition
public static readonly BindableProperty FontAttributesProperty

Field Value

BindableProperty

FontFamilyProperty

Identifies the FontFamily property.

Declaration

cs-api-definition
public static readonly BindableProperty FontFamilyProperty

Field Value

BindableProperty

FontSizeProperty

Identifies the FontSize property.

Declaration

cs-api-definition
public static readonly BindableProperty FontSizeProperty

Field Value

BindableProperty

HorizontalTextAlignmentProperty

Identifies the HorizontalTextAlignment property.

Declaration

cs-api-definition
public static readonly BindableProperty HorizontalTextAlignmentProperty

Field Value

BindableProperty

IsSelectedProperty

Identifies the IsSelected property.

Declaration

cs-api-definition
public static readonly BindableProperty IsSelectedProperty

Field Value

BindableProperty

TextColorProperty

Identifies the TextColor property.

Declaration

cs-api-definition
public static readonly BindableProperty TextColorProperty

Field Value

BindableProperty

TextDecorationsProperty

Identifies the TextDecorations property.

Declaration

cs-api-definition
public static readonly BindableProperty TextDecorationsProperty

Field Value

BindableProperty

VerticalTextAlignmentProperty

Identifies the VerticalTextAlignment property.

Declaration

cs-api-definition
public static readonly BindableProperty VerticalTextAlignmentProperty

Field Value

BindableProperty

Properties

ContentTemplate

Gets or sets the DataTemplate that defines the visual representation this view. When set to null, the control displays the text representation this view.

Declaration

cs-api-definition
public DataTemplate ContentTemplate { get; set; }

Property Value

DataTemplate

DisplayMemberPath

Gets or sets a path to the property used to display the items of the ToolbarListItemView.

Declaration

cs-api-definition
public string DisplayMemberPath { get; set; }

Property Value

string

DisplayStringFormat

Gets or sets the string format used to display the items of the ToolbarListItemView.

Declaration

cs-api-definition
public string DisplayStringFormat { get; set; }

Property Value

string

DisplayValueConverter

Gets or sets a IValueConverter used to display the items of the ToolbarListItemView.

Declaration

cs-api-definition
public IValueConverter DisplayValueConverter { get; set; }

Property Value

IValueConverter

FontAttributes

Gets or sets the font attributes of the text. For more information see the FontAttributes type.

Declaration

cs-api-definition
public FontAttributes FontAttributes { get; set; }

Property Value

FontAttributes

FontFamily

Gets or sets the font family of the text.

Declaration

cs-api-definition
public string FontFamily { get; set; }

Property Value

string

FontSize

Gets or sets the font size of the text.

Declaration

cs-api-definition
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }

Property Value

double

HorizontalTextAlignment

Gets or sets the horizontal alignment of the text. For more information see the TextAlignment type.

Declaration

cs-api-definition
public TextAlignment HorizontalTextAlignment { get; set; }

Property Value

TextAlignment

IsSelected

Gets a value indicating whether the item is selected.

Declaration

cs-api-definition
public bool IsSelected { get; }

Property Value

bool

TextColor

Gets or sets the color of the text.

Declaration

cs-api-definition
public Color TextColor { get; set; }

Property Value

Color

TextDecorations

Gets or sets the decorations of the text. For more information see the TextDecorations type.

Declaration

cs-api-definition
public TextDecorations TextDecorations { get; set; }

Property Value

TextDecorations

VerticalTextAlignment

Gets or sets the vertical alignment of the text. For more information see the TextAlignment type.

Declaration

cs-api-definition
public TextAlignment VerticalTextAlignment { get; set; }

Property Value

TextAlignment

Methods

ChangeVisualState()

Declaration

cs-api-definition
protected override void ChangeVisualState()

OnHandlerChanged()

Called when the handler changes.

Declaration

cs-api-definition
protected override void OnHandlerChanged()

Overrides RadContentView.OnHandlerChanged()

Events

Clicked

Raised when the item is clicked.

Declaration

cs-api-definition
public event EventHandler Clicked

Event Value

EventHandler

IsSelectedChanged

Raised when the IsSelected property has changed.

Declaration

cs-api-definition
public event EventHandler IsSelectedChanged

Event Value

EventHandler