Syncfusion.Grid.Windows
Properties  Methods  Events


Syncfusion.Windows.Forms.Grid Namespace : GridModelOptions Class

GridModelOptions Class Members

The following tables list the members exposed by GridModelOptions.

Protected Constructors
 NameDescription
Protected ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public Property Gets or sets current cell activation behavior when moving the current cell or clicking inside a cell.  
Public Property Gets or sets Activate the SendKey when pressing the negative sign key.  
Public Property Gets or sets a value indicating whether to allow the user to drag selected columns by clicking on the column header.  
Public Property Gets or sets a value indicating whether to allow the user to drag selected rows by clicking on the row header.  
Public Property Gets or sets ScrollCurrentCellInView behavior of the grid.  
Public Property Gets or sets selection behavior of the grid.  
Public PropertyGets or sets a value indicating whether the grid should scroll immediately when the user grabs a vertical scrollbar thumb and drags it.  
Public PropertyGets or sets the System.Drawing.Color for alpha blended cell selections.  
Public Property Gets or sets an alphablend that should be used whenever a style or color setting in the grid has no alpha value specified. Ideal to change transparency for the whole grid in one place instead of changing colors for cells individually. Set to -1 if no value is specified.  
Public Property Gets or sets Excel-like current cell behavior. When the user clicks on a cell out of a selected range for which .Enabled has been set to false.  
Public PropertyGets or sets which mouse controllers should be enabled for the grid.

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

 
Public Property Gets or sets which default data consumers should be enabled for the grid.  
Public PropertyGets or sets the GridBorderStyle value to be used as default for cell borders.  
Public PropertyGets or sets a value indicating whether to Display Empty Columns. Used internally. This boolean property can be used only in GridControl.  
Public PropertyGets or sets a value indicating whether to Display Empty Rows. Used internally. This boolean property can be used only in GridControl.  
Public Property Gets or sets or disables various options for using the grid as an OLE drop target.  
Public Property Gets or sets which mouse buttons can be used for dragging selected rows or columns.  
Public Property Gets or sets the order how cells are loaded before the grid is displayed. This is of use when using the virtual grid and it is more extensive to move from column to column than to move from row to row in your custom data source.  
Public Property Gets or sets movement of current cell when pressing the Enter key.  
Public Property Gets or sets a value indicating whether Excel-like current cell behavior. When the user moves the current cell out of a selected range, the range will be cleared. If the user moves the current cell inside a selected range, the range will stay.  
Public Property Gets or sets a value indicating whether the active selection should be outline with a selection frame.  
Public PropertyGets or sets a GridFloatCellsMode enumeration that specifies floating cells' behavior in a GridModel.  
Public Property Gets or sets a value indicating whether to toggle between standard and Office2007 scrollbars.  
Public Property Gets or sets the VisualStyles (skins) like Office2010, Office2007, Office2003  
Public Property Gets or sets the VisualStylesDrawing object.  
Public PropertyGets or sets a value indicating whether the frozen line should be highlighted with GridProperties.GridProperties.FixedLinesColor the GridBorderStyle.  
Public Property Gets or sets a value indicating whether the grid should display Scroll Tips when the user grabs a horizontal scrollbar thumb and drags it.  
Public Property Gets or sets a value indicating whether the grid should scroll immediately when the user grabs a horizontal scrollbar thumb and drags it.  
Public Property Gets or sets list box-like selection behavior for the grid when the user moves the current cell.  
Public PropertyGets or sets a GridMergeCellsMode enumeration that specifies merge cells behavior in a GridModel.  
Public PropertyGets or sets a GridMergeCellsMode enumeration that specifies merge cells behavior in a GridModel.  
Public Property Gets or sets the minimum column width when the user resizes a column with the mouse.  
Public Property Gets or sets the minimum row height when the user resizes a row with the mouse.  
Public Property Gets or sets a value indicating whether when you select SelectionMode.MultiExtended, this flag defines if the rows selection should be cleared and moved with the new current cell or if only the current cell should be moved without clearing selections.  
Public Property Gets or sets a value indicating whether to toggle display of column ids (A, B, C, ...) in column headers.  
Public Property Gets or sets a value indicating whether to toggle display of row numbers in row headers.  
Public Property Gets or sets a value indicating whether to toggle between standard and Office2007 scrollbars.  
Public Property Gets or sets the style of Office2007 scroll bars.  
Public Property Gets or sets the style of Office2010 scroll bars.  
Public Property Gets or sets the style of Office2016 scroll bars.  
Public PropertyGets or sets which cells to refresh when moving the current cell. If a cell's appearance is changed if cells are moved to a new row (e.g. when GridShowButtons.ShowCurrentRow is used), you should specify GridRefreshCurrentCellBehavior.RefreshRow.  
Public Property Gets or sets behavior for resizing columns.  
Public Property Gets or sets behavior for resizing rows.  
Public Property Gets or sets a value indicating whether the scroll behavior when user moves current cell with arrow keys into the frozen cells area.  
Public Property Gets or sets which mouse buttons can be used for selecting cells.  
Public PropertyGets or sets selection border brush for 2016 Excel-like selection frame. It is applicable if SelectionFrameOption.Excel2016 is used as selection frame.  
Public PropertyGets or sets border thickness for 2016 Excel-like selection frame. It is applicable for if SelectionFrameOption.Excel2016 is used as selection frame.  
Public Property Gets or sets the behavior of the Excel-like selection frame.  
Public PropertyGets or sets a value indicating whether current cell movements should be synchronized among GridControlBase attached to the same model.  
Public Property Gets or sets when to show current cell frame or border.  
Public Property Gets or sets a value indicating whether a grid should be completely refreshed when the user resizes the window or if only newly visible rows or columns should be redrawn.  
Public Property Gets or sets a value indicating whether grid should erase and fill background of cells or only draw cell text.  
Public Property Gets or sets a value indicating whether the controls the kind of textbox control that is created for TextBox cells. In general the original text box behaves better than the richtext box with Hebrew and arabic languages. By default the grid uses the RichTextBox control for cell editing, but if you set UseRightToLeftCompatibleTextBox to true then the grid will do editing with original TextBox controls instead.  
Public Property Gets or sets a value indicating whether the grid should display Scroll Tips when the user grabs a vertical scrollbar thumb and drags it.  
Public Property Gets or sets a value indicating whether the grid should scroll immediately when the user grabs a vertical scrollbar thumb and drags it.  
Public PropertyGets or sets a value indicating whether to go to first column in next row or last column in previous row when at end or beginning of a row and moving left or right. For more options, use WrapCellBehavior instead.  
Public Property Gets or sets go to first column in next row or last column in previous row when at end or beginning of a row and moving left or right.  
Top
Public Methods
 NameDescription
Public Method Disposes the object.  
Public Method Returns the enabled state of a specific controller.  
Public Method Returns the enabled state for specific data consumers.  
Public Method Toggles the enabled state of a specific controller.  
Public Method Toggles the enabled state for specific data consumers.  
Public MethodOverloaded.  Sets the custom Metro colors to the Grid.  
Public Method Sets the customized the Office 2016 theme colors. Use the Office2016ColorfulThemeColors, Office2016DarkGrayThemeColors, Office2016BlackThemeColors, Office2016WhiteThemeColors classes to customize the colors.  
Top
Extension Methods
 NameDescription
Public Extension MethodOverloaded.  Iterates the index.
Public Extension MethodOverloaded.  Iterates the index.
Top
Public Events
 NameDescription
Public EventOccurs when ControllerOptions have changed.  
Public EventOccurs when DataObjectConsumerOptions have changed.  
Public EventOccurs when the FloatCellsMode is changed.  
Public EventOccurs when the MergeCellsMode is changed.  
Public EventOccurs when settings in GridModelOptions have changed.  
Top
See Also