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

Visual representation of an item in the ListPickerButtonToolbarItemViewContent.

Definition

Constructors

C#
public ToolbarListItemView()

Fields

ContentTemplateProperty

BindableProperty

Identifies the ContentTemplate property.

C#
public static readonly BindableProperty ContentTemplateProperty

Identifies the DisplayMemberPath property.

C#
public static readonly BindableProperty DisplayMemberPathProperty

Identifies the DisplayStringFormat property.

C#
public static readonly BindableProperty DisplayStringFormatProperty

Identifies the DisplayValueConverter property.

C#
public static readonly BindableProperty DisplayValueConverterProperty

FontAttributesProperty

BindableProperty

Identifies the FontAttributes property.

C#
public static readonly BindableProperty FontAttributesProperty

FontFamilyProperty

BindableProperty

Identifies the FontFamily property.

C#
public static readonly BindableProperty FontFamilyProperty

FontSizeProperty

BindableProperty

Identifies the FontSize property.

C#
public static readonly BindableProperty FontSizeProperty

Identifies the HorizontalTextAlignment property.

C#
public static readonly BindableProperty HorizontalTextAlignmentProperty

IsSelectedProperty

BindableProperty

Identifies the IsSelected property.

C#
public static readonly BindableProperty IsSelectedProperty

TextColorProperty

BindableProperty

Identifies the TextColor property.

C#
public static readonly BindableProperty TextColorProperty

TextDecorationsProperty

BindableProperty

Identifies the TextDecorations property.

C#
public static readonly BindableProperty TextDecorationsProperty

Identifies the VerticalTextAlignment property.

C#
public static readonly BindableProperty VerticalTextAlignmentProperty

Properties

ContentTemplate

DataTemplate

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

C#
public DataTemplate ContentTemplate { get; set; }

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

C#
public string DisplayMemberPath { get; set; }

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

C#
public string DisplayStringFormat { get; set; }

DisplayValueConverter

IValueConverter

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

C#
public IValueConverter DisplayValueConverter { get; set; }

FontAttributes

FontAttributes

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

C#
public FontAttributes FontAttributes { get; set; }

Gets or sets the font family of the text.

C#
public string FontFamily { get; set; }

Gets or sets the font size of the text.

C#
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }

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

C#
public TextAlignment HorizontalTextAlignment { get; set; }

Gets a value indicating whether the item is selected.

C#
public bool IsSelected { get; }

Gets or sets the color of the text.

C#
public Color TextColor { get; set; }

TextDecorations

TextDecorations

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

C#
public TextDecorations TextDecorations { get; set; }

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

C#
public TextAlignment VerticalTextAlignment { get; set; }

Methods

C#
protected override void ChangeVisualState()

Called when the handler changes.

C#
protected override void OnHandlerChanged()

Overrides: RadContentView.OnHandlerChanged()

Events

Raised when the item is clicked.

C#
public event EventHandler Clicked

Raised when the IsSelected property has changed.

C#
public event EventHandler IsSelectedChanged