Version

Selection Class Properties

For a list of all members of this type, see Selection members.

Public Properties
 NameDescription
Public PropertyAutoPostBackFlagsReturns the SelectionAutoPostBackFlags for the Selection behavior  
Public PropertyCellClickActionReturns/sets the action that will occur when a cell is clicked on the WebDataGrid.  
Public PropertyCellSelectTypeDetermines how many cells can be selected at any given time.

Note: this property relates only to the UI functionality. Cells can still be selected via the API.

None - Cells will not be selected.

Single - Only one cell can be selected at a time.

Multiple - More than one cell can be selected at the same time.

 
Public PropertyColumnSelectTypeDetermines how many columns can be selected at any given time.

Note: this property relates only to the UI functionality. Columns can still be selected via the API.

None - Columns will not be selected.

Single - Only one column can be selected at a time.

Multiple - More than one column can be selected at the same time.

 
Public PropertyEnableCrossPageSelectionSetting this property to true allows selected rows/cells from one page to be retained while the page is switched.  
Public PropertyEnabledDetermines if the behavior is enabled. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Public PropertyEnableHiddenSelectionDirects the behavior to skip over hidden columns when continuous cell or column selection is being done.  
Public PropertyGridA reference to the grid the behavior belongs to. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Public PropertyIndexIndex of the behavior inside of the behavior collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Public PropertyIsEmptyChecks if ViewState has any property with not a default value. This property should be overriden by extended class when additional subobjects are supported. IsEmpty will then check each subobject and return a value based on the check of those objects plus itself. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Public PropertyNameOverridden. Returns the name of the object. This name is used on client to create the object.  
Public PropertyOwnerCollectionA reference to the grid behavior collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Public PropertyRowSelectTypeDetermines how many rows can be selected at any given time.

Note: this property relates only to the UI functionality. Rows can still be selected via the API.

None - Rows will not be selected.

Single - Only one row can be selected at a time.

Multiple - More than one row can be selected at the same time.

 
Public PropertySelectedCellCssClassThe CssClass that will be applied when a cell is selected.  
Public PropertySelectedCellsA collection of cells that are currently selected in the WebDataGrid.

To select a cell, use the Add method off of the Collection.

To unselect a cell, use the Remove method off of the Collection.

 
Public PropertySelectedColumnsA collection of columns that are currently selected in the WebDataGrid.

To select a column, use the Add method off of the Collection.

To unselect a column, use the Remove method off of the Collection.

 
Public PropertySelectedHeaderCssClassThe CssClass that will be applied to a column header when a column is selected.  
Public PropertySelectedRowsA collection of rows that are currently selected in the WebDataGrid.

To select a row, use the Add method off of the Collection.

To unselect a row, use the Remove method off of the Collection.

 
Public PropertySelectedRowSelectorCssClassThe CssClass that will be applied to the row selector when a row is selected.  
Public PropertySelectedRowSelectorImageCssClassThe CssClass that will be applied to the row selector image when a row is selected.  
Public PropertySelectionClientEventsList of events which are fired on client side.  
Protected Properties
 NameDescription
Protected PropertyAdditionalClientState (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyCollectionData (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyControlRunBotReturns reference to the Grid's runbot (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected PropertyDelayLoadingClientCollectionsCustomizes the client collections loading. If true the collections will be loaded after view state has been loaded. If false the collections will be loaded in RunBot.HandleOnInit. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyIsTrackingViewStateThis method returns a boolean value which indicates whether ViewState is being tracked for the object. Once viewstate is being tracked, all property changes are roundtripped from server to client and back within the ViewState hidden field. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyPropCountOverridden. Returns the total number of properties on the object that should go to the client.. This should be calculated by taking the amount of Properties on the base class plus the amount of properties on this class. If you are deriving from this object and need to add additional client properties, you must override this property.  
Protected PropertyRequiresDataBindingIndicates if the behavior requires data binding when added or removed from grid's behavior collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected PropertyTransactionLists (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyViewStateProperty to return the ViewState bag for the object. If none exist, then one is created. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
See Also