Captures a traverser's group, item, and collection indices for saving or restoring its position.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class PropertyGridTraverserState
Inheritance: objectPropertyGridTraverserState
Constructors
Captures the current group, item, and their indices.
public PropertyGridTraverserState(PropertyGridGroupItem group, PropertyGridItemBase item, int index, int groupIndex)
The current group, or null when ungrouped.
itemPropertyGridItemBaseThe current item.
indexintThe saved item index; it may be -1 or not applicable when the current position is a group header.
groupIndexintThe saved group index; it may be stale or not applicable when the current position is ungrouped.
Properties
Gets the group captured by this state.
public PropertyGridGroupItem Group { get; }
Gets the saved group index, which may be stale or not applicable when the captured position is ungrouped.
public int GroupIndex { get; }
Gets the saved item index, which may be stale after collection changes, -1, or not applicable at a group header.
public int Index { get; }
Gets the item captured by this state.
public PropertyGridItemBase Item { get; }