Class
ListViewDataItemGroup

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(ListViewDataItemGroupTypeConverter))]
public class ListViewDataItemGroup : ListViewDataItem, IDataItem, INotifyPropertyChanged, INotifyPropertyChangingEx, IDisposable

Inheritance: objectListViewDataItemListViewDataItemGroup

Implements: IDataItemIDisposableINotifyPropertyChangedINotifyPropertyChangingEx

Inherited Members ListViewDataItem.IsSelectedStateListViewDataItem.IsEnabledStateListViewDataItem.IsVisibleStateListViewDataItem.IsLastInRowStateListViewDataItem.IsCurrentStateListViewDataItem.IsMeasureValidStateListViewDataItem.MajorBitStateListViewDataItem.bitStateListViewDataItem.IndexOf(string)ListViewDataItem.GetBoundValue()ListViewDataItem.GetUnboundValue()ListViewDataItem.SetUnboundValue(object)ListViewDataItem.SetBoundValue(object)ListViewDataItem.SetDataBoundItem(bool, object)ListViewDataItem.GetValue(string)ListViewDataItem.GetDisplayValue()ListViewDataItem.GetFormattedValue(object)ListViewDataItem.GetBoundCheckedValue()ListViewDataItem.FormatToggleStateDataSourceValue(object)ListViewDataItem.FormatToggleStateValue(ToggleState, PropertyDescriptor)ListViewDataItem.OnNotifyPropertyChanged(string)ListViewDataItem.OnNotifyPropertyChanging(string)ListViewDataItem.KeyListViewDataItem.ImageKeyListViewDataItem.ImageIndexListViewDataItem.SizeListViewDataItem.CurrentListViewDataItem.ActualSizeListViewDataItem.HasStyleListViewDataItem.GroupListViewDataItem.TagListViewDataItem.ListViewListViewDataItem.OwnerListViewDataItem.ValueListViewDataItem.TextListViewDataItem.EnabledListViewDataItem.VisibleListViewDataItem.CheckStateListViewDataItem.ImageListViewDataItem.SvgImageListViewDataItem.TextImageRelationListViewDataItem.TextAlignmentListViewDataItem.ImageAlignmentListViewDataItem.FontListViewDataItem.ForeColorListViewDataItem.BackColorListViewDataItem.BackColor2ListViewDataItem.BackColor3ListViewDataItem.BackColor4ListViewDataItem.BorderColorListViewDataItem.GradientAngleListViewDataItem.GradientPercentageListViewDataItem.GradientPercentage2ListViewDataItem.GradientStyleListViewDataItem.NumberOfColorsListViewDataItem.DataBoundItemListViewDataItem.FieldCountListViewDataItem.this[string]ListViewDataItem.this[int]ListViewDataItem.this[ListViewDetailColumn]ListViewDataItem.PropertyChangedListViewDataItem.PropertyChanging

Constructors

ListViewDataItemGroup()

Declaration

cs-api-definition
public ListViewDataItemGroup()

ListViewDataItemGroup(string)

Declaration

cs-api-definition
public ListViewDataItemGroup(string text)

Parameters

text

string

Fields

ExpandedState

Declaration

cs-api-definition
protected const int ExpandedState = 64

Field Value

int

Properties

DataGroup

Gets the data group that is assigned to this group.

Declaration

cs-api-definition
[Browsable(false)]
public Group<ListViewDataItem> DataGroup { get; }

Property Value

Group<ListViewDataItem>

Expanded

Gets or sets a value indicating whether the group's items should be displayed.

Declaration

cs-api-definition
[Browsable(true)]
public bool Expanded { get; set; }

Property Value

bool

IsDataBound

Gets a value indicating whether this data item is bound to a data source. Returns true when the owning RadListView has a DataSource assigned.

Declaration

cs-api-definition
[Browsable(false)]
public override bool IsDataBound { get; }

Property Value

bool

True if the item is data-bound; otherwise, false.

Overrides ListViewDataItem.IsDataBound

Items

Gets the items in this group.

Declaration

cs-api-definition
[Browsable(false)]
public ListViewGroupedItemsCollection Items { get; }

Property Value

ListViewGroupedItemsCollection

Selected

Gets a value indicating whether this item is currently selected in the RadListView. Selected items are typically highlighted and included in the control's SelectedItems collection.

Declaration

cs-api-definition
[Browsable(false)]
public override bool Selected { get; }

Property Value

bool

True if the item is selected; otherwise, false.

Overrides ListViewDataItem.Selected

Methods

Dispose()

Releases the resources used by this ListViewDataItem. This virtual method can be overridden in derived classes to provide custom cleanup logic.

Declaration

cs-api-definition
public override void Dispose()

Overrides ListViewDataItem.Dispose()

OnNotifyPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event with the specified event arguments. This virtual method handles special processing for certain properties and coordinates with the owning list view for state updates.

Declaration

cs-api-definition
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs args)

Parameters

args

PropertyChangedEventArgs

The PropertyChangedEventArgs containing information about the property change.

Overrides ListViewDataItem.OnNotifyPropertyChanged(PropertyChangedEventArgs)

OnNotifyPropertyChanging(PropertyChangingEventArgsEx)

Raises the PropertyChanging event with the specified event arguments. This virtual method handles special validation for certain properties and allows event subscribers to cancel the property change.

Declaration

cs-api-definition
protected override bool OnNotifyPropertyChanging(PropertyChangingEventArgsEx args)

Parameters

args

PropertyChangingEventArgsEx

The PropertyChangingEventArgsEx containing information about the property change.

Returns

bool

True if the property change should be cancelled; otherwise, false.

Overrides ListViewDataItem.OnNotifyPropertyChanging(PropertyChangingEventArgsEx)