MobileForms Toolkit Documentation

SmartGrid Properties

The properties of the SmartGrid class are listed below. For a complete list of SmartGrid class members, see the SmartGrid Members topic.

Public Instance Properties

ActiveColumnIndex Gets or sets the active column index.
ActiveRowIndex Gets or sets the active row index.
AllowColumnDrag Gets or sets the boolean value indicating whether user can drag columns.
AllowResize Gets or sets the boolean value indicating whether user can resize columns and rows.
AlternatingBackColor Gets or sets the default back color of alternating cells.
AlternatingForeColor Gets or sets the default foreground color of alternating cells.
Anchor (inherited from Control)Gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.
AutoSizeColumnsMode Gets or sets a value indicating how column widths are determined.
AutoSizeRowsMode Gets or sets a value indicating how row heights are determined.
BackColor Gets or sets the default back color of normal cells.
BackgroundColor Gets or sets the default background color of SmartGrid.
BindingContext (inherited from Control)Gets or sets the BindingContext for the control.
BorderObsolete. Gets or sets the boolean value indicating whether to display border.
BorderColor Gets or sets the border color.
BorderStyle Gets or sets the border style of the control.
Bottom (inherited from Control)Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
Bounds (inherited from Control)Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control.
Capture (inherited from Control)Gets or sets a value indicating whether the control has captured the mouse.
Cells Gets the cell collection of SmartGrid.
ClientRectangle (inherited from Control)Gets the rectangle that represents the client area of the control.
ClientSize (inherited from Control)Gets or sets the height and width of the client area of the control.
ColumnHeaderHeight Gets or sets the height of the columnheader row.
ColumnHeadersVisible Gets or sets the boolean value indicating whether to display column headers.
ColumnResizeSensitivity 
Columns Gets the column collection of SmartGrid.
ContextMenu 
Controls (inherited from Control)Gets the collection of controls contained within the control.
CustomizeCellMode Specifies the beviour of the CustomizeCell event.
DataBindings (inherited from Control)Gets the data bindings for the control.
DataSource Gets or sets the datasource of the SmartGrid.
DbConnector Gets the DataConnector which is defaultly used to load the data.
DelayLoad Gets or sets the delay load option.
Dock (inherited from Control)Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
DockedColumns Gets or sets the number of docked columns.
DockedRows Gets or sets the number of docked rows.
DoubleBuffered 
EditingTextBox Gets the editing TextBox control that SmartGrid uses internally to edit those cells, that belong to the column that has CellEdit property set to CellEditType.TextBox.
Enabled (inherited from Control)Gets or sets a value indicating whether the control can respond to user interaction.
ExpectedRows 
Focused (inherited from Control)Gets a value indicating whether the control has input focus.
Font Gets or sets the default font of regular, alternating and selected cells.
ForeColor Gets or sets the default foreground color of normal cells.
FreeSpaceWidth Gets or sets the integer value indicating how much scrollable space (how many pixels) there should be after the right edge of the grid. Some free space is recommended for the user to be able to enlarge the last column more comfortably.
FullRowSelect Gets or sets the boolean value indicating whether to select full row or single cell only.
GridLineColor Gets or sets the default gridline color of SmartGrid.
GridLines Gets or sets the boolean value indicating whether to display row grid lines.
Handle (inherited from Control)Gets the window handle that the control is bound to.
HeaderBackColor Gets or sets the default back color of header cells.
HeaderFont Gets or sets the default font of header cells.
HeaderForeColor Gets or sets the default foreground color of header cells.
HeaderGridLineColor Gets or sets the default hedaer gridline color of SmartGrid.
HeaderVistaStyle Get or sets whether to use Vista-Style for the header.
Height (inherited from Control)Gets or sets the height of the control.
HScrollBar 
InvokeRequired (inherited from Control)Gets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on.
IsDisposed (inherited from Control)Gets a value indicating whether the control has been disposed of.
KeyNavigation Enable internal keyboard navigation.
Left (inherited from Control)Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.
Location (inherited from Control)Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
Name (inherited from Control)Gets or sets the name of the control.
Parent (inherited from Control)Gets or sets the parent container of the control.
Right (inherited from Control)Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area.
RightToLeft Gets or sets a value indicating whether control's elements are aligned to support right-to-left locales.
RowHeadersVisible Gets or sets the boolean value indicating whether to display row headers.
RowHeaderWidth Gets or sets the width of the rowheader column.
RowHeight Gets or sets the height of SmartGrid's rows.
Rows Gets the row collection of SmartGrid.
ScrollBars Gets or sets which scroll bars should appear in a SmartGrid control.
ScrollHeight Gets or sets the height of the horizontal scrollbar.
ScrollHPos Gets or sets the horizontal scroll position.
ScrollHVisible Gets the boolean value indicating whether horizontal scrollbar is visible.
ScrollVFullPage Gets or sets scroll to full last page.
ScrollVLargeChange Gets or sets a value to be added to or subtracted from the scrollbar Value property when the scroll box is moved a large distance.
ScrollVPos Gets or sets the vertical scroll position.
ScrollVVisible Gets the boolean value indicating whether vertical scrollbar is visible.
ScrollWidth Gets or sets the width of the vertical scrollbar.
SelectedCell Gets the selected cell.
SelectionBackColor Gets or sets the default back color of selected cells.
SelectionForeColor Gets or sets the default foreground color of selected cells.
SelectionVistaStyle Get or sets whether to use Vista-Style for the selection.
ShowToolTips Gets or sets the boolean value indicating whether to allow ToolTips when the text of cell does not fit into cell.
Site (inherited from Component)Gets or sets the ISite of the Component.
Size (inherited from Control)Gets or sets the height and width of the control.
Styles Gets the style collection of SmartGrid.
TabIndex (inherited from Control)Gets or sets the tab order of the control within its container.
TabStop (inherited from Control)Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.
Tag (inherited from Control)Gets or sets the object that contains data about the control.
Text (inherited from Control)Gets or sets the text associated with this control.
TooltipBackColor Gets or sets the Color of the tooltip back color.
TooltipForeColor Gets or sets the Color of the tooltip fore color.
ToolTipType Gets or sets how the ToolTip should be drawn in TextCell.
Top (inherited from Control)Gets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.
TopLevelControl (inherited from Control)Gets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form that the control is contained in.
TopmostRowIndex Gets or sets the top most row index.
TouchScrollDirection 
TouchScrolling 
TouchSensitivity 
Visible (inherited from Control)Gets or sets a value indicating whether the control is displayed.
VScrollBar 
Width (inherited from Control)Gets or sets the width of the control.

Protected Instance Properties

Events (inherited from Component)Gets the list of event handlers that are attached to this Component.
ScaleChildren (inherited from Control)Gets a value that determines the scaling of child controls.

Protected Internal Instance Properties

Dirty Gets the boolean value indicationg that control requires a recalculation of cells before redraw.

See Also

SmartGrid Class | Resco.Controls.SmartGrid Namespace