ToolbarListItemView
Visual representation of an item in the ListPickerButtonToolbarItemViewContent.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class ToolbarListItemView : ToolbarContentView, IRadContentView, IContentView, IPadding, ICrossPlatformLayout, IVisualTreeElement, IView, IElement, ITransform
Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewToolbarContentViewToolbarListItemView...
Implements:
Inherited Members
Constructors
public ToolbarListItemView()
Fields
ContentTemplateProperty
BindableProperty
Identifies the ContentTemplate property.
public static readonly BindableProperty ContentTemplateProperty
DisplayMemberPathProperty
BindableProperty
Identifies the DisplayMemberPath property.
public static readonly BindableProperty DisplayMemberPathProperty
DisplayStringFormatProperty
BindableProperty
Identifies the DisplayStringFormat property.
public static readonly BindableProperty DisplayStringFormatProperty
DisplayValueConverterProperty
BindableProperty
Identifies the DisplayValueConverter property.
public static readonly BindableProperty DisplayValueConverterProperty
FontAttributesProperty
BindableProperty
Identifies the FontAttributes property.
public static readonly BindableProperty FontAttributesProperty
FontFamilyProperty
BindableProperty
Identifies the FontFamily property.
public static readonly BindableProperty FontFamilyProperty
FontSizeProperty
BindableProperty
Identifies the FontSize property.
public static readonly BindableProperty FontSizeProperty
HorizontalTextAlignmentProperty
BindableProperty
Identifies the HorizontalTextAlignment property.
public static readonly BindableProperty HorizontalTextAlignmentProperty
IsSelectedProperty
BindableProperty
Identifies the IsSelected property.
public static readonly BindableProperty IsSelectedProperty
TextColorProperty
BindableProperty
Identifies the TextColor property.
public static readonly BindableProperty TextColorProperty
TextDecorationsProperty
BindableProperty
Identifies the TextDecorations property.
public static readonly BindableProperty TextDecorationsProperty
VerticalTextAlignmentProperty
BindableProperty
Identifies the VerticalTextAlignment property.
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.
public DataTemplate ContentTemplate { get; set; }
Gets or sets a path to the property used to display the items of the ToolbarListItemView.
public string DisplayMemberPath { get; set; }
Gets or sets the string format used to display the items of the ToolbarListItemView.
public string DisplayStringFormat { get; set; }
DisplayValueConverter
IValueConverter
Gets or sets a IValueConverter used to display the items of the ToolbarListItemView.
public IValueConverter DisplayValueConverter { get; set; }
FontAttributes
FontAttributes
Gets or sets the font attributes of the text. For more information see the FontAttributes type.
public FontAttributes FontAttributes { get; set; }
Gets or sets the font family of the text.
public string FontFamily { get; set; }
Gets or sets the font size of the text.
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }
HorizontalTextAlignment
TextAlignment
Gets or sets the horizontal alignment of the text. For more information see the TextAlignment type.
public TextAlignment HorizontalTextAlignment { get; set; }
Gets a value indicating whether the item is selected.
public bool IsSelected { get; }
TextColor
Color
Gets or sets the color of the text.
public Color TextColor { get; set; }
TextDecorations
TextDecorations
Gets or sets the decorations of the text. For more information see the TextDecorations type.
public TextDecorations TextDecorations { get; set; }
VerticalTextAlignment
TextAlignment
Gets or sets the vertical alignment of the text. For more information see the TextAlignment type.
public TextAlignment VerticalTextAlignment { get; set; }
Methods
protected override void ChangeVisualState()
Called when the handler changes.
protected override void OnHandlerChanged()
Overrides:
Events
Raised when the item is clicked.
public event EventHandler Clicked
Raised when the IsSelected property has changed.
public event EventHandler IsSelectedChanged