New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
[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

C#
public ListViewDataItemGroup()
C#
public ListViewDataItemGroup(string text)
Parameters:textstring

Fields

C#
protected const int ExpandedState = 64

Properties

Gets the data group that is assigned to this group.

C#
[Browsable(false)]
public Group<ListViewDataItem> DataGroup { get; }

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

C#
[Browsable(true)]
public bool Expanded { get; set; }

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

C#
[Browsable(false)]
public override bool IsDataBound { get; }
Property Value:

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

Overrides: ListViewDataItem.IsDataBound

Gets the items in this group.

C#
[Browsable(false)]
public ListViewGroupedItemsCollection Items { get; }

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.

C#
[Browsable(false)]
public override bool Selected { get; }
Property Value:

True if the item is selected; otherwise, false.

Overrides: ListViewDataItem.Selected

Methods

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

C#
public override void Dispose()

Overrides: ListViewDataItem.Dispose()

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.

C#
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs args)
Parameters:argsPropertyChangedEventArgs

The PropertyChangedEventArgs containing information about the property change.

Overrides: ListViewDataItem.OnNotifyPropertyChanged(PropertyChangedEventArgs)

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.

C#
protected override bool OnNotifyPropertyChanging(PropertyChangingEventArgsEx args)
Parameters:argsPropertyChangingEventArgsEx

The PropertyChangingEventArgsEx containing information about the property change.

Returns:

bool

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

Overrides: ListViewDataItem.OnNotifyPropertyChanging(PropertyChangingEventArgsEx)