ClassItemView
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
ItemView()
Initializes a new instance of the ItemView class.
Declaration
public ItemView()
Fields
ContentTemplateProperty
Identifies the ContentTemplate property.
Declaration
public static readonly BindableProperty ContentTemplateProperty
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
HorizontalContentOptionsProperty
Identifies the HorizontalContentOptions property.
Declaration
public static readonly BindableProperty HorizontalContentOptionsProperty
Field Value
BindableProperty
HorizontalTextAlignmentProperty
Identifies the HorizontalTextAlignment property.
Declaration
public static readonly BindableProperty HorizontalTextAlignmentProperty
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
VerticalContentOptionsProperty
Identifies the VerticalContentOptions property.
Declaration
public static readonly BindableProperty VerticalContentOptionsProperty
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 of the current item. When set to null, the control displays the text representation of the current item.
Declaration
public DataTemplate ContentTemplate { get; set; }
Property Value
DataTemplate
FontAttributes
Gets or sets the font attributes of the displayed 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 displayed text.
FontSize
Gets or sets the font size in pixels of the displayed text.
Declaration
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }
Property Value
HorizontalContentOptions
Gets or sets the horizontal layout options of the displayed content. For more information see the LayoutOptions type.
Declaration
public LayoutOptions HorizontalContentOptions { get; set; }
Property Value
LayoutOptions
HorizontalTextAlignment
Gets or sets the horizontal alignment of the displayed text. For more information see the TextAlignment type.
Declaration
public TextAlignment HorizontalTextAlignment { get; set; }
Property Value
TextAlignment
TextColor
Gets or sets the color of the displayed text.
Declaration
public Color TextColor { get; set; }
Property Value
Color
TextDecorations
Gets or sets the text decorations of the displayed text. For more information see the TextDecorations type.
Declaration
public TextDecorations TextDecorations { get; set; }
Property Value
TextDecorations
VerticalContentOptions
Gets or sets the vertical layout options of the displayed content. For more information see the LayoutOptions type.
Declaration
public LayoutOptions VerticalContentOptions { get; set; }
Property Value
LayoutOptions
VerticalTextAlignment
Gets or sets the vertical alignment of the displayed text. For more information see the TextAlignment type.
Declaration
public TextAlignment VerticalTextAlignment { get; set; }
Property Value
TextAlignment
Methods
ArrangeOverride(Rect)
Declaration
protected override Size ArrangeOverride(Rect layoutBounds)
Parameters
layoutBounds
Rect
Returns
Size
InvalidateMeasureOverride()
Declaration
protected override void InvalidateMeasureOverride()
OnBindingContextChanged()
Called when the binding context changes.
Declaration
protected override void OnBindingContextChanged()
Overrides
OnHandlerChanged()
Called when the handler changes.
Declaration
protected override void OnHandlerChanged()
Overrides