BCGControlBar Library for .NET
GridData Class Members
Properties  Methods  Events


The following tables list the members exposed by GridData.

Public Constructors
 NameDescription
Public ConstructorGridData ConstructorCreates a nd initializes an instance of the GridData object.  
Top
Public Properties
 NameDescription
Public PropertyAccessRealDataOnlyGets or sets a value that indicates whether the GridData operates the real data for sort operations, or creates a sort index.  
Public PropertyAllTopLevelNodesCollapsedGets a value that indicates whether all top level nodes (in group mode) are collapsed.  
Public PropertyAutoExpandItemCollectionGets or sets a value that indicates whether to expand GridDataRow.ItemCollection automatically if some external code tries to access data at an index that exceeds collection Count.  
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyDisableAutoFitRowContentGets or sets a value that enables or disables "auto fot row content" feature.  
Public PropertyEnableCustomSortGets or sets a value that enables or disables custom sort.  
Public PropertyGroupDataIndexesGets the collection of indexes the Grid data is grouped by.  
Public PropertyGroupIndexCollectionGets a collection of rows that is served as a flat representation of group tree.  
Public PropertyHideFilteredRowsGets or sets a value that indicates whether filtered out rows should be hidden or their height should be set to 0.  
Public PropertyIsGroupModeGets a value that indicates whether GridData works in group mode.  
Public PropertyMaxGroupLevelGets maximal group level.  
Public PropertyRootNodesGets a collection of root nodes.  
Public PropertyRowCollectionCollection of rows.  
Public PropertyRowCountGets or sets the number of rows in Virtual Mode.  
Public PropertySingleFilterModeGets or sets a value that switches between single and multiple filter modes.  
Public PropertySite (Inherited from System.ComponentModel.Component)
Public PropertyVirtualModeGets or sets a value that puts the GridData in Virtual Mode.  
Public PropertyVisibleRowCountGet the number of visible rows.  
Public PropertyVisibleRowsGets collection of visible row indexes.  
Top
Protected Properties
Public Methods
 NameDescription
Public MethodAddGroupOverloaded. Adds a group.  
Public MethodAddGroupsAdds several groups at once.  
Public MethodAddRowToGroupAdds a row to group.  
Public MethodAddSubNodeAdds a sub-node to existing group. Usually you don't need to call this method.  
Public MethodClearClears group and sort indexes.  
Public MethodClearGroupsClears groups.  
Public MethodClearSortClears sort.  
Public MethodCollapseOverloaded. Collapses a group node and raises layout changed event if necessary.  
Public MethodCollapseAllCollapses or expands all nodes.  
Public MethodCompareElementsRaises the GridCompareElements event.  
Public MethodCreateGroup  
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded. Overridden.   
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodGetRowReturns a row located at the specified index.  
Public MethodGetRowCountGets the number of rows.  
Public MethodGetRowHeightReturns row height.  
Public MethodGetRowIndexOverloaded. Returns index of row that contains the specified GridDataItem by looking for this item within specified row range.  
Public MethodGetRowsInGroupGets rows contained in specified group.  
Public MethodGetSortedRowRetrieves a sorted row located at the specified index.  
Public MethodGetTotalRowHeightCalculates total row height.  
Public MethodGetVirtualRowReturns dummy row in Virtual Mode.  
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodNotifyItemDataChangedRaises the ItemDataChanged event.  
Public MethodRaiseGridLayoutChangedRaises the GridLayoutChanged event.  
Public MethodRebuildIndexRebuilds group index from group tree.  
Public MethodRemoveGroupByColumnRemoves a group.  
Public MethodRemoveGroupNodeRemoves a group node from the group tree.  
Public MethodRemoveRowFromGroupRemoves a row from its group.  
Public MethodSortSorts rows by specified column in specified order.  
Public MethodSortDataSorts data in the specified range.  
Public MethodSortGroupNodeSorts rows that belong to a group node.  
Public MethodToString (Inherited from System.ComponentModel.Component)
Top
Protected Methods
Public Events
 NameDescription
Public EventDisposed (Inherited from System.ComponentModel.Component)
Public EventGridCompareElementsRaised when it's required to compare two elements for sort operation.  
Public EventGridLayoutChangedRaised when Grid layout should be recalculated.  
Public EventGroupCollectionChangedRaised when collection of indexes the grid data is grouped by has changed.  
Public EventItemDataChangedRaised when GridDataItem.ItemData has changes.  
Top
See Also

Reference

GridData Class
BCGSoft.Controls.Grid Namespace

Send Feedback