ClassToolbarListItemView
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
ToolbarListItemView()
Declaration
public ToolbarListItemView()
Fields
ContentTemplateProperty
Identifies the ContentTemplate property.
Declaration
public static readonly BindableProperty ContentTemplateProperty
Field Value
BindableProperty
DisplayMemberPathProperty
Identifies the DisplayMemberPath property.
Declaration
public static readonly BindableProperty DisplayMemberPathProperty
Field Value
BindableProperty
DisplayStringFormatProperty
Identifies the DisplayStringFormat property.
Declaration
public static readonly BindableProperty DisplayStringFormatProperty
Field Value
BindableProperty
DisplayValueConverterProperty
Identifies the DisplayValueConverter property.
Declaration
public static readonly BindableProperty DisplayValueConverterProperty
Field Value
BindableProperty
FontAttributesProperty
Identifies the FontAttributes property.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
BindableProperty
FontFamilyProperty
Identifies the FontFamily property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
BindableProperty
FontSizeProperty
Identifies the FontSize property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
BindableProperty
HorizontalTextAlignmentProperty
Identifies the HorizontalTextAlignment property.
Declaration
public static readonly BindableProperty HorizontalTextAlignmentProperty
Field Value
BindableProperty
IsSelectedProperty
Identifies the IsSelected property.
Declaration
public static readonly BindableProperty IsSelectedProperty
Field Value
BindableProperty
TextColorProperty
Identifies the TextColor property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
BindableProperty
TextDecorationsProperty
Identifies the TextDecorations property.
Declaration
public static readonly BindableProperty TextDecorationsProperty
Field Value
BindableProperty
VerticalTextAlignmentProperty
Identifies the VerticalTextAlignment property.
Declaration
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
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.
DisplayStringFormat
Gets or sets the string format used to display the items of the ToolbarListItemView.
DisplayValueConverter
Gets or sets a IValueConverter used to display the items of the ToolbarListItemView.
Declaration
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
public FontAttributes FontAttributes { get; set; }
Property Value
FontAttributes
FontFamily
Gets or sets the font family of the text.
FontSize
Gets or sets the font size of the text.
Declaration
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }
Property Value
HorizontalTextAlignment
Gets or sets the horizontal alignment of the text. For more information see the TextAlignment type.
Declaration
public TextAlignment HorizontalTextAlignment { get; set; }
Property Value
TextAlignment
IsSelected
Gets a value indicating whether the item is selected.
TextColor
Gets or sets the color of the text.
Declaration
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
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
public TextAlignment VerticalTextAlignment { get; set; }
Property Value
TextAlignment
Methods
ChangeVisualState()
Declaration
protected override void ChangeVisualState()
OnHandlerChanged()
Called when the handler changes.
Declaration
protected override void OnHandlerChanged()
Overrides
Events
Clicked
Raised when the item is clicked.
IsSelectedChanged
Raised when the IsSelected property has changed.