skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Resources Hub
    • .NET MAUI Tutorials and Learning
    • First Steps
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Migrate to .NET MAUI
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ItemView

Visual representation of an item in the RadItemsView control.

Inheritance
System.Object
RadContentView
RadCompositeContentView
RadBorderContentView
ItemView
SelectableItemView
Inherited Members
RadBorderContentView.BackgroundColorProperty
RadBorderContentView.BackgroundProperty
RadBorderContentView.BorderColorProperty
RadBorderContentView.BorderBrushProperty
RadBorderContentView.BorderThicknessProperty
RadBorderContentView.CornerRadiusProperty
RadBorderContentView.ContentPaddingProperty
RadBorderContentView.BackgroundColor
RadBorderContentView.Background
RadBorderContentView.BorderColor
RadBorderContentView.BorderBrush
RadBorderContentView.BorderThickness
RadBorderContentView.CornerRadius
RadBorderContentView.ContentPadding
RadCompositeContentView.StyleProperty
RadCompositeContentView.ControlTemplateProperty
RadCompositeContentView.OnApplyTemplate()
RadCompositeContentView.OnPropertyChanged(String)
RadCompositeContentView.Style
RadCompositeContentView.ControlTemplate
RadContentView.ActualStyleClassProperty
RadContentView.OnChildAdded(Element)
RadContentView.OnChildRemoved(Element, Int32)
RadContentView.ActualStyleClass
Namespace: Telerik.Maui.Controls.ItemsView
Assembly: Telerik.Maui.Controls.dll

Syntax

public class ItemView : RadBorderContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

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
Microsoft.Maui.Controls.BindableProperty

FontAttributesProperty

Identifies the FontAttributes property.

Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

FontFamilyProperty

Identifies the FontFamily property.

Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

FontSizeProperty

Identifies the FontSize property.

Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HorizontalContentOptionsProperty

Identifies the HorizontalContentOptions property.

Declaration
public static readonly BindableProperty HorizontalContentOptionsProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HorizontalTextAlignmentProperty

Identifies the HorizontalTextAlignment property.

Declaration
public static readonly BindableProperty HorizontalTextAlignmentProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

TextColorProperty

Identifies the TextColor property.

Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

TextDecorationsProperty

Identifies the TextDecorations property.

Declaration
public static readonly BindableProperty TextDecorationsProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

VerticalContentOptionsProperty

Identifies the VerticalContentOptions property.

Declaration
public static readonly BindableProperty VerticalContentOptionsProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

VerticalTextAlignmentProperty

Identifies the VerticalTextAlignment property.

Declaration
public static readonly BindableProperty VerticalTextAlignmentProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

Properties

ContentTemplate

Gets or sets the Microsoft.Maui.Controls.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
Microsoft.Maui.Controls.DataTemplate

FontAttributes

Gets or sets the font attributes of the displayed text. For more information see the Microsoft.Maui.Controls.FontAttributes type.

Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Microsoft.Maui.Controls.FontAttributes

FontFamily

Gets or sets the font family of the displayed text.

Declaration
public string FontFamily { get; set; }
Property Value
System.String

FontSize

Gets or sets the font size in pixels of the displayed text.

Declaration
public double FontSize { get; set; }
Property Value
System.Double

HorizontalContentOptions

Gets or sets the horizontal layout options of the displayed content. For more information see the Microsoft.Maui.Controls.LayoutOptions type.

Declaration
public LayoutOptions HorizontalContentOptions { get; set; }
Property Value
Microsoft.Maui.Controls.LayoutOptions

HorizontalTextAlignment

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

Declaration
public TextAlignment HorizontalTextAlignment { get; set; }
Property Value
Microsoft.Maui.TextAlignment

TextColor

Gets or sets the color of the displayed text.

Declaration
public Color TextColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color

TextDecorations

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

Declaration
public TextDecorations TextDecorations { get; set; }
Property Value
Microsoft.Maui.TextDecorations

VerticalContentOptions

Gets or sets the vertical layout options of the displayed content. For more information see the Microsoft.Maui.Controls.LayoutOptions type.

Declaration
public LayoutOptions VerticalContentOptions { get; set; }
Property Value
Microsoft.Maui.Controls.LayoutOptions

VerticalTextAlignment

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

Declaration
public TextAlignment VerticalTextAlignment { get; set; }
Property Value
Microsoft.Maui.TextAlignment

Methods

ArrangeOverride(Rect)

Declaration
protected override Size ArrangeOverride(Rect layoutBounds)
Parameters
Microsoft.Maui.Graphics.Rect layoutBounds

Returns
Microsoft.Maui.Graphics.Size

InvalidateMeasureOverride()

Declaration
protected override void InvalidateMeasureOverride()

MeasureOverride(Double, Double)

Declaration
protected override Size MeasureOverride(double widthConstraint, double heightConstraint)
Parameters
System.Double widthConstraint

System.Double heightConstraint

Returns
Microsoft.Maui.Graphics.Size

OnBindingContextChanged()

Called when the binding context changes.

Declaration
protected override void OnBindingContextChanged()
Overrides
RadCompositeContentView.OnBindingContextChanged()

OnHandlerChanged()

Called when the handler changes.

Declaration
protected override void OnHandlerChanged()
Overrides
RadContentView.OnHandlerChanged()

Extension Methods

AndroidTypeConversionExtensions.ToJavaObject(Object)
Sample Applications
  • Controls Samples App
  • Crypto Tracker App
Support Resources
  • .NET MAUI SDKBrowser App
Community
  • Forums
  • Blogs
  • Feedback Portal
  • YouTube Channel

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.