New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a container in the RadNavigationView control.

Definition

Namespace:Telerik.Maui.Controls.NavigationView

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class NavigationViewContainer : RadBorderContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewNavigationViewContainer

Derived Classes: NavigationViewHeaderNavigationViewItemView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView...

Inherited Members RadBorderContentView.BackgroundColorPropertyRadBorderContentView.BackgroundPropertyRadBorderContentView.BorderColorPropertyRadBorderContentView.BorderBrushPropertyRadBorderContentView.BorderThicknessPropertyRadBorderContentView.CornerRadiusPropertyRadBorderContentView.ContentPaddingPropertyRadBorderContentView.BackgroundColorRadBorderContentView.BackgroundRadBorderContentView.BorderColorRadBorderContentView.BorderBrushRadBorderContentView.BorderThicknessRadBorderContentView.CornerRadiusRadBorderContentView.ContentPaddingRadCompositeContentView.StylePropertyRadCompositeContentView.ControlTemplatePropertyRadCompositeContentView.OnApplyTemplate()RadCompositeContentView.OnBindingContextChanged()RadCompositeContentView.OnPropertyChanged(string)RadCompositeContentView.StyleRadCompositeContentView.ControlTemplateRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnHandlerChanged()...

Constructors

Initializes a new instance of the NavigationViewContainer class.

C#
public NavigationViewContainer()

Fields

CompactWidthProperty

BindableProperty

Identifies the CompactWidth property.

C#
public static readonly BindableProperty CompactWidthProperty

ContentTemplateProperty

BindableProperty

Identifies the ContentTemplate property.

C#
public static readonly BindableProperty ContentTemplateProperty

ExpandedWidthProperty

BindableProperty

Identifies the ExpandedWidth property.

C#
public static readonly BindableProperty ExpandedWidthProperty

FontAttributesProperty

BindableProperty

Identifies the FontAttributes property.

C#
public static readonly BindableProperty FontAttributesProperty

FontFamilyProperty

BindableProperty

Identifies the FontFamily property.

C#
public static readonly BindableProperty FontFamilyProperty

FontSizeProperty

BindableProperty

Identifies the FontSize property.

C#
public static readonly BindableProperty FontSizeProperty

Identifies the HorizontalContentOptions property.

C#
public static readonly BindableProperty HorizontalContentOptionsProperty

Identifies the HorizontalTextAlignment property.

C#
public static readonly BindableProperty HorizontalTextAlignmentProperty

LineBreakModeProperty

BindableProperty

Identifies the LineBreakMode property.

C#
public static readonly BindableProperty LineBreakModeProperty

TextColorProperty

BindableProperty

Identifies the TextColor property.

C#
public static readonly BindableProperty TextColorProperty

TextDecorationsProperty

BindableProperty

Identifies the TextDecorations property.

C#
public static readonly BindableProperty TextDecorationsProperty

TextProperty

BindableProperty

Identifies the Text property.

C#
public static readonly BindableProperty TextProperty

Identifies the VerticalContentOptions property.

C#
public static readonly BindableProperty VerticalContentOptionsProperty

Identifies the VerticalTextAlignment property.

C#
public static readonly BindableProperty VerticalTextAlignmentProperty

Properties

Gets or sets the width of the container in compact mode.

C#
public double CompactWidth { get; set; }

ContentTemplate

DataTemplate

Gets or sets the DataTemplate used to display the content.

C#
public DataTemplate ContentTemplate { get; set; }

Gets or sets the width of the container in expanded mode.

C#
public double ExpandedWidth { get; set; }

FontAttributes

FontAttributes

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

C#
public FontAttributes FontAttributes { get; set; }

Gets or sets the font family of the displayed text.

C#
public string FontFamily { get; set; }

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

C#
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }

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

C#
public LayoutOptions HorizontalContentOptions { get; set; }

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

C#
public TextAlignment HorizontalTextAlignment { get; set; }

LineBreakMode

LineBreakMode

Gets or sets the line break mode of the displayed text. For more information see the LineBreakMode type.

C#
public LineBreakMode LineBreakMode { get; set; }

Gets or sets the text to display in the content.

C#
public string Text { get; set; }

Gets or sets the color of the displayed text.

C#
public Color TextColor { get; set; }

TextDecorations

TextDecorations

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

C#
public TextDecorations TextDecorations { get; set; }

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

C#
public LayoutOptions VerticalContentOptions { get; set; }

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

C#
public TextAlignment VerticalTextAlignment { get; set; }