Version

States Enumeration

Represents the different states of the control. Used to evaluate whether a specific command can be executed.
Syntax
'Declaration
 
Public Enum States 
   Inherits System.Enum
public enum States : System.Enum 
Members
MemberDescription
CanFlipOrientationThe current view is GridView or DataCards.
CellActive Cell not null
CellFirstDisplayedActive Cell is the first displayed Cell
CellFirstInRecordActive Cell is the first Cell in the ActiveRecord
CellFirstOverallActive Cell is the first overall Cell
CellLastDisplayedActive Cell is the last displayed Cell
CellLastInRecordActive Cell is the last Cell in the ActiveRecord
CellLastOverallActive Cell is the last overall Cell
CellsSelectedIndicates that there is at least one Cell selected
DataRecordsSelectedIndicates that there is at least one DataRecord selected
EditorAcceptsArrowKeysThe editor of the cell currently in edit mode uses the arrow keys for navigation
ExpandableFieldRecordActiveRecord is an ExpandableFieldRecord.
FilterCellThe active cell is a filter cell.
FilterCellHasActiveFiltersThe active cell is a filter cell and it has filter criteria specified.
FilterRecordThe active record is a filter record.
FilterRecordHasActiveFiltersThe active record is a filter record and at least one of its cells has filter criteria specified.
GroupByRecordActiveRecord is a GroupByRecord.
IsExportingThe IsExporting is true.
IsExportingInitializingAn asynchronous export operation has been initiated but export of the records has not yet begun.
IsInEditModeThe active cell is in edit mode
ItemsSelectedIndicates that there is at least one item selected (Record, Field or Cell)
NavigationLayoutStyleCardViewHorizontalLayout style is CardView horizontal.
NavigationLayoutStyleCardViewVerticalLayout style is CardView vertical.
NavigationLayoutStyleGridViewHorizontalLayout style is GridView horizontal.
NavigationLayoutStyleGridViewVerticalLayout style is GridView vertical.
RecordActive Record is not null
RecordExpandableActive Record is expandable
RecordExpandedActive Record is expanded
RecordFirstDisplayedActive Record is the first displayed record
RecordFirstOverallActive Record is the first overall record
RecordHasPendingChangesActive Record has changes that are pending (i.e. one or more cell values have been changed)
RecordLastDisplayedActive Record is the last displayed record
RecordLastOverallActive Record is the last overall record
RecordsThere is at least 1 record.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also