Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[TypeConverter(typeof(ListViewDataItemGroupTypeConverter))]
public class ListViewDataItemGroup : ListViewDataItem, IDataItem, INotifyPropertyChanged, INotifyPropertyChangingEx, IDisposable
Inheritance: objectListViewDataItemListViewDataItemGroup
Implements:
Inherited Members
Constructors
public ListViewDataItemGroup()
Fields
protected const int ExpandedState = 64
Properties
Gets the data group that is assigned to this group.
[Browsable(false)]
public Group<ListViewDataItem> DataGroup { get; }
Gets or sets a value indicating whether the group's items should be displayed.
[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.
[Browsable(false)]
public override bool IsDataBound { get; }
True if the item is data-bound; otherwise, false.
Overrides:
Gets the items in this group.
[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.
[Browsable(false)]
public override bool Selected { get; }
True if the item is selected; otherwise, false.
Overrides:
Methods
Releases the resources used by this ListViewDataItem. This virtual method can be overridden in derived classes to provide custom cleanup logic.
public override void Dispose()
Overrides:
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.
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs args)
The PropertyChangedEventArgs containing information about the property change.
Overrides:
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.
protected override bool OnNotifyPropertyChanging(PropertyChangingEventArgsEx args)
The PropertyChangingEventArgsEx containing information about the property change.
Returns:True if the property change should be cancelled; otherwise, false.
Overrides: