ItemView
Visual representation of an item in the RadItemsView control.
Definition
Namespace:Telerik.Maui.Controls.ItemsView
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class ItemView : RadBorderContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewItemView
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the ItemView class.
public ItemView()
Fields
ContentTemplateProperty
BindableProperty
Identifies the ContentTemplate property.
public static readonly BindableProperty ContentTemplateProperty
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
HorizontalContentOptionsProperty
BindableProperty
Identifies the HorizontalContentOptions property.
public static readonly BindableProperty HorizontalContentOptionsProperty
HorizontalTextAlignmentProperty
BindableProperty
Identifies the HorizontalTextAlignment property.
public static readonly BindableProperty HorizontalTextAlignmentProperty
TextColorProperty
BindableProperty
Identifies the TextColor property.
public static readonly BindableProperty TextColorProperty
TextDecorationsProperty
BindableProperty
Identifies the TextDecorations property.
public static readonly BindableProperty TextDecorationsProperty
VerticalContentOptionsProperty
BindableProperty
Identifies the VerticalContentOptions property.
public static readonly BindableProperty VerticalContentOptionsProperty
VerticalTextAlignmentProperty
BindableProperty
Identifies the VerticalTextAlignment property.
public static readonly BindableProperty VerticalTextAlignmentProperty
Properties
ContentTemplate
DataTemplate
Gets or sets the DataTemplate that defines the visual representation of the current item. When set to null, the control displays the text representation of the current item.
public DataTemplate ContentTemplate { get; set; }
FontAttributes
FontAttributes
Gets or sets the font attributes of the displayed text. For more information see the FontAttributes type.
public FontAttributes FontAttributes { get; set; }
Gets or sets the font family of the displayed text.
public string FontFamily { get; set; }
Gets or sets the font size in pixels of the displayed text.
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }
HorizontalContentOptions
LayoutOptions
Gets or sets the horizontal layout options of the displayed content. For more information see the LayoutOptions type.
public LayoutOptions HorizontalContentOptions { get; set; }
HorizontalTextAlignment
TextAlignment
Gets or sets the horizontal alignment of the displayed text. For more information see the TextAlignment type.
public TextAlignment HorizontalTextAlignment { get; set; }
TextColor
Color
Gets or sets the color of the displayed text.
public Color TextColor { get; set; }
TextDecorations
TextDecorations
Gets or sets the text decorations of the displayed text. For more information see the TextDecorations type.
public TextDecorations TextDecorations { get; set; }
VerticalContentOptions
LayoutOptions
Gets or sets the vertical layout options of the displayed content. For more information see the LayoutOptions type.
public LayoutOptions VerticalContentOptions { get; set; }
VerticalTextAlignment
TextAlignment
Gets or sets the vertical alignment of the displayed text. For more information see the TextAlignment type.
public TextAlignment VerticalTextAlignment { get; set; }
Methods
protected override Size ArrangeOverride(Rect layoutBounds)
Size
protected override void InvalidateMeasureOverride()
Called when the binding context changes.
protected override void OnBindingContextChanged()
Overrides:
Called when the handler changes.
protected override void OnHandlerChanged()
Overrides: