Class
ListViewLayoutBase

Provides a base class for list view layout definitions, inheriting from BindableObject.

Definition

Namespace:Telerik.Maui.Controls.Compatibility.DataControls.ListView

Assembly:Telerik.Maui.Controls.Compatibility.dll

Syntax:

cs-api-definition
public abstract class ListViewLayoutBase : BindableObject

Inheritance: objectListViewLayoutBase

Derived Classes: ListViewGridLayoutListViewLinearLayout

Constructors

ListViewLayoutBase()

Declaration

cs-api-definition
protected ListViewLayoutBase()

Fields

GroupHeaderLengthProperty

Identifies the GroupHeaderLength bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty GroupHeaderLengthProperty

Field Value

BindableProperty

HorizontalItemSpacingProperty

Identifies the HorizontalItemSpacing bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty HorizontalItemSpacingProperty

Field Value

BindableProperty

ItemLengthProperty

Identifies the ItemLength bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty ItemLengthProperty

Field Value

BindableProperty

OrientationProperty

Identifies the Orientation bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty OrientationProperty

Field Value

BindableProperty

VerticalItemSpacingProperty

Identifies the VerticalItemSpacing bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty VerticalItemSpacingProperty

Field Value

BindableProperty

Properties

GroupHeaderLength

Gets or sets the length of group headers in the layout.

Declaration

cs-api-definition
public double GroupHeaderLength { get; set; }

Property Value

double

The group header length value in device-independent units. A value of -1 indicates automatic sizing.

HorizontalItemSpacing

Gets or sets the horizontal spacing between items.

Declaration

cs-api-definition
public double HorizontalItemSpacing { get; set; }

Property Value

double

The horizontal spacing value in device-independent units.

ItemLength

Gets or sets the length of items in the layout.

Declaration

cs-api-definition
public double ItemLength { get; set; }

Property Value

double

The item length value in device-independent units. A value of -1 indicates automatic sizing.

ListView

Gets or sets the associated RadListView instance.

Declaration

cs-api-definition
protected RadListView ListView { get; set; }

Property Value

RadListView

The RadListView that owns this layout.

Orientation

Gets or sets the orientation of the layout.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

The orientation as Orientation.

VerticalItemSpacing

Gets or sets the vertical spacing between items.

Declaration

cs-api-definition
public double VerticalItemSpacing { get; set; }

Property Value

double

The vertical spacing value in device-independent units.

Methods

OnPropertyChanged(string)

Called when a property value changes and notifies the associated ListView.

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string

The name of the property that changed.