Syncfusion.Grid.Windows The Syncfusion namespace contains classes that defines the value and reference data types, events and event handlers, interfaces, attributes and processing the exceptions. This class holds the name of the Syncfusion.Grid.Windows assembly and provides a helper routine that helps with resolving types when loading a serialization stream and when the framework probes for assemblies by reflection. The full name of this assembly without version information: "Syncfusion.Grid.Windows" A reference to the for the Grid assembly. The root namespace of this assembly. Used internally for locating resources within the assembly. This delegate helps with resolving types and can be used as a eventhandler for a event. The source of the event. The event data with information about the type. A reference to the assembly where the type is located. Use this handler when reading back types from a serialization stread saved with an earlier version of this assembly. public static GridModel LoadSoap(Stream s) { try { AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(GridWindowsAssembly.AssemblyResolver); SoapFormatter b = new SoapFormatter(); b.AssemblyFormat = FormatterAssemblyStyle.Simple; GridModel t = b.Deserialize(s) as GridModel; t.Modified = false; return t; } finally { AppDomain.CurrentDomain.AssemblyResolve -= new ResolveEventHandler(GridWindowsAssembly.AssemblyResolver); } } The Syncfusion.Windows.Forms.Grid namespace contains classes that implements the Essential GridControl and its events and event handlers, interfaces, attributes and processing the exceptions. Defines a cell button element to be used with a cell renderer. A cell renderer can have several cell button elements. Examples are numeric up and down buttons, combo box buttons, etc.. The cell button is XP Themes enabled. It will be drawn themed if is true. Initializes a new and associates it with a . The that manages the . Disposes the unmanaged resources. Draws the cell button element at the specified row and column index. The context of the canvas. The row index. The column index. True if this is the active current cell; False otherwise. The object that holds cell information. Draws the PushButton for Metro skin A object. A object that represents the drawing area. The current state of the button. button value bool value Draws a button using or if XP Themes are enabled, button will be drawn themed. The context of the canvas. The with the bounds. A that specifies the current state. The style information for the cell. Determines whether the mouse is currently hovering over the button at the specified row and column. The row index. The column index. True if mouse is over the button; False otherwise. Saves current hovering state. The with row and column index. True to set hovering; False to reset hovering. Determines whether the mouse is currently pressed at the specified row and column. The row index. The column index. True if mouse is pressed over the button; False otherwise. Saves current MouseDown state. The with row and column index. True to set mouse down; False to reset mouse down state. Determines whether the button is marked as pushed at the specified row and column. The row index. The column index. True if the button is marked as pushed; False otherwise. Saves current pushed state. The row index. The column index. The with the bounds. True to set the button as pushed; False to reset pushed state. Tests if the mouse is over the button and if the button wants to handle any subsequent mouse event. The row index. The column index. The with data for the current mouse event. A that has indicated to handle the mouse event. A non-zero value if the button can and wants to handle the mouse event; 0 if the mouse event is unrelated for this button. Occurs when the mouse is hovering over the button (and HitTest indicated it wants to handle the mouse event). The with saved hit-test information about the mouse event. is called once before a series of calls. is called when the mouse leaves the button or if the mouse button is pressed. Occurs when the mouse is hovering over the button (and HitTest indicated it wants to handle the mouse event). A with data about the mouse event. The with saved hit-test information about the mouse event. is called once before a series of calls. is called when the mouse leaves the button or if the mouse button is pressed. Occurs when the mouse has left hovering over the button (and HitTest indicated it wants to handle the mouse event). A with data about the mouse event (can also be ). The with saved hit-test information about the mouse event. is called once before a series of calls. is called when the mouse leaves the button or if the mouse button is pressed. This is called from when has indicated it wants to receive mouse events and the user has pressed the mouse button. A with data about the mouse event. The with saved hit-test information about the mouse event. Once MouseDown has been called you are guaranteed to receive a MouseUp or CancelModel call. This is called from when has indicated it wants to receive mouse events and the user has pressed the mouse button and is moving the mouse. A with data about the mouse event. The with saved hit-test information about the mouse event. Once MouseDown has been called, you are guaranteed to receive a MouseUp or CancelModel call. This is called from when has indicated it wants to receive mouse events and the user has released the mouse button. A with data about the mouse event. The with saved hit-test information about the mouse event. Once MouseDown has been called you are guaranteed to receive a MouseUp or CancelModel call. Return the cursor that you want to display. The with saved hit-test information about the mouse event. The to be displayed. Occurs when the current mouse operation is canceled. The with saved hit-test information about the mouse event. Raises the event. A with event data. Raises the event. A with event data. Raises the event. A with event data. Raises the event. A with event data. Occurs when the cell button has clicked. Occurs when hovers mouse over cell button or moved mouse away from cell button element. Occurs when pressed or released the mouse button while the cursor was over the cell button element. Occurs when moved mouse away from cell button element or back into it while pressing the mouse. Gets or sets the coordinates of the cell button element in grid client area coordinates. Gets or sets the text that has to be displayed inside cell button element. Gets the information of Saved HitTest. Gets a reference to the parent grid. Gets a reference to the . Gets or sets a value indicating whether button should fire a event when user clicks on button. Implements the text box that is shown in a when the user starts editing the cell. Provides interface for and for the text box that is shown in a when the user starts editing the cell. Suspends raising events. Resumes raising events. Suspends raising modified events until EndInit is called and set property to True. You should check in your cell renderer's implementation to see if changes in the text box are done because of initialization or user interaction. Resume raising modified events and resets the property. Gets a value indicating whether raising events is temporarily disabled. Gets a value indicating whether was called. Gets the associated cell renderer for the text box. Gets or sets a value indicating whether the cell was floated over another cell after the user inserted text. Will be reset when the cell is redrawn. Gets or sets a value indicating whether the cell supports floating over another cell. Gets the default text box margins. Provides support for property. Gets or sets The container this child control is associated with. Initializes a new and attaches it to a The that the cell belongs to. Raises the System.Windows.Forms.Control.OnHandleDestroyed event. An that contains event data. Suspends raising events. Resumes raising events. Raises the event. An that contains event data. Raises the event. An that contains event data. Raises the event. An that contains event data. Raises the event. An that contains event data. Raises the event. An that contains event data. Pre-processes the keyboard or input messages within the message loop before they are dispatched. Message that has to be dispatched. True if the messages can be preprocessed. Processes Windows messages. A Windows Message object. Determines whether the specified key is an input key or a special key that requires preprocessing. One of the key's values. A value indicating whether the key data can be allowed Processes a keyboard message. A passed by reference, that represents the window message to process. Returns the message of the processed key. Raises the event. An that contains event data. Raises the event. An that contains event data. Raises the event. An that contains event data. Paints the background of the control. An that contains event data. Scroll the specified number of lines. The number of lines to scroll. Sends an EM_LINESCROLL message to the control. Suspends raising Modified events until EndInit is called and set property to true. You should check your cell renderer's implementation to see if changes in the text box are done because of initialization or user interaction. if BeginInit called twice. Resume raising modified events and resets the property. Overridden to raise the event. An that contains event data. Gets the default text box margins. Gets the required creation parameters when the control handle is created. Gets a value indicating whether the raising events is temporarily disabled. Gets a value indicating whether was called. Gets the associated cell renderer for the text box. Gets or sets a value indicating whether if the cell was floated over another cell after the user inserted text. Will be reset when the cell is redrawn. Gets or sets a value indicating whether if the cell supports floating over another cell. Gets or sets a value indicating whether the dropped-down state or shows or hides the drop-down window. Gets or sets the container this child control is associated with. Gets or sets the container this child control is associated with. Implements the text box that is shown in a when the user starts editing the cell. Activates a child control. Optionally specifies the direction in the tab order to select the control from. True to specify the direction of the control to select; otherwise, false. True to move forward in the tab order; false to move backward in the tab order. Initializes a new and attaches it to a The that the cell belongs to. Raises the event. An that contains event data. Suspends raising events. Resumes raising events. Raises the event. An that contains event data. Raises the event. An that contains event data. Raises the event. An that contains event data. Raises the event. An that contains event data. Raises the event. An that contains event data. Preprocesses the keyboard and input messages within the message loop before they are dispatched. Message that loops for input. True if they are preprocessed. Determines whether the specified key is an input key or a special key that requires preprocessing. One of the key's values. Gets a value indicating whether the navigating keys can be used Processes a keyboard message. A instance passed by reference, that represents the window message to process. Gets a value indicating whether the key message has to be processed Raises the event. An that contains event data. Raises the event. An that contains event data. Raises the event. An that contains event data. Paints the background of the control. An that contains event data. Scroll the specified number of lines. The number of lines to scroll. Sends an EM_LINESCROLL message to the control. Raises the event. An that contains event data. Suspends raising Modified events until EndInit is called and set property to true. You should check your cell renderer's implementation to see if changes in the text box are done because of initialization or user interaction. Resume raising modified events and resets the property. Overridden to raise the event. An that contains event data. Gets the default text box margins. Gets or sets the current text in the rich text box. Gets or sets the selected text within the . Gets the required creation parameters when the control handle is created. Gets a value indicating whether raising events is temporarily disabled. Gets a value indicating whether WM_IME_STARTCOMPOSITION was sent and False once WM_IME_ENDCOMPOSITION was handled. Gets a value indicating whether was called. Gets the associated cell renderer for the text box. Gets or sets a value indicating whether the cell was floated over another cell after the user inserted text. Will be reset when the cell is redrawn. Gets or sets a value indicating whether the cell supports floating over another cell. Gets or sets a value indicating whether the dropped-down state will shows or hides the drop-down window. Gets or sets the container this child control is associated with. Provides a method that ensures that a drop-down container is correctly initialized. Ensures that a drop-down container is correctly initialized. Provides an interface to the base method for to use without having strong reference to that class. Shows the popup at the specified location. A point in screen coordinates. Can be Point.Empty. Gets or sets the parent. An instance of the interface. The Popup framework can handle a hierarchy of popups (like in a menu) for which it requires each popup child to provide a reference to its Popup parent. Gets or sets the PopupControlContainer's Control Parent. A control instance. The Parent-Child relationship in this case is NOT similar to the one in the control hierarchy. When you specify a Parent control via ParentControl and pass a Point.Empty location to ShowPopup, the popup location will be dynamically determined based on the ParentControl bounds and the screen area. Provides functionality for drop-down cell.The GridDropDownCellImp class implements this interface. Creates a and associates it with the cells parent grid. The container where you can insert child controls to be displayed as a drop-down part for your cell. Ensures the container is valid and initialized. Called to initialize contents of the drop-down container for the first time. This method gets called from the cell renderer's initialize method. Override this method if you need to do any initialization for the current cell. The row index. The column index. Override this method if your cell renderer supports in-place editing and you want to do any custom initialization at this point before cell gets redrawn. Will be called to indicate that the popup child was closed. The child that was closed. The event data with a value. Occurs after the popup has been dropped-down and made visible. The source of the event. Event data. Occurs when the drop-down container is about to be shown. The source of the event. Event data. Raises the for the parent grid. The suggested size of the drop-down True if drop-down should be shown; False if operation should be canceled. Raises the for the parent grid. This is called from GridCurrentCell.ShowDropDown after BeginEdit has been called. If your renderer supports dropped-down state, the drop-down window should be made visible at this time. This is called from GridCurrentCell.CloseDropDown. If your renderer supports dropped-down state, the drop-down window should be closed at this time. This method is called when the user clicks a cell button inside a cell. The row index. The column index. The button control In your overridden version of this method, you can activate the current cell for the given row and column index and then drop-down a list. User pressed key down. (similar to Control.OnKeyDown) The event args of Key down Ensures that the drop-down part is the top-most window. Gets or sets a value indicating whether the focus should remain with the grid or active text box when dropped-down. True if focus should remain with grid; False if drop-down should get focus. Gets or sets a value indicating whether the Environment.TickCount value until a second click should be considered a double click. Gets or sets a value indicating whether grid focus notification should be temporarily ignored. Gets a reference to the parent grid. Gets a reference to GridCurrentCell implementation of the GridControlBase this cell renderer is associated with. Gets or sets the drop-down button. Gets a value indicating whether the drop-down is currently dropped-down and visible. Gets the text box that is displayed in the user input field for a combo box. Gets the container where you can insert child controls to be displayed as drop-down part for your cell. Gets the container same as , for convenience only. GridCellModelFactory creates objects to be used in a . Provides a method that instantiates objects on demand when a cell is touched that has a that is not found in the collection. Instantiates objects on demand when a cell is touched that has a that is not found in the collection. returns GridCellModelBase Gets a value indicating whether true when the grid is allowed to replace this factory with a derived factory at any time. Initializes a new instance of class. Initializes a new instance of class and optionally marks it as "Default", allowing the grid to replace it with a derived factory at any time. When True, marks this instance of as Default. Creates objects to be used in a . A cell type name that identifies the cell model to be instantiated. The the new cell model object should be associated with. A cell model. Gets a value indicating whether the grid is allowed to replace this factory with a derived factory at any time. This class holds layout information and bounds for a cell. Initializes a new CellLayout with the given parameters. Initializes a new CellLayout with the given parameters. This is the full cell rectangle including borders. This is the cell area without borders. An array of with boundaries for all cell buttons. This is the text rectangle. It is the cell rectangle without buttons, borders, or text margins. Initializes an new instance of the class. Gets or sets the full cell rectangle including borders. Gets or sets the cell area without borders. Gets or sets an array of with boundaries for all cell buttons. Gets or sets the client rectangle. It is the cell rectangle without buttons and borders. Gets or sets the text rectangle. It is the cell rectangle without buttons, borders, or text margins. Defines the data or model part of a cell type. Settings can be serialized out to a file together with a . You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . The following table illustrates the built-in cell model types available in Essential Grid. Cell Types Description Sets the specified cell as "CheckBox" in the grid, which returns the check state of that specified cell. Refer the and class. Sets the specified cell to edit the backcolor of the cell. The range of colors can be chosen from either the Color palette,Web or System tabs in the drop-down menu. Refer the and class. Sets a Combo-box embedded in the specified grid cell, where a specified data source can be assigned and also the button visibility can be modified. Refer the and class. Embeds a generic control withe the grid cell. Refer the and class. Embeds a currency edit cell. The values entered in this cell are prefixed with a specified currency-symbol. Refer the and class. Sets a Grid in the drop-down container. See "Drop-Down grid" in the samples. Also refer the and class. Gets a formula cell that can be used for various computational operations in the grid using the library functions. Also, a custom-function can be added to the library functions to meet the required need. Refer the and class. Embeds a GridListControl in the specified cell. Refer the and class. Specifies the cell as Header cell. Refer the and class. Specifies the cell as an Image cell, where a required image can be displayed on the grid. Refer the and class. Specifies the textbox as a masked-edit textbox, where specified criteria can be set to validate the user inputs. Refer the and and class. Gets a month-calendar control for acquiring a "Date" input from the grid cell. Refer the and class. Embeds a Numeric up-down control in the specified grid cell. The increment and decrement values as well as the Minimum and Maximum number-count possible can also be modified as per the need. Refer the and class. Sets the specified cell as "OriginalTextBox", that provides a multi-line text box. Refer the and class. Embeds a progress bar control in the specified cell. Refer the and class. Sets the specified cell as property-grid, that displays the property's values in the grid. Refer the and class. Sets the specified cell as "PushButton" control. The cell appearance can also be modified. Refer the and class. Sets the specified cell as "RadioButton" control. Refer the and class. Sets the specified cell as a "RichTextBox" control. The contents of the cell can also be formated such as Alignment, Bold or Italics or Under lined, Font size as well as font color and font type. Refer the and class. Specifies the cell as Standard value cell that provides a "list-control" like grid. Refer the and class. Sets the specified cell in an in-active state and the contents of the specified cell is non-editable. Refer the and class. Sets the specified cell as"TextBox" control. The default cell model of every grid cell is a TextBox model. Refer the and class. Specifies the cell as UI-type editor cell that provides a "list-control" like grid. Refer the and class. Releases the all resources used by the component. Releases the all resources used by the component. Called when the BindingContext property was changed. An empty EventArgs Returns a localized string from the SR.txt resource file. The key to look up. The localized string. Initializes a new GridCellModelBase object and stores a reference to the GridModel this cell belongs to. Initializes a new GridCellModelBase object and stores a reference to the GridModel this cell belongs to. The that owns this model. Called from GridModel implementation of IDeserializationCallback.OnDeserialization. The source of the event. The that was deserialized. Runs when the entire object graph has been deserialized. The source of the event. The that was deserialized. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the cell model. A SerializationInfo object containing the information required to serialize the cell model. A StreamingContext object containing the source and destination of the serialized stream. Creates a renderer for this cell model that is specific to the GridControlBase. The the cell renderer is created for. A new specific for a . You must override this method in your implementation of GridCellModelBase. Creates a copy of this cell model for another GridModel. The for the new control. Returns the instance of the grid model Adds border margins to given cell client area size. The borders are determined from a specified style with cell content information. The with the cell size. The object that holds cell information. The with the cell size including its borders. calls GridMargins.AddMargins(size, StyleInfoBordersToMargins(style)); Removes border margins from a given cell rectangle. The borders are determined from a specified style with cell content information. Removes border margins from a given cell rectangle. The borders are determined from a specified style with cell content information. The with the cell bounds. The object that holds cell information. Indicates if grid is in RightToLeft mode. The with the cell bounds excluding its borders. Calls GridMargins.RemoveMargins(cellBounds, StyleInfoBordersToMargins(style)); Removes border margins from a given cell rectangle. The borders are determined from a specified style with cell content information. The with the cell bounds. The object that holds cell information. The with the cell bounds excluding its borders. calls GridMargins.RemoveMargins(cellBounds, StyleInfoBordersToMargins(style)); This example shows how to remove the border margins from given cell rectangle. void gridControl1_CellClick(object sender, GridCellClickEventArgs e) { //Removes border margins from a given cell rectangle. GridRangeInfo range = this.gridControl1.Model.CoveredRanges.FindRange(e.RowIndex, e.ColIndex); Rectangle rect = this.gridControl1.RangeInfoToRectangle(range); this.gridControl1.CurrentCell.Model.SubtractBorders(rect, style, true); } Private Sub gridControl1_CellClick(ByVal sender As Object, ByVal e As GridCellClickEventArgs) 'Removes border margins from a given cell rectangle. Dim range As GridRangeInfo = Me.gridControl1.Model.CoveredRanges.FindRange(e.RowIndex, e.ColIndex) Dim rect As Rectangle = Me.gridControl1.RangeInfoToRectangle(range) Me.gridControl1.CurrentCell.Model.SubtractBorders(rect, style, True) End Sub Calculates the preferred size of the cell based on its contents, including margins and any buttons. Calculates the preferred size of the cell based on its contents, including margins and any buttons. The context of the canvas. The row index. The column index. The object that holds cell information. Vertical or horizontal The optimal size of the cell. Calculates the preferred size of the cell based on its contents without margins and any buttons. The context of the canvas. The row index. The column index. The object that holds cell information. Graphical bounds The optimal size of the cell. Gets the preferred size to be used for an empty cell. The context of the canvas. The to be used. The of the given string specified with it's font type. Determines whether the cell supports floating over a neighboring cell or can be flooded by a previous cell. The row index. The column index. The object that holds cell information. A value that specifies whether a cell is asked about support for floating over another cell or being flooded by a previous cell. True if floating is possible; False otherwise. Determines whether the cell supports merging of neighboring cells. The row index. The column index. The object that holds cell information. Specifies if rows or columns should be merged. True if merging is possible; False otherwise. Returns the display text of the specified cell. If it is the current cell the active text is returned. The row index. The column index. The object that holds cell information. A with the display text of the specified cell. This is called from GridStyleInfo.GetFormattedText. GridStyleInfo.CultureInfo is used for conversion to string. The object that holds cell information. The value to format. TextInfo is a hint of who is calling, default is GridCellBaseTextInfo.DisplayText. The formatted text for the given value. Parses the display text and converts it into a cell value to be stored in the style object. GridStyleInfo.CultureInfo is used for parsing the string. The object that holds cell information. The input text to be parsed. TextInfo is a hint of who is calling, default is GridCellBaseTextInfo.DisplayText True if value was parsed correctly and saved in style object as ; False otherwise. This is called from GridStyleInfo.GetText (ignoring any settings). CultureInfo.CurrentText is used for conversion to string. The object that holds cell information. The value to convert to a string. The string that represents the given value. Parses the text and converts it into a cell value to be stored in the style object (ignoring any settings). CultureInfo.CurrentText is used for parsing the string. The object that holds cell information. The input text to be parsed. True if value was parsed correctly and saved in style object as ; False otherwise. Changes the active text for the cell model. The row index. The column index. The new text for the cell. This example shows how to set the text in a given cell index. void gridControl1_CellClick(object sender, GridCellClickEventArgs e) { string text="GridControl"; this.gridControl1.CurrentCell.Model.SetActiveText(e.RowIndex, e.ColIndex, text); } Private Sub gridControl1_CellClick(ByVal sender As Object, ByVal e As GridCellClickEventArgs) Dim text As String="Active Text" Me.gridControl1.CurrentCell.Model.SetActiveText(e.RowIndex, e.ColIndex, text) End Sub Recalculates floating cell state and raises the ActiveTextChanged event. A with event data. Reset the active text to its original state. The row index. The column index. Returns GridStyleInfo.PropertyDescriptor. The style object A PropertyDescriptor Returns a TypeConverter with type information about the style.CellValue. The style object A TypeConverter Gets a value indicating whether the object is executing method call. Gets a value indicating whether the object has been disposed. Gets or sets a value indicating whether covered cells need to be drawn passing in the complete coordinates of the covered cell even if parts of the covered cell are above the current view. If you expect your cell type to be used in a scenario where a cell can span over 100s of rows, you should set this property to true and provide an optimized draw routine in the cell renderer that accepts a clipped rectangle. The GridGroupingControls GridNestedTableControl uses this flag to optimize drawing of nested tables. Nested tables are all drawn in a child cell and can span thousands of rows. Instead of calculating the whole rectangle for the nested cell, the grid can pass in just the visible bounds. This improves performance of these nested cells a lot. Gets the name of the cell type. May later be used as key for looking up the cell type. Gets the display name of the cell type. May later be used to display cell in a selection dialog. or property grid. Gets or sets the for this object. You can assign a form a parent form to this property. Gets a description of the cell type. Gets the version information when cell model is deserialized. Gets a reference to the GridModel. Gets or sets the total size of any buttons. Set size.Height to int.MaxValue if button should fill cell and not be vertically aligned with text. Gets or sets the string which is used when doing a resize to fit for cells with empty text. Occurs when active text has been changed. This is a base class for the renderer part of a cell type. A renderer is created for each and . There can be several renderers associated with one if several views display the same . You typically access cell renderers through the property of the class. Releases the all resources used by the component. Releases the all resources used by the component. Checks whether the theme name is VisualStyle based theme. returns true if the BaseThemeName is advanced theme. Lets you customize and redirect mouse wheel behavior to a cell renderer, e.g. if you have a drop-down displayed. Returns true if parent grid should not be scrolled; False if parent grid should scroll. The mouse event arguments. returns False. Returns state information that lets you restore the current editing state (e.g. caret position or other cell-type specific information) at a later point with . A cell-type specific object with editing state information. You need to override this method in a derived cell-type class. Otherwise calling this method will have no effect. This example shows how to get the edit state of the cell. //Scroll position based on the column index. public override object GetEditState() { if (this.gridControl1.CurrentCell.IsEditing) { return new int[] { 0, this.gridControl1[this.gridControl1.CurrentCell.RowIndex,this.gridControl1.CurrentCell.ColIndex].Text.Length }; } return null; } Public Overrides Function GetEditState() As Object If Me.gridControl1.CurrentCell.IsEditing Then Return New Integer(){ 0, Me.gridControl1(Me.gridControl1.CurrentCell.RowIndex, Me.gridControl1.CurrentCell.ColIndex).Text.Length } End If Return Nothing End Function Restores previously retrieved editing state information from a call. The cell-type specific object with editing state information. You need to override this method in a derived cell-type class. Otherwise calling this method will have no effect. Initializes a new instance of the class for the given and The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Returns a that represents the current . A that represents the current . Occurs before the text box contents are deleted when user presses key in cell. True if cell contents can be cleared. Invoked when dispose has been called. The contains cell model. Override this method if you are subscribing to events from a cell model. It is called before the reference to the cell model is reset or when dispose has been called. The GridCellModelBase. Override this method if you are subscribing to events from a cell model. It is called after the reference to the cell model has been initialized. The GridCellModelBase. Override this method if you need to know when reference to cell model is changed. This method is called after the reference to cell model has been changed. Always EventArgs.Empty. Unwire any events subscribed from GridControlBase and releases cell buttons. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Draw inverted rectangle at the given rectangle. The context of the canvas. The Rectangle Bounds. Rectangle to invert. Called from GridCurrentCell.Deactivate after GridCurrentCell.Deactivating event and before the current cell is deactivated. True if renderer can be deactivated; False if deactivation should be aborted. Called from GridCurrentCell.Deactivated after the current cell is deactivated and before the GridCurrentCell.Deactivated event. Called from GridCurrentCell.BeginEdit. Checks if cell renderer support in place editing. If in-place editing is supported, is called which triggers and initiates repainting the cell. In your overridden method, you should then check . Called from GridCurrentCell.EndEdit. If render had focus, is called which triggers and initiates repainting the cell. In your overridden method, you should then check which will return False. Determines if this control contains focus. Override this method if you want to show drop-down windows and indicate the control has not lost focus when the drop-down is shown. True if the control or any child control has focus; False otherwise. If the control supports in-place editing, set internal member and then fire OnHasFocusControlChanged. The boolean value Override this method if your cell renderer supports in-place editing and you want to do any custom initialization at this point before cell gets redrawn. The default behavior of this virtual method is to force a redraw of the current cell. A cell can then initialize an edit control and set focus in the OnDraw method call. This method is called from GridCurrentCell.ConfirmChanges when the current cell was marked as modified. Any drop-downs have been closed at this time. It saves changes for the current cell. True if changes were saved successfully; False if no changes were saved. This is called from GridCurrentCell.RejectChanges. Any drop-downs have been closed at this time. Occurs before the current cell switches into editing mode. True if editing the cell is allowed; false otherwise. The grid will switch into editing mode when the user presses a key while the cell is not in editing mode or when you call . You can cancel the operation by overriding this method and returning false. You can find out about the current cell's position by querying the and properties of the object in . See for a discussion about the order of events you receive when the current cell is moved. Occurs when the grid completes editing mode for the active current cell. The grid raises this event when the objects or method is called. The event occurs after or is raised. You can determine if was called stand-alone or as result of a call by checking the property. You can find out about the current cell's position by querying the and properties of the object in . See for a discussion about the order of events that you receive when the current cell is moved. This method is called from GridCurrentCell.Validate after GridCurrentCell.Validating event has been fired. The default version checks if the active text fits any criteria as specified in the style object: It can be parsed into a cell value and meets GridCellValidateValueInfo criteria. True if the modified text is valid; False otherwise. If you throw an exception in your override, the exception message will be stored in the GridCurrentCell.ErrorMessage string and if specified, a message box will be shown. OnValidate will call ValidateString, which you can also override. This method is called from GridCurrentCell.Validate after the current cell contents were successfully validated and before GridCurrentCell.Validated event is. fired. This is called from GridCurrentCell.Activate after the activating event has been raised and allows interception of cell activation. The row index. The column index. True is cell can be activated; False otherwise. When the current cell is moved from one position to another, Essential Grid will first deactivate the current cell and afterwards activate the current cell at the new position. At the time activate is called, the old current cell is deactivated and Essential Grid has no active current cell. This is called after the activating event and notifies that at this time the current cell has now become the active current cell. Determines if the cell at the specified row and column should be drawn in "editing" mode. The row index. The column index. True if the cell should be drawn in "editing" mode; False otherwise. Determines if the cell at the specified row and column should be drawn "focused". The row index. The column index. True if the cell should be drawn "focused". Raises the GridCurrentCell.CellChanging event indicating the contents of the current cell are about to be changed by the user. True if cell contents can be modified; False if cell contents should not be changed. Call this method from your derived renderer if you support modifying the cell contents the first time before the user edits the cell. Raises the GridCurrentCell.CellChanged event indicating the contents of the current cell have been changed (e.g. in response to a TextBox.Changed event). If you have implemented a custom cell type you should call this method from your derived renderer if you support modifying the cell contents. Raises the GridCurrentCell.ControlDoubleClick event indicating the cell has in-place editing mode and the user double-clicked inside the control associated with the current cell. A reference to the control associated with the current cell. GridCurrentCell.ControlDoubleClick lets you detect a double click inside a cell for any CurrentCellActivateBehavior. If for example the focus is set to the renderers control after the first click, the grid will listen for a MouseDown on the newly focused control and raise this event on a second click. Handles the DoubleClick event of the embedded control and raises the event. The source of the event. Event data. Occurs when the current cell has in-place editing mode and the user double-clicked inside the control associated with the current cell. GridCurrentCell.ControlDoubleClick lets you detect a double click inside a cell for any CurrentCellActivateBehavior. If for example the focus is set to the renderers control after the first click, the grid will listen for a MouseDown on the newly focused control and raise this event on a second click. Raising this event is only optional for the cell renderer that manages the active cell. A text box will usually send this event when the associated control has received the focus after the cell was switched into edit mode and the user double-clicked. Other cell renderers may or may not send this event. Raises the GridCurrentCell.ControlGotFocus event indicating the cell has switched to in-place editing and the control associated with the current cell has received the focus. A reference to the control associated with the current cell. No derived renderer currently calls this method. Raises the GridCurrentCell.ControlLostFocus event indicating the cell has switched to in-place editing and the control associated with the current cell has lost the focus. Control associated with the current cell. No derived renderer currently calls this method. This is called from GridCurrentCell.ShowDropDown after BeginEdit has been called. If your renderer supports dropped-down state, the drop-down window should be made visible at this time. This is called from GridCurrentCell.CloseDropDown. If your renderer supports dropped-down state, the drop-down window should be made closed at this time. Allows custom formatting of a cell by changing its style object. Event data is called from in order to allow custom formatting of a cell by changing its style object. Set the cancel property true if you want to avoid the associated cell renderers object method to be called. Changes made to the style object will not be saved in the grid nor cached. This event is called every time a portion of the grid is repainted and the specified cell belongs to the invalidated region of the window that needs to be redrawn. Changes to the style object done at this time will also not be reflected when accessing cells though the models indexer. See . Do not change base style or cell type at this time. Highlights the current cell by inverting the cells border or drawing a thick border. Points to the device context. Specifies the cell rectangle. Override this method if you don't want the default highlighting of your cell. Invoked when outline of the current cell is drawn. The instance's values to draw the outline. Values to draw the rectangle cell. Indicates that cell window coordinates in the grid view have changed. Cached coordinates need to be recalculated. The source of the event. An that contains event data. Called when the ViewLayout of the parent grid is changed, for example if grid is scrolled or row height is changed. Called when the parent grid of this cell renderer gets the focus. An that contains event data. Called when the parent grid gets focus. An contains the event data. Reset window coordinates (cell bounds) of the cell. Returns a rectangle with cell bounds for the specified cell. For covered cell, the total of all covered cells will be returned. Returns a rectangle with cell bounds for the specified cell. For covered cell, the total of all covered cells will be returned. The row index. The column index. The with the bounds. Returns a rectangle with cell bounds for the specified cell. For covered cell, the total of all covered cells will be returned. The row index. The column index. Specifies if the range covered by a floating cell should be returned The with the bounds. For internal use. Index of the row. Index of the col. if set to true [non client if visible]. returns Rectangle Calculates the CellLayout for a specified cell. Calculates the CellLayout for the specified cell using cell state information as specified in the style object. The row index. The column index. The with layout information. Calculates the CellLayout for the specified cell using cell state information as specified in the style object. The row index. The column index. The object that holds cell information. The with layout information. Calculates the CellLayout for the specified cell using cell state information as specified in the style object. The row index. The column index. The object that holds cell information. The Rectangle. The with layout information. Removes TextMargins from the specified client bounds. The Rectangle The object that holds cell information. A with the bounds. This method is called from PerformLayout to calculate the client rectangle given the inner rectangle of a cell and any boundaries of cell buttons. The row index. The column index. The object that holds cell information. The with the inner bounds of a cell. An array of with bounds for each cell button element. A with the bounds. Draw the contents of the specified cell including cell background and optionally also the borders. Call this method if you want to draw a stand-alone cell and you want to ensure that also the background of the cell and also the borders are painted. Points to the device context. Specifies the cell rectangle. Specifies the row id. Specifies the column id. A reference to the style of the cell. Specifies whether borders should also be drawn or excluded. The method calls DrawBackground to draw the background as specified in the style object. If includeBorders is false the area covered by borders is excluded when the rectangle is passed to the DrawBackground method. Draw the contents of the specified cell. Points to the device context. Specifies the cell rectangle. Specifies the row id. Specifies the column id. A reference to the style of the cell. When drawing cells, it is necessary to determine if the specified cell (with rowIndex and colIndex) is the current cell and if it is active. If your control is associated with a control and supports in-place editing and the specified cell is the current cell, you should position the control. Take a look at the GridTextBoxCellRenderer implementation of this method for an example. Otherwise, you can simply draw the cell. Please note that you should first call DrawBackground to draw the background and borders as specified in the style object. The base-class version of this method first calls PerformLayout and then the cell renderers OnDraw method. After the inner cell has been drawn, it will draw each cell button for the cell. Overriding this method is normally not necessary. In most cases, it is sufficient to override the OnDraw method. Draws the cell button element at the specified row and column index. The to be drawn. The context of the canvas. The row index. The column index. True if this is the active current cell; False otherwise. The object that holds cell information. Draws a button using ; if XP Themes are enabled, button will be drawn themed. Override this method if you want to have buttons with a customized color, e.g. a push button drawn with the back color as specified with the interior property. The to be drawn. The context of the canvas. The with the bounds. A that specifies the current state. The object that holds cell information. This example draws a custom button element background. public static void Draw3dFrame(Graphics g, int x0, int y0, int x1, int y1, int w, Color rgbTopLeft, Color rgbBottomRight) { Rectangle rc; for (int i = 0; i != w; i++) { // Top Brush brTL = new SolidBrush(rgbTopLeft); rc = Rectangle.FromLTRB(x0, y0, x1, y0+1); g.FillRectangle(brTL, rc); // Left rc = Rectangle.FromLTRB(x0, y0, x0+1, y1); g.FillRectangle(brTL, rc); brTL.Dispose(); Brush brBR = new SolidBrush(rgbBottomRight); // Bottom rc = Rectangle.FromLTRB(x0, y1, x1+1, y1+1); g.FillRectangle(brBR, rc); // Right rc = Rectangle.FromLTRB(x1, y0, x1+1, y1); g.FillRectangle(brBR, rc); brBR.Dispose(); if (i != w-1) { x0++; y0++; x1--; y1--; } } } protected override void OnDrawCellButtonBackground(GridCellButton button, Graphics g, Rectangle rect, ButtonState buttonState, GridStyleInfo style) { bool drawPressed = (buttonState & ButtonState.Pushed) != 0; Color hilight = SystemColors.ControlLightLight; Color shadow = SystemColors.ControlDarkDark; if (!drawPressed) { GridPaint.Draw3dFrame(g, rect.Left, rect.Top, rect.Right-1, rect.Bottom-1, 1, hilight, shadow); } else { Brush br = new SolidBrush(shadow); g.FillRectangle(br, Rectangle.FromLTRB(rect.Left, rect.Bottom-1, rect.Right-1, rect.Bottom)); g.FillRectangle(br, Rectangle.FromLTRB(rect.Right-1, rect.Top, rect.Right, rect.Bottom)); br.Dispose(); } } Public Shared Sub Draw3dFrame(g As Graphics, x0 As Integer, y0 As Integer, x1 As Integer, y1 As Integer, w As Integer, rgbTopLeft As Color, rgbBottomRight As Color) Dim rc As Rectangle Dim i As Integer While i <> w ' Top Dim brTL = New SolidBrush(rgbTopLeft) rc = Rectangle.FromLTRB(x0, y0, x1, y0 + 1) g.FillRectangle(brTL, rc) ' Left rc = Rectangle.FromLTRB(x0, y0, x0 + 1, y1) g.FillRectangle(brTL, rc) brTL.Dispose() Dim brBR = New SolidBrush(rgbBottomRight) ' Bottom rc = Rectangle.FromLTRB(x0, y1, x1 + 1, y1 + 1) g.FillRectangle(brBR, rc) ' Right rc = Rectangle.FromLTRB(x1, y0, x1 + 1, y1) g.FillRectangle(brBR, rc) brBR.Dispose() If i <> w - 1 Then x0 += 1 y0 += 1 x1 -= 1 y1 -= 1 End If i += 1 End While End Sub 'Draw3dFrame Protected Overrides Sub OnDrawCellButtonBackground(button As GridCellButton, g As Graphics, rect As Rectangle, buttonState As ButtonState, style As GridStyleInfo) Dim drawPressed As Boolean = (buttonState And ButtonState.Pushed) <> 0 Dim hilight As Color = SystemColors.ControlLightLight Dim shadow As Color = SystemColors.ControlDarkDark If Not drawPressed Then GridPaint.Draw3dFrame(g, rect.Left, rect.Top, rect.Right - 1, rect.Bottom - 1, 1, hilight, shadow) Else Dim br = New SolidBrush(shadow) g.FillRectangle(br, Rectangle.FromLTRB(rect.Left, rect.Bottom - 1, rect.Right - 1, rect.Bottom)) g.FillRectangle(br, Rectangle.FromLTRB(rect.Right - 1, rect.Top, rect.Right, rect.Bottom)) br.Dispose() End If End Sub 'OnDrawCellButtonBackground Determines whether the cell buttons shall be drawn for the specific row and column index. The row index. The column index. The object that holds cell information. returns boolean value to indicate the cell buttons shall be drawn for the specific row and column index. This method is called from the cell renderer's draw method to draw the contents of the client bounds for the cell, e.g. the text for a static cell. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. Specifies the row id. Specifies the column id. A reference to the style object of the cell. When drawing cells, it is necessary to determine if the specified cell (with rowIndex and colIndex) is the current cell and if it is active. If your control is associated with a control and supports in-place editing and the specified cell is the current cell, you should position the control. Take a look at the GridTextBoxCellRenderer implementation of this method for an example. Otherwise, you can simply draw the cell. Adds a to the cell renderers list of cell buttons. The to add. Removes a GridCellButton from the cell renderer's list of cell buttons. The to remove. Returns a reference to the GridCellButton at the specified index. The index of the . The at the index. Checks if the background for a cell needs drawing and optionally calls and also draws the frame for the cell as specified in the style object. The context of the canvas. The Rectangle The object that holds cell information. True if background needs to be redrawn. The method will call for covered cells and bannered cells. For regular cells, you can force to be called by assigning BrushInfo.Empty to the property of a . You can do this in , for example. Otherwise will not be called for regular cells because of internal drawing optimizations within the grid. By default the grid optimizes drawing such that the background of neighboring cells with the same color is drawn in one operation. After the background of a cell has been drawn (either by a call to or because of earlier drawing inside the grid) the cells frame is drawn as specified with by calling . Called to draw / erase the background for a cell. A that contains the event data. This method is called for covered cells and bannered cells. For regular cells, you can force to be called by assigning BrushInfo.Empty to the property of a . You can do this for example in . Otherwise will not be called for regular cells because of internal drawing optimizations within the grid. By default the grid optimizes drawing such that the background of neighboring cells with the same color is drawn in one operation. The method will also not be called if you handle the event of and set e.Cancel = true. The default version of this method fills the entire background as specified with and also draws the image specified with . Draw BackgroundImage in client area Graphics client area Cell style Clipped Draws the frame for the cells appearance (sunken or raised). The context of the canvas. The with the bounds. The object that holds cell information. If you want to draw custom borders around a cell, be sure to reserve space for the extra area occupied by your borders. See . Checks if this is a header cell that should indicate current cell position. The row index. The column index. The object that holds cell information. True if header shall be outlined; False otherwise. Sets a reference to the associated control. The to be associated with. Wires the events. Unwire the events. Handles the LostFocus event of the embedded control and raises the event. The source of the event. An that contains event data. Handles the GotFocus event of the embedded control and raises the event. The source of the event. An that contains event data. Called right after ControlText was set. The ControlText Resets the ControlText to its original state. Forces the to reflect current control contents. Call this method if you want to know the value that will be saved in if user would accept current cells contents. This method requires that contains most recent value. Override this method and derived cell renderers if you need to get the text from the embedded control. TextBoxCellRenderer does for example get the value from instead. Sets the cell value for the current cell and optionally initializes the ControlText based on the value. The cell value. True if InitializeControlText should be called. Initializes based on the specified cell value. The cell value. See the of the class. The default behavior of this method is to call of the object and then raise a event. The user can catch the event and change the property of the object. Resets the cell value of the current cell to its original state. Returns . Display text. Returns . Cell value. Initializes the intrinsic state of the control for the current cell. Specifies the row id. Specifies the column id. Initializes the intrinsic state (e.g., row, column, style) of the control for the current cell. This method is called when the current cell has moved. The operations that follow all depend on the intrinsic state of the control. Initialize calculates the cell layout (inner, client rectangle bounds) and then calls OnInitialize. This method gets called from the cell renderer's initialize method. Override this method if you need to any initialization for the current cell. The row index. The column index. Determines whether this cell type serves as current cell or if the current cell is at the specified row and column id. The row index. The column index. True if control is used as current cell; False if control is not current cell. Determines whether this cell type serves as current cell or if the current cell is at the specified row and column id. The row index. The column index. True if control is used as current cell; False if control is not current cell. If there is a control associated with the cell type (for in-place editing), override this method to hide the control. Determines if there is a control associated with the cell type (for in-place editing) and if it is visible. True if it is visible; False otherwise. Calls protected virtual method. The with data of the keyboard event. True if key was handled; False otherwise. This is called from GridControlBase.ProcessKeyEventArgs and allows your customized cell renderer to process keyboard events before the GridControlBase gets the actual KeyDown / KeyUp event. The with data of the keyboard event. True if key was handled; False otherwise. Calls OnKeyDown. A with data of the keyboard event. Calls OnKeyPress. A with data of the keyboard event. Raises the event when user pressed key down (similar to Control.OnKeyDown). A with data of the keyboard event. Raises the event when user released key (similar to Control.OnKeyUp). A with data of the keyboard event. Raises the event when user pressed key (similar to Control.OnKeyPress). A with data of the keyboard event. Called when user initiates a clipboard copy and the grid has a current cell but no range is selected. True if successful; False if failed. Copy() performs the following tasks: a) Copy selected text as formatted in the cell. b) Only if cell is inactive copy the GridStyleInfo info for the cell. Called when user initiates a clipboard paste and the grid has a current cell but no range is selected. True if successful; False if failed. Called when user initiates a clipboard cut and the grid has a current cell but no range is selected. True if successful; False if failed. Determines whether current cell can be copied to clipboard. True if copy is supported; otherwise False. Determines whether current cell can be cut to clipboard. True if cut is supported; otherwise False. Determines whether current cell can be pasted from clipboard. True if paste is supported; otherwise False. Searches the specified text and optionally moves the current cell to the cell if the text was found. The text to be searched. The row index. The column index. Search criteria. True if current cell should be moved after text was found. True if text was found; False otherwise. Get the text of particular cell style of the cell GridFindTextOptions Text Searches the specified text and optionally moves the current cell to the cell if the text was found. The text to be searched. The replace text. The row index. The column index. Search criteria. True if current cell should be moved after text was found. True if text was found; False otherwise. Replaces the selected text in the current cell. The string to replace the current selected text. Return the selected text in the current cell. The resulting string with the selected text True if successful; False if failed. Called from OnVScroll, OnHScroll before grid is scrolled. The Message Will deactivate the current cell when the user scrolls to the right and the current cell is a floating or covered cell which spans the freeze columns / row line. Also, any dropped-down windows will be closed. Returns whether the current cell is Read-only. True if Read-only; False otherwise. Called from OnValidate and checks whether the specified text is valid. Text to be validated. True if text if valid; False otherwise. This also works for limiting the keyboard input, e.g. only digits. Called after the user pressed a key and before it is accepted. Don't allow "-" to be typed. public override bool ValidateString(string text) { TraceUtil.TraceCurrentMethodInfoIf(Switches.CellRenderer.TraceVerbose, text); if (text.IndexOf("-") != -1) return false; return true; } This is called from GridClickCellsMouseController or GridSelectCellsMouseController. Checks if the mouse is over a cell button element and if the cell is click-able. The row index. The column index. A with data about the mouse event. The current controller requested to handle this mouse event. Non-zero hit context value if you request to handle the mouse event; zero if you vote not to handle the mouse event. Override OnHitTest in your derived cell renderer if you want to catch mouse events. Determines the cell information when cell has clicked. Row index of the current cell. Column index of the current cell. An that contains event data. An used with This method is called to determine whether the cell renderer wants to receive mouse events for the give cell at the given coordinates. The row index. The column index. A with data about the mouse event. The current controller requested to handle this mouse event. Non-zero hit context value if you request to handle the mouse event; zero if you vote not to handle the mouse event. Override this method and return GridHitTestContext.Cell (or any other non-zero value) to force mouse messages (OnMouseDown, OnMouseHover, OnMouseUp) being called for the cell renderer. This is called from GridClickCellsMouseController or GridSelectCellsMouseController. Returns the cursor to be displayed at the given row or column. The row index. The column index. returns Cursor Override this method if you want to change the cursor for this cell. The row index. The column index. The to be displayed. This is called from GridClickCellsMouseController or GridSelectCellsMouseController when HitTest has indicated it wants to receive mouse events and the user has moved the mouse into the cell. The row index of the current cell. The column index of the current cell. See also MouseHoverLeave. This is called from GridClickCellsMouseController or GridSelectCellsMouseController when your cell renderer has indicated in its OnHitTest override that it wants to receive mouse events and the user has moved the mouse into the cell. The row index of current cell. The column index of current cell. See also OnMouseHoverLeave. Raises a event and initiates a call to the virtual method. The row index. The column index. A with event data. This is called from GridClickCellsMouseController or GridSelectCellsMouseController when your cell renderer has indicated in its OnHitTest override that it wants to receive mouse events and the user is moving the mouse over the cell. The row index. The column index. A with event data. OnMouseHover will only be called after OnMouseHoveEnter. When the user moves the mouse out of the MouseHoverLeave is called. Raises a event and initiates a call to the virtual method. The row index. The column index. An with event data. This is called from GridClickCellsMouseController or GridSelectCellsMouseController when your cell renderer has indicated in its OnHitTest override that it wants to receive mouse events and the user is moving the mouse out of the cell. The row index. The column index. An with event data. Once OnMouseHoveEnter has been called you are guaranteed to receive a OnMouseHoverLeave call either if the user moves the mouse of the cell boundaries or presses a button or if the mouse operation is canceled. Raises a event and initiates a call to the virtual method. The row index. The column index. A with event data. This is called from GridClickCellsMouseController or GridSelectCellsMouseController when your cell renderer has indicated in its OnHitTest override that it wants to receive mouse events and the user has pressed a mouse button. The row index. The column index. A with event data. Handles the Control.MouseDown event of the attached cell control. Source of the event. The MouseEventArgs with mouse position relative to top-left corner of cell. Raises a event and initiates a call to the virtual method. The row index. The column index. A with event data. This is called from GridClickCellsMouseController or GridSelectCellsMouseController when your cell renderer has indicated in its OnHitTest override that it wants to receive mouse events and the user has pressed a mouse button and is moving the mouse pointer. The row index. The column index. A with event data. RaiseMouseUp will save the RaiseHitTest return value here. OnMouseUp will check this and only raise CellClick when no cell button was clicked. Raises a event and initiates a call to the virtual method. The row index. The column index. A with event data. Checks if the specified point is over an image (see ) . The row index. The column index. The point to be tested. True if inside image; False otherwise. This is called from GridClickCellsMouseController or GridSelectCellsMouseController when your cell renderer has indicated in its OnHitTest override that it wants to receive mouse events and the user has pressed a mouse button and is releasing the button. The row index. The column index. A with event data. Raises a event and initiates a call to the virtual method. The row index. The column index. This is called from GridClickCellsMouseController or GridSelectCellsMouseController when your cell renderer has indicated in its OnHitTest override that it wants to receive mouse events and the mouse operation is canceled. The row index. The column index. Raises a event and initiates a call to the virtual method. The row index. The column index. A with data about the mouse event. This is called from GridSelectCellsMouseController when the user clicked inside a cell. The row index. The column index. A with data about the mouse event. Raises a event and initiates a call to the virtual method. The row index. The column index. A with data about the mouse event. This is called from GridSelectCellsMouseController when the user double-clicks inside a cell. The row index. The column index. A with data about the mouse event. This method is called when the user clicks a cell button inside cell. The row index. The column index. The button In your overridden version of this method, you can activate the current cell for the given row and column index and then drop-down a list. Creates a and associates it with the cell's parent grid. The container where you can insert child controls to be displayed as drop-down part for your cell. Ensures the container is valid and initialized. Called to initialize contents of the drop-down container for the first time. Will be called to indicate that the popup child was closed in the specified mode. The child that was closed. A value. Will be called to indicate that the popup child was closed. The child that was closed. The event data with a value. Occurs after the popup has been dropped-down and made visible. The source of the event. Event data. Occurs when the drop-down container is about to be shown. The source of the event. Event data. Raises the for the parent grid. The suggested size of the drop-down. True if drop-down should be shown; False if operation should be canceled. Raises the for the parent grid. Called to find out whether a specified control is part of the popup hierarchy. A control instance. True indicates this query should be passed to the IPopupParent, if any; False indicates you should not query the popup parent. True if the control is part of the popup hierarchy; False if not. Called from GridCurrentCell.ScrollInView to determine if cell should be scrolled into view when GridCurrentCell.ScrollInView is called. The reason for scrolling current cell into view. True if cell supports scrolling into view. Returns a nested current cell if this cell type hosts a GridControl by itself (for example GridNestedTableControlCellRenderer with a GridGroupingControl overrides this method). A nested current cell object. Called to determine whether the cell needs to be repainted when it becomes the active current cell. True if cell needs to be repainted; False otherwise. Gets or sets the ThemeProvider for grid. Gets the scale factor based on current DPI. Gets a value indicating whether object is executing method call. Returns true if object is executing method call. Gets a value indicating whether object has been disposed. Gets or sets a helper object for drop-down cell functionality. Gets or sets a reference to the GridCellModelBase that this cell renderer is associated with. Gets a reference to GridCurrentCell implementation of the GridControlBase this cell renderer is associated with. Gets a value indicating whether was called. Gets or sets a value indicating whether the cell renderer supports in-place editing with focus Gets or sets a value indicating whether the cell renderer supports being switched into edit mode. Default is true, only for GridStaticCellRenderer and GridHeaderCellRenderer it is false. Gets a value indicating whether the cell renderer has the focus (is in-place edit mode). Gets a value indicating whether BeginEdit has been called. Gets a value indicating whether the current cell is in a dropped-down state. Gets the Array list values. Gets a reference to the associated control. If no control is associated with the cell type, NULL will be returned. Reference to the associated control. Can be NULL. Gets a value indicating whether ControlText setter was called. True when ControlText setter was called. Gets or sets the active text that is displayed for the current cell, e.g. TextBox.Text. Gets or sets a value indicating whether last OnSetControl TextFailed. For internal use. GridComboBoxCellRenderer.OnSetControlText sets this LastOnSetControlTextFailed = true if (TextBoxText != text) after calling base.OnSetControlText(text); // Sets TextBoxText. In that case ControlText will revert back any changes. Fix for the issue with canceling the Changing event in combo-boxes. Gets a value indicating whether ControlText for the current cell has been set. Gets a value indicating whether the ControlValue setter was called. True if ControlValue setter was called. Gets or sets the cell value for the current cell. Gets a value indicating whether method was called. True when method was called. Gets a value indicating whether the cell value for the current cell has been changed. Gets a value indicating whether is in initialize method. True while in initialize method. Gets or sets the current view style of the current cell. Gets the current view style for the current cell. Gets a value indicating whether this cell type serves as current cell or if the current cell is at the specified row and column id. True if control is used as current cell; False if control is not current cell. Gets a reference to the parent grid. Gets a reference to the style object associated with the current cell. Gets or sets a value indicating whether your control needs to be refreshed when it becomes the current cell in the grid. If you set this attribute to be true, some grid internal optimizations with outlining the current cell are turned off. These optimizations assume that the style of a cell does not change when it has become the current cell. If your control's appearance depends on whether it is a current cell or not, you should set this attribute True ( default is False). For example, if you have a password control which should be drawn with plain text only when it is the current cell, you may set the ForceRefreshOnActivateCell attribute of the specific control to be true. Gets or sets the row id of the current cell. This value is only valid if GridControlBase::Init has been called and an intrinsic state is initialized; if the control is currently not used as current cell, the value is undetermined. Gets or sets the column id of the current cell. This value is only valid if GridControlBase::Init has been called and intrinsic state is initialized; if the control is currently not used as current cell, the value is undetermined. Gets or sets the cached Environment.TickCount of the last MouseDown event. Gets or sets the cached mouse position of the last MouseDown event. Gets or sets a value indicating whether the mouse was over an image (see ) in static cell when the mouse was released. Gets or sets a value indicating whether a CellClick event should always be raised. If this property is false, it depends on if is raised. Gets or sets the that provides drop-down logic for this renderer. Gets or sets the drop-down button. Gets a value indicates whether control's elements should be rendered right-to-left. Gets the container where you can insert child controls to be displayed as drop-down part for your cell. Implements the data / model part of a column or row header. You typically access cell models through the property of the class. A can serve as a model for several instances if there are several views for a . See for more detailed information about this cell type. Defines the data / model part of a static cell. A static cell is also a base class for many other cell types that display text. You typically access cell models through the property of the class. A can serve as model for several instances if a there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the cell model. A SerializationInfo object containing the information required to serialize the cell model. A StreamingContext object containing the source and destination of the serialized stream. Creates a renderer for this cell model. The grid control. Cell renderer. Calculates the preferred size of the cell based on its contents without margins and any buttons. The context of the canvas. The row index. The column index. The object that holds cell information. Graphical bounds The optimal size of the cell. Determines whether the cell supports merging of neighboring cells. The row index. The column index. The object that holds cell information. Specifies if rows or columns should be merged. True if merging is possible; False otherwise. Determines whether the cell supports floating over a neighboring cell or can be flooded by a previous cell. The row index. The column index. The object that holds cell information. A value that specifies whether a cell is asked about support for floating over another cell or being flooded by a previous cell. True if floating is possible; False otherwise. Gets or sets a value indicating whether this cell type supports being floated or flooded. Gets or sets a value indicating whether this cell type supports being merged. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a renderer for this cell model. The grid control. Cell renderer. Implements the renderer as part of a column or row header. There can be several renderers associated with one if several views display the same. . The header cell is XP Themes enabled. It will be drawn themed if is true. The following table lists some characteristics about the header cell type. Item Description CellType Header Renderer Model XP Themes Support Yes Interactive Click Only Floating Support No Base Type The cell's behavior and appearance can be customized with the following properties of the class. PropertyName Description () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () When set to , the header will be drawn with slightly raised edges typical for cell headers. If the grid is XP Themes enabled, the headers will be drawn with XP Themes look. If you specify Sunken or Raised, the header will be drawn with sunken or raised edges and not XP Themed. (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () Header (Default: TextBox) () If empty, the standard header text will be drawn as specified with the and properties in . If is not NULL, the cell value will be displayed as header text. (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: null) () The culture information holds rules for parsing and formatting the cell's value. (Default: null) () Specifies if the header cell can be activated as current cell when the user clicks onto the header. Usually you do not want a header to be activated as current cell unless you want to have editing capabilities such as allowing user to rename header text in place. (You would have to implement a custom header cell for this.) (Default: true) () Holds error information if a value can not be converted to the specified with . (Default: String.Empty) () The font for drawing text. (Default: GridFontInfo.Default) () Gets / sets the format mask for formatting the cell value. You can specify numeric format strings, date format strings, or enumeration format strings as discussed in the section "Format Specifiers and Format Providers" of the .NET Framework Developers Guide (see ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconformatspecifiersformatproviders.htm) (Default: String.Empty) () Specifies horizontal alignment of text in the cell. (Default: GridHorizontalAlignment.Left) () Specifies how hot-key prefixes should be displayed. Hot-keys are indicated in text with an '&' (ampersand). When you enable hot-key prefix, the specific characters can be displayed underlined or regular. The '&' will not be displayed. (Default: HotkeyPrefix.Show) () Specifies an index for a image in the of a instance. (Default: -1) () The that holds a collection of images. Cells can choose images with the property in a instance. (Default: null) () Lets you specify a solid backcolor, gradient, or pattern style with both back and forecolor for a cell's background. If grid is XP Themes enabled, this color will be ignored and the header will be drawn with default XP Themes header background. (Default: SystemColors.Window) () Specifies merge behavior for a individual cell when merging cells feature has been enabled in a with . (Default: GridMergeCellDirection.None) () If empty, the standard header text will be drawn as specified with the and properties in . If is not NULL, the cell value will be displayed as header text. (Default: String.Empty) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the client rectangle of the cell without borders and cell buttons. (Default: GridMarginsInfo.Default) () Specifies if cell should be drawn using Windows XP themes when has been set. (Default: true) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Specifies vertical alignment of text in the cell. (Default: GridVerticalAlignment.Top) () Specifies if text should be wrapped when it does not fit into a single line. (Default: true) Defines the renderer part of a static cell. A static cell renderer is also a base class for many other cell types and provides the inactive cell rendering for cell types that support editing (such as a text box or combo box). A renderer is created for each and . There can be several renderers associated with one if several views display the same . The following table lists some characteristics about the Static cell type. Item Description CellType Static Renderer Model XP Themes Support NA Interactive Click Only Floating Support Both Base Type The cell's behavior and appearance can be customized with the following properties of the class. PropertyName Description () Gets / sets the image that the cell displays as background. (Default: NULL) () Indicates how the background image is displayed. (Default: GridBackgroundImageMode) () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () Static. (Default: TextBox) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: null) () The culture information holds rules for parsing and formatting the cells value. (Default: null) () Specifies if the cell can be activated as current cell or if the cell should be skipped when moving the current cell. (Default: true) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () Gets / sets if text can float into the boundaries of a neighboring cell. (Default: true) () Gets / sets if this cell can be flooded by a previous cell. (Default: true) () The font for drawing text. (Default: GridFontInfo.Default) () Gets / sets the format mask for formatting the cell value. You can specify numeric format strings, date format strings, or enumeration format strings as discussed in the section "Format Specifiers and Format Providers" of the .NET Framework Developers Guide (see ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconformatspecifiersformatproviders.htm) (Default: String.Empty) () Specifies horizontal alignment of text in the cell. (Default: GridHorizontalAlignment.Left) () Specifies how hot-key prefixes should be displayed. Hot-keys are indicated in text with an '&' (ampersand). When you enable hot-key prefix, the specific characters can be displayed underlined or regular. The '&' will not be displayed. (Default: HotkeyPrefix.Show) () Specifies an index for an image in the of a instance. (Default: -1) () The that holds a collection of images. Cells can choose images with the property in a instance. (Default: NULL) () Lets you specify a solid backcolor, gradient, or pattern style with both back and forecolor for a cell's background. (Default: SystemColors.Window) () Specifies merge behavior for an individual cell when merging cells feature has been enabled in a with . (Default: GridMergeCellDirection.None) () Specifies if cell contents can be modified by the user. You can programatically change Read-only cells by setting to True. (Default: False) () Gets / sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using any information. (Default: String.Empty) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the client rectangle of the cell without borders and cell buttons. (Default: GridMarginsInfo.Default) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Holds validation rules for the cell values that are being checked before any user changes are committed to the grid cell's style object. (Default: NULL) () Specifies vertical alignment of text in the cell. (Default: GridVerticalAlignment.Top) () Specifies if text should be wrapped when it does not fit into a single line. (Default: true) Initializes a new instance of the class for the given and . The that display this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. This method is called from the cell renderer's draw method to draw the contents of the client bounds for the cell, e.g. the text for a static cell. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. Specifies the row id. Specifies the column id. The object holds the style information of a cell. Allows single cell copy for static cells.. Allows single cell cut for static cells.. Removes TextMargins from the specified client bounds. The Rectangle The object that holds cell information. A with the bounds. Draws an image at a given position in an ImageList onto the canvas at a specified . Draws an image at a given position in an ImageList onto the canvas at a specified . Points to the device context. The image list. The image index in the image list. The target rectangle where the image should be drawn. Indicates if grid is in RightToLeft mode. The bounds of the rectangle. Might differ if it was vertically centered. Draws an image at a given position in an ImageList onto the canvas at a specified . Points to the device context. The image list. The image index in the image list. The target rectangle where the image should be drawn. The target rectangle where the image should be clipped. Indicates if grid is in RightToLeft mode. The bounds of the rectangle. Might differ if it was vertically centered. Draws an image at a given position in an ImageList onto the canvas at a specified . Points to the device context. The image list. The image index in the image list. The target rectangle where the image should be drawn. The bounds of the rectangle. Might differ if it was vertically centered. Draws a text at a given position onto the canvas at a specified . Draws a text at a given position onto the canvas at a specified . Points to the device context. The display text. The font value. The text rectangle. Cell information with alignment, trimming, and HotkeyPrefix information. The text color. Indicates if grid is in RightToLeft mode. Draws a text at a given position onto the canvas at a specified and draws text optionally disabled. Points to the device context. The display text. The font value. The text rectangle. Cell information with alignment, trimming, and HotkeyPrefix information. The text color. True if text should be drawn disabled. Indicates if grid is in RightToLeft mode. Measures the Height and width of the text. The Input Text Font style of the Text Alignment Settings of the text The Angle of Rotation of the Text Vertical Resolution of the Text Draws the text at the specified angle. Graphical Parameter THe text to be rotated The font Style of the text The brush used to draw the text The text rectangle the format that holds different alignment settings The angle at which the text is rotated Used to store all the information of the cell Draws a text at a given position onto the canvas at a specified . Points to the device context. The display text. The font value. The text rectangle. Cell information with alignment, trimming, and HotkeyPrefix information. The text color. UseGdiPlusRightAlignedTextWorkaround implements a work-around for a GDI+ known issue with right-aligned text and DrawString. When you have cells with right-aligned text, some words are not aligned at the right border as you would expect. This is because of GDI+ designed behavior, and the degree of the problem varies from font to font. You can see this behavior for example with regular System.Windows.Forms.Label controls. Since Essential Grid relies on GDI+, it exhibits the same behavior. Besides using a Monospaced Font, some work around include using either antialiased string drawing or explicitly measuring the string width and not relying on DrawString to draw the text right-aligned. When you enable UseGdiPlusRightAlignedTextWorkaround, the static cell renderer will use the measure string width workaround. However, this will slow down drawing of right-aligned text. returns Measure Display String Width Checks if the specified point is over an image (see ) . The row index. The column index. The point to be tested. True if inside image; False otherwise. Initializes a new GridHeaderCellRenderer object for the given and . The that display this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Sets up mouse event hooks with the grid. Resets up mouse event hooks with the grid. Disposes the unmanaged resources. This method is called to determine whether the cell renderer wants to receive mouse events for the give cell at the given coordinates. The row index. The column index. A with data about the mouse event. The current controller requested to handle this mouse event. Non-zero hit context value if you request to handle the mouse event; zero if you vote not to handle the mouse event. Raises the event. Row index of current cell. Column index of current cell. An that contains event data. Raises the event. Row index of current cell. Column index of current cell. An that contains event data. Raises the event. Row index of current cell. Column index of current cell. An that contains event data. Raises the event. Row index of current cell. Column index of current cell. An that contains event data. Draw the Header cell. Points to the device context. A has location and size of the header cell. Current column index. Current row index. Grid view style information. Draws Metro header skins A object. A object that represents the drawing area. The current state of the header. Draws Metro header skins for CaptionRowHeader A object. A object that represents the drawing area. The current state of the header. Allows custom formatting of a cell by changing its style object. Event data. This method is called from to draw the face text of the header cell after its background has been drawn. Points to the device context. Specifies the text rectangle. It is the cell rectangle without buttons, borders, or text margins. Specifies the row id. Specifies the column id. A reference to the style object of the cell. To measure the display text. Points to the device context. Header text. Specifies the text rectangle. It is the cell rectangle without buttons, borders, or text margins. Font style of display text. Returns the text to be displayed in header cell. Draw the outline border for header cells. Points to the device context. Size of the header cell rectangle. Used internally. Initializes the new instance of class. Used internally. Used internally. Defines the scaling of images in a cell. Don't scale. Center in cell. Make same size as cell but keep height / width ratio proportionally. Make same size as cell. Implements the data / model part for an image cell. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Creates a renderer for this cell model. The grid control. Cell renderer. Calculates the preferred size of the cell based on its contents without margins and any buttons. The context of the canvas. The row index. The column index. The object that holds cell information. Graphical bounds The optimal size of the cell. Implements the renderer part of an image cell. There can be several renderers associated with one if several views display the same . Initializes a new instance of the class for the given instance of the class. and an instance of class. The that display this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Draw the image in a cell. Implements the data / model part for an original text box entry cell. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Implements the data / model part for a text box cell. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a renderer for this cell model. The grid control. Cell renderer. Return formatted text for the specified value. GridStyleInfo.CultureInfo is used for conversion to string. Cell style information. The value to format. TextInfo is a hint of who is calling, default is GridCellBaseTextInfo.DisplayText. Formatted text. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Implements the ISerializable interface and returns the data needed to serialize the cell model. A SerializationInfo object containing the information required to serialize the cell model. A StreamingContext object containing the source and destination of the serialized stream. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a renderer for this cell model. The grid control. Cell renderer. Implements the renderer part of a text box cell. Use "OriginalTextBox" as identifier in of a cells to associate this cell type with a cell. The "OriginalTextBox" cell type supports password entry and upper/lower case data entry. See the and properties of the class. The following table lists some characteristics about the OriginalTextBox cell type: Item Description CellType OriginalTextBox Renderer Model XP Themes Support NA Interactive Edit with Text Input Control Floating Support Both Base Type The cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () Gets / sets if pressing the <Enter>-Key should insert a new line into the edited text. (Default: False) () Gets / sets if the cell height should automatically increase when the edited text does not fit into the cell and is True. If is False, will affect the column width. (Default: False) () Gets / sets the image that the cells display as background. (Default: NULL) () Indicates how the background image is displayed. (Default: GridBackgroundImageMode) () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () OriginalTextBox (Default: Text Box) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () Specifies if cell control modifies the case of characters as they are typed when the cell's is "OriginalTextBox". (Default: CharacterCasing.Normal) () The culture information holds rules for parsing and formatting the cell's value. (Default: NULL) () Specifies if the cell can be activated as current cell or if the cell should be skipped when moving the current cell. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () Gets / sets if text can float into the boundaries of a neighboring cell. (Default: True) () Gets / sets if this cell can be flooded by a previous cell. (Default: True) () The font for drawing text. (Default: GridFontInfo.Default) () Gets / sets the format mask for formatting the cell value. You can specify numeric format strings, date format strings, or enumeration format strings as discussed in the section "Format Specifiers and Format Providers" of the .NET Framework Developers Guide (see ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconformatspecifiersformatproviders.htm) (Default: String.Empty) () Specifies horizontal alignment of text in the cell. (Default: GridHorizontalAlignment.Left) () Specifies how hot-key prefixes should be displayed. Hot-keys are indicated in text with an '&' (ampersand). When you enable hot-key prefix, the specific characters can be displayed underlined or regular. The '&' will not be displayed. (Default: HotkeyPrefix.Show) () Specifies an index for an image in the of a instance. (Default: -1) () The that holds a collection of images. Cells can choose images with the property in a instance. (Default: NULL) () Lets you specify a solid backcolor, gradient, or pattern style with both back and forecolor for a cell's background. (Default: SystemColors.Window) () Limits the number of characters the user can type into the cell. Note: When selecting a text from a choice list or when pasting text, the text can be longer. Additional validation is necessary on your side. (Default: 0) () Specifies merge behavior for an individual cell when merging cells features have been enabled in a with . (Default: GridMergeCellDirection.None) () The character used to mask characters of a password in a password-entry cell. The cells must be "OriginalTextBox". (Default: Blank) () Specifies if cell contents can be modified by the user. You can programatically change Read-only cells by setting to True. (Default: False) () Indicates whether an exception should be thrown in the method if the formatted text can not be parsed and converted to the type specified with . (Default: True) () Gets / sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using any information. (Default: String.Empty) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the client rectangle of the cell without borders and cell buttons. (Default: GridMarginsInfo.Default) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Holds validation rules for the cell values that are being checked before any user changes are committed to the grid cell's style object. (Default: NULL) () Specifies vertical alignment of text in the cell. (Default: GridVerticalAlignment.Top) () Specifies if the text box should show a vertical scrollbar when text is being edited and does not fit in cell. WrapText must be initialized to True. (Default: False) () Specifies if text should be wrapped when it does not fit into a single line. (Default: True) The following code samples show how to apply PasswordChar and CharacterCasing form.Text = "Password Cells"; gridControl1.BeginUpdate(); gridControl1.TableStyle.FloatCell = true; gridControl1.FloatCellsMode = GridFloatCellsMode.OnDemandCalculation; gridControl1.TableStyle.BackColor = Color.FromArgb(204, 212, 230); gridControl1.TableStyle.CellType = "OriginalTextBox"; GridStyleInfo style; for (int row = 2; row != 10; row++) { style = gridControl1[row, 2]; style.PasswordChar = '*'; style.Text = new string((char) (65 + row), row); style = gridControl1[row, 3]; style.CharacterCasing = CharacterCasing.Lower; style.Text = new string((char) (65 + row), row); style = gridControl1[row, 4]; style.CharacterCasing = CharacterCasing.Upper; style.Text = new string((char) (65 + row), row); } gridControl1.EndUpdate(true); form.Text = "Password Cells" gridControl1.BeginUpdate() gridControl1.TableStyle.FloatCell = True gridControl1.FloatCellsMode = GridFloatCellsMode.OnDemandCalculation gridControl1.TableStyle.BackColor = Color.FromArgb(204, 212, 230) gridControl1.TableStyle.CellType = "OriginalTextBox" Dim style As GridStyleInfo Dim row As Integer For row = 2 To 10 style = gridControl1(row, 2) style.PasswordChar = "*"c style.Text = New String(ChrW(65 + row), row) style = gridControl1(row, 3) style.CharacterCasing = CharacterCasing.Lower style.Text = New String(ChrW(65 + row), row) style = gridControl1(row, 4) style.CharacterCasing = CharacterCasing.Upper style.Text = New String(ChrW(65 + row), row) Next row gridControl1.EndUpdate(True) Implements the renderer part of a text box cell. Use "text box" as identifier in of a cells to associate this cell type with a cell. A renderer is created for each and . There can be several renderers associated with one if several views display the same . The following table lists some characteristics about the text box cell type. Item Description CellType Text Box Renderer Model XP Themes Support NA Interactive Edit with Text Input Control Floating Support Both Base Type The cell's behavior and appearance can be customized with the following properties of the class. PropertyName Description () Gets / sets if pressing the <Enter>-Key should insert a new line into the edited text. (Default: False) () Gets / sets if the cell height should automatically increase when the edited text does not fit into the cell and is True. If is False, will affect the column width. (Default: False) () Gets / sets the image that the cell displays as background. (Default: null) () Indicates how the background image is displayed. (Default: GridBackgroundImageMode) () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () Text Box (Default: Text Box) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () The culture information holds rules for parsing and formatting the cells value. (Default: NULL) () Specifies if the cell can be activated as current cell or if the cell should be skipped when moving the current cell. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () Gets / sets if text can float into the boundaries of a neighboring cell. (Default: True) () Gets / sets if this cell can be flooded by a previous cell. (Default: True) () The font for drawing text. (Default: GridFontInfo.Default) () Gets / sets the format mask for formatting the cell value. You can specify numeric format strings, date format strings, or enumeration format strings as discussed in the section "Format Specifiers and Format Providers" of the .NET Framework Developers Guide (see ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconformatspecifiersformatproviders.htm) (Default: String.Empty) () Specifies horizontal alignment of text in the cell. (Default: GridHorizontalAlignment.Left) () Specifies how hot-key prefixes should be displayed. Hot-keys are indicated in text with an '&' (ampersand). When you enable hot-key prefix, the specific characters can be displayed underlined or regular. The '&' will not be displayed. (Default: HotkeyPrefix.Show) () Specifies an index for an image in the of a instance. (Default: -1) () The that holds a collection of images. Cells can choose images with the property in a instance. (Default: NULL) () Lets you specify a solid back color, gradient, or pattern style with both back and fore color for a cell's background. (Default: SystemColors.Window) () Limits the number of characters the user can type into the cell. Note: When selecting text from list or when pasting text, the text can be longer. Additional validation is necessary on your side. (Default: 0) () Specifies merge behavior for an individual cell when merging cells feature has been enabled in a with . (Default: GridMergeCellDirection.None) () Specifies if cell contents can be modified by the user. You can programatically change Read-only cells by setting to True. (Default: False) () Indicates whether an exception should be thrown in the method if the formatted text can not be parsed or converted to the type specified with (Default: true) () Gets / sets the value as a string. If a is specified, the text will be parsed or converted to the type specified with using any information. (Default: String.Empty) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell this specifies the empty area between the text rectangle and the client rectangle of the cell without borders and cell buttons. (Default: GridMarginsInfo.Default) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Holds validation rules for the cell value that are being checked before any user changes are committed to the grid cell's style object. (Default: NULL) () Specifies vertical alignment of text in the cell. (Default: GridVerticalAlignment.Top) () Specifies if text box should show a vertical scrollbar when text is being edited and does not fit in cell. WrapText must be initialized to true. (Default: false) () Specifies if text should be wrapped when it does not fit into a single line. (Default: True) Returns the state information that lets you restore the current edit state. State information. Restores previously retrieved editing state information from a GetEditState call. The cell-type specific object with the edit state information. Initializes a new instance of the class, for the given and . The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Wires the event. Unwires the event. Invoked when textbox's text has changed. The source of the event. An that contains event data. Disposes the unmanaged resources. Creates the text box that is shown in-place in the cell when the user starts editing the cell. Returns the new instance of the . Invoked when textbox's text changed. the Source of the event. An that contains event data. Occurs when the event of the is raised. The source of the event. An that contains event data. Sets the control text. Handles the event of the text box and raise a event. The source of the event. An that contains event data. Handles the event of the text box and raises a event. The source of the event. An that contains event data. Called from Initialize after currentRowIndex, inInitialize are set and PerformLayout finished. Specifies the row id. Specifies the column id. Calls on the Raises the GridCurrentCell.CellChanged event indicating the contents of the current cell have been changed (e.g. in response to a TextBox.Changed event). Calls and ensures that event is ignored for the current renderer. Only other renderers in other grid views will handle the event. The text to be set. Gets the selected text in the current cell. A string with the selected text. True if the operation is successful. Replaces the selected text in the current cell. String to replace the current selected text. This method is called from the cell renderer's draw method to draw the contents of the client bounds for the cell, e.g. the text for a static cell. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. Specifies the row id. Specifies the column id. The object holds the style information of a cell. Called when the user clicked inside a cell. The row index. The column index. A with data about the mouse event. Called when the user double-clicks inside a cell. The row index. The column index. A with data about the mouse event. Define this method if your cell renderer supports in-place editing and you want to do any custom initialization at this point before cell gets redrawn. Raises the event when user pressed key. A with data of the keyboard event. Sets the TextBox.Text of the text box and optionally validates the string with a call. The text to be displayed. Indicates if should be called. True if text was valid and could be copied to the text box. The method will also raises a cancelable event if the text was not modified. Sets the TextBox.SelectedText of the text box and optionally validates the string with a call. The text that should replace the current selected text in the text box. Indicates if should be called. True if text was valid and could be copied to the text box. The method raises a event after the text was modified. Note: This is a low-level method. The method does not raise and also does not check if the current cell is already in editing mode. Raises the event when user pressed key down. An that contains event data. Determines whether current cell can be copied to clipboard. Returns True. Called when user initiates a clipboard copy and works with a single cell only. True if the operation is successful. Called when user initiates a clipboard paste and works only with a single cell. True if the operation is successful. Determines whether the current cell can be pasted from clipboard. True if it is allowed. Determines whether the current cell can be cut to clipboard. True if this operation is allowed. Called when user initiates a clipboard cut and works with a single cell only. True if the operation is successful. Used internally. Used internally. Used internally. Used internally. Gets the text box that is shown in-place in the cell when the user starts editing the cell. Gets or sets a value indicating whether TextBoxChanged events should be ignored. Gets or sets a value indicating whether a call to SetControlValue should be made when is called. Gets a value indicating whether InNotifyCurrentCellChangedException. Internal only. true if [in notify current cell changed exception]; otherwise, false. Gets a value indicating whether InSetTextBoxTextCore. Internal only. true if [in set text box text core]; otherwise, false. Gets or sets the TextBoxTextCore. Internal only. The text box text core. Gets or sets the current text in the . When you change this text, the setter of this property will ensure the cell is not Read-only, raise a change the text and after successful change, raise a event and force a refresh of the cell. Gets or sets a value indicating whether the text box should be hidden. This is useful for derived cell renderers that want to be able to switch between a edit-mode and static mode, e.g. a drop-down list does not need to have text input capabilities. When disabled, you can still call to change the text for the active cell. In this case TextBoxText will save the text in a member variable and simply draw the text by itself. Initializes a new GridOriginalTextBoxCellRenderer object for the given GridControlBase and GridCellModelBase. The that display this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase and GridCellModelBase will be saved. Creates the text box that is shown in-place in the cell when the user starts editing the cell. Returns the new instance of the . Calls the base method to draw the Textbox. Points to the device context. Size of the textbox cell. Column index of current cell. Row index of current cell. The object that holds cell information. Gets or sets the active text that is displayed for the current cell. Implements the data / model part of a push button cell. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a renderer for this cell model. The grid control. Cell renderer. Calculates the preferred size of the cell based on its contents without margins and any buttons. The context of the canvas. The row index. The column index. The object that holds cell information. Graphical bounds The optimal size of the cell. Implements the renderer part of a push button cell. The push button cell is XP Themes enabled. It will be drawn themed if is true. A renderer is created for each and . There can be several renderers associated with one if several views display the same . The following table lists some characteristics about the PushButton cell type. Item Description CellType PushButton Renderer Model XP Themes Support Yes Cell Button Interactive Click Only Floating Support No Base Type The cell's behavior and appearance can be customized with the following properties of the class. PropertyName Description () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () PushButton. (Default: TextBox) () Specifies if the button can be clicked with the mouse. See how to disable activating the cell as current cell. (Default: true) () Gets or sets the text that is shown in the button. (Default: String.Empty) () Specifies if the cell can be activated as current cell or if cell should be skipped when moving the current cell. When disabled, the button will be drawn grayed out. (Default: true) () The font for drawing text. (Default: GridFontInfo.Default) () Specifies how hot-key prefixes should be displayed. Hot-keys are indicated in text with an '&' (ampersand). When you enable hot-key prefix, the specific characters can be displayed underlined or regular. The '&' will not be displayed. (Default: HotkeyPrefix.Show) () The PushButton usually fills the whole cell area. Therefore the background is only visible if you programatically force the button to be smaller. (Default: SystemColors.Window) () Specifies if cell should be drawn using Windows XP themes when has been set. (Default: true) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Specifies if text should be wrapped when it does not fit into a single line. (Default: true) Pushbutton fills the whole cell's client area with . This button can be customized. Initializes a new GridPushButtonCellRenderer object for the given GridControlBase and GridCellModelBase. The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Initializes a new GridPushButtonCellRenderer object for the given GridControlBase and GridCellModelBase. The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. The button to be drawn in the cell. References to GridControlBase, and GridCellModelBase will be saved. This method is called from PerformLayout to calculate the client rectangle given the inner rectangle of a cell and any boundaries of cell buttons. The row index. The column index. The object that holds cell information. The with the inner bounds of a cell. An array of with bounds for each cell button element. A with the bounds. Determines whether the cell buttons shall be drawn for the specific row and column index. The row index. The column index. The object that holds cell information. Returns Boolean value to indicate the cell buttons shall be drawn for the specific row and column index. Returns true. Raises the event. Raises the event when user pressed key down. An that contains event data. Raises the event when user released key. An that contains event data. Raises event when the user presses the PushButton. Specifies the row id. Specifies the column id. This Class saves Hit-Test information for cell renderers and cell button elements. Initializes an empty object. Performs a copy and returns the new object. A copy of the current object. Returns a that represents the current . A that represents the current . Gets or sets the mouse coordinates. Gets or sets the row index. Gets or sets the column index. Gets or sets the . Gets or sets the cell boundaries. Gets or sets the affected . Gets or sets the boundaries of the . Gets or sets the index of the in the . Represents a collection of objects in the view. On the , you access the through the property. The uses standard and methods to manipulate the collection. Use the Contains method to determine if a specific cell type exists in the collection. A base class for objects that are associated with the instance of class. Initializes a new instance of the class and associates it with a grid. The grid control this object is associated with. Gets the grid control this object is associated with. Initializes a new instance of the class and associates it with the . The object holds the grid control. Disposes the unmanaged resources. True to release both managed and unmanaged resources; false to release only unmanaged resources. See the documentation for the class and its member. Called when the event is triggered. The source of the event. An that contains event data. Returns an enumerator that can iterate through the cell grid dictionary. An that can iterate through the string dictionary. Removes the entry with the specified key from the cell grid dictionary. The key of the entry to remove. Copies the cell grid dictionary values to a one-dimensional instance at the specified index. The one-dimensional that is the destination of the values copied from the . The index in the array where copying begins. Determines if the contains a specific value. The value to locate in the . if the contains an element with the specified value; otherwise, . Determines if the contains a specific key. The key to locate in the . if the contains an entry with the specified key; otherwise, . Removes all entries from the . Adds cell grid with the specified key into the . The key of the entry to add. The cell grid of the entry to add. Gets a collection of values in the . Gets an object that can be used to synchronize access to the . Gets a collection of keys in the . Gets or Sets the for the given key. Gets a value indicating whether access to the is synchronized (thread-safe). Gets the number of key-and-value pairs in the . Provides the Ole Drag Drop events raised by objects. Occurs when a drag-and-drop operation is completed and before event is raised. containing data related to this event Occurs when an object is dragged into the control's bounds and before event is raised. containing data related to this event Occurs when an object is dragged out of the control's bounds and before event is raised. containing data related to this event Occurs when an object is dragged over the control's bounds and before event is raised. containing data related to this event Provides the events raised by objects. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . Occurs when is called on . See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. Implements a grid control that displays a grid model. implements a view on a . Several views can be opened for the same model. Changes in are reflected immediately among all views. The provides storage for all data and settings associated with the grid. The implements user interaction and display of the data. is a user control that is derived from . It lets the user scrolls through grid data with mouse or keyboard. The grid displays a large number of cells where each cell can have its own unique formatting and cell type. also offers a wide range of events that let you customize the default behavior of the grid at run-time. Implements a grid control that displays a grid model. Provides functionality to an object to return a list that can . Gets a reference to a . Provides support for hosting a windowless grid control. Such windowless controls are used inside GridGroupingControl for nested tables. Returns the actual parent that has a window handle. A parent control with window handle. Returns the visible bounds of the parent control. A rectangle with coordinates of the parent control. Provides support for using the grid control as a windowless control. Such windowless controls are used inside GridGroupingControl for nested tables. A windowless control has no window handle. It only forwards paint and other window operations to the parent control. The parent control will forward mouse and keyboard messages to the windowless control. Gets or sets a value indicating whether the control is used in windowless mode. Gets or sets the parent control that implements IGridWindowlessSite. Used to determine whether the bubble is enabled or not. Used to determine the touch panning operation occurs or not. Used to save the touch precision. Comment tip window that is used to display the comment text. Stores the comment arrow location to invalidate on occurs. Determines if property is modified. Returns Boolean value to indicate serialize SortIconPlacement. Resets the property to default value. Raises the event. A that contains the event data. Checks for this.RightToLeft == RightToLeft.Yes; True if text is drawn from right to left. Raises the event. A that contains the event data. The current difference between the left column's pixel offset and the current scroll position. Difference between left column's pixel offset and current scroll position. Sets the current scroll position for pixel scrolling and scrolls the grid The new horizontal pixel scroll position. The left most scroll position for pixel scrolling. Left most scroll position. Raises the event. An that contains the event data. Raises the event. An that contains the event data. Raises the event. An that contains the event data. Raises the event. An that contains the event data. Gets the total width of the grid for pixel scrolling. Total grid width. Scrolls the left and / or right bounds of the rectangle into view. Bounded rectangle. True if scrolling is successful; False otherwise. Sets the value to vPixelScroll. Gets the current offset in pixel for the top most row. The number of pixels the top most row is above the view area. Sets the current absolute vertical pixel scroll position without raising events and without updating the display. The new vertical pixel scroll position. Sets the current absolute horizontal pixel position without raising events and without updating the display. The new horizontal pixel scroll position. Sets the current absolute vertical pixel scroll position raising events and scrolling the display. The new vertical pixel scroll position. Gets the smallest value possible for vertical pixel scroll position (will be assigned to VScrollBar.Minimum). The smallest value possible for vertical pixel scroll position. Returns the absolute vertical pixel scroll position for a specific row. The row index. The absolute vertical pixel scroll position of the row. Gets the total height of all rows in the grid. The total height of all rows in the grid. Determines the row index that is located at a specified vertical pixel scroll position. The absolute vertical pixel scroll position. Returns the resulting rowIndex. Returns the number of pixels the top most row is above the view area for the pixelPos scroll position. Scrolls the specified rectangle into view. The coordinates to be scrolled into view. The rectangle coordinates are client coordinates of the window. The rectangle coordinates can be negative if the coordinates are above the current viewing area. True if grid was scrolled; False if rectangle bounds were already inside visible area. Initializes a new instance of the class. Initializes a new instance of the class. Initializes a new instance of the class and attaches it to an instance of the class. The this control is associated with. Lets you change . The window style. The new value. Returns a string holding the current object details. String representation of the current object. Returns the Background color to be drawn after the last cell (default is Model.Properties.BackgroundColor) A Background Color Returns the VisualStyles (Model.Options.GridVisualStyles) Returns GridVisualStyles Returns the IVisualStyleDrawing (Model.Options.GridVisualStylesDrawing) IVisualStyleDrawing object. Determines if property is modified. Returns a Boolean value indicating to serialize the Cursor. Resets the property to default value. Gets a back color, replaces SystemColors.Window with the of this control. The original color. The resulting color. Gets a , replaces SystemColors.Window with the of this control. The original . The resulting . Gets a fore color, replaces SystemColors.WindowText with the of this control. The original color. The resulting color. Boolean variable setting whether the alignment in grid should be similar to Excel Raises the event. An EventArgs that contains the event data. The OnThemeChanged method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Notes to Inheritors: When overriding OnThemeChanged in a derived class, be sure to call the base class's OnThemeChanged method so that registered delegates receive the event. Raises the event. A that contains the event data. Resets the property. Raises the event. A that contains the event data. Method used internally by nested table control to copy LeftColIndex, TopRowIndex and Bounds to PrintInfo. Method used internally by nested table control to restore GridBounds after printing. Raises the event. A that contains the event data. Used internally. Returns Boolean value to indicate Serialize VScroll Behavior Used internally. Returns Boolean value to indicate Serialize HScroll Behavior. When DPI is greater than 100 then the DefaultRowHeight will be set based on the font size. The Height Value Raises the event. A that contains the event data. Resets BackgroundImageID state. Overridden to set the background image for the grid. The contains the event data. Initializes all mouse controllers for this grid. See for default mouse controllers that you can enable and disable through the of the property. Controllers will be added and removed from . Resets all mouse controllers and removes them from the . Initializes all data object consumers for this grid. See for default consumers that you can enable and disable through the property of the property. Controllers will be registered with by . Overridden and calls when the control is added to the parent forms collection. Sets up listeners for the and initializes mouse controllers and data object consumers. Releases listeners for the . Raises the event. An that contains the event data. Disposes the unmanaged resources. Raises the event. An that contains the event data. Creates a new and attaches it to the same . A parent control. Can be a . The row in a . The column in a . A new instance of . This virtual method is called after successfully created a new control and lets you initialize properties for the new control before it is displayed. The new grid control. The splitter row. The splitter column. Initialize the Splitter for the Grid. Initializes the control after it has been added to the parent's collection. Creates a object for this control and raises a event. The graphics object must be disposed after usage. A object. Raises a event. This example shows how to create the graphics object for the grid control. //Creates the Graphics for the control. Graphics graphics = this.gridControl1.CreateGridGraphics(); 'Creates the Graphics for the control. Dim graphics As Graphics = Me.gridControl1.CreateGridGraphics() Scrolls the contents of the control. Horizontal scroll offset in pixels.. Vertical scroll offset in pixels. Scroll bounds. Clipping rectangle. If true, redraws the invalidated regions within its client area. Resultant rectangle that was scrolled into view. Handles a event from the and redraws the current view. The source of the event. An with event data. Handles a event from the and invalidates the range of cells in the current view. The source of the event. An with event data. Converts the given range from absolute row and column indexes to client row and column indexes. The to be converted. A with client row and column indexes. Initiates call to . An that contain the event data. Initiates call to . An that contain the event data. Raises the event. An that contains the event data. Raises the event. An that contains the event data. Initiates call to . An that contains event data. Initiates call to . An that contains event data. Raises the event. An that contains the event data. Raises the event. An that contains the event data. compare the grid client size to change the column width with new column width allow resizing to fit. Column Index new column with column width before change the size of column returns true value. Set the column width when AllowProportionalColumnSizing is enable Raises the event. An that contains the event data. Initiates call to . An that contains event data. Raises the event. An that contains the event data. Raises the event. An that contains event data. Raises the event. An that contains event data. Raises the event. An that contains event data. Raises the event. An that contains event data. Used internally. Used internally. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Updates scrollbars with current scroll position and scroll range. Hides or enables scrollbars as specified with and . might also scroll your grid if has been specified for the or . Used internally. Raises the event. An that contains event data. Raises the event. An that contains event data. Raises the event. An that contains event data. Raises the event which allows changing view-specific settings for the cells style object before the cell is displayed in the grid (except cell type and base style). These changes will not be cached and saved in the grid. The row index. The column index. The object that holds cell information. Queries cell information that includes custom formatting based on the current view state. The custom formatting is determined by raising event. Queries cell information that includes custom formatting based on the current view state. The custom formatting is determined by raising the event. The row index. The column index. The object that holds cell information. This example shows how to get the view style of a cell. void gridControl1_CellClick(object sender, GridCellClickEventArgs e) { GridStyleInfo style; style = this.gridControl1.GetViewStyleInfo(e.RowIndex,e.ColIndex); } Private Sub gridControl1_CellClick(ByVal sender As Object, ByVal e As GridCellClickEventArgs) Dim style As GridStyleInfo style = Me.gridControl1.GetViewStyleInfo(e.RowIndex,e.ColIndex) End Sub By default, the grid will make a copy of any style object before painting and call the PrepareViewStyleInfo event. Changes made to the style object will then be discarded after the painting. Same with DrawCell and other events. Having a copy of the style allows you to change the style object just for drawing purposes. If you do not have any need for this and want to increase scrolling performance of the grid, try setting this property false. But be aware this is only experimental for now ... Just experimental, don't use this .... Optionally don't use GetViewStyleInfo if SupportsPrepareViewStyleInfo is not set. Index of the row. Index of the col. if set to true [force query cell info]. returns GridStyleInfo Dispose the view style. The object holds the view style information. Releases all resources used by . Queries cell information that includes custom formatting based on the current view state. The custom formatting is determined by raising event. The row index. The column index. For the QueryCellInfo to be called and not cache style objects. The object that holds cell information. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Draws the error icon in the current cell if the current cell has an error. A that contains the event data. The margin value is to set the text within that cell area. The Bitmap image name. This image will be drawn as error icon. The icon painter to draw the error icon. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Initiates call to . The event arguments Initiates call to . The event arguments. Raises the event. A that contains the event data. Initiates call to . The event arguments Raises the event. A that contains the event data. Initiates call to . The event arguments. Raises the event. A that contains the event data. Initiates call to . The event arguments Raises the event. A that contains the event data. Shows the CommentTipWidnow on the given point. The control that need to display the CommentTipWindow. The location need to be display the CommentTipWindow. The object of the cell. Gets the location of the to display. The row index of the cell. The column index of the cell. The of the comment tip cell. Returns the point that need to display the comment tip window. Draws the arrow indicator to the comment tip window. That is used to draw the comment arrow. The starting position of the comment pointer. The style of the current cell. Clears the comment arrow indicator. The control which is used to draw the Comment Arrow. Raises the event. A that contains the event data. Initiates call to . The event arguments Call this method to draw a single cell to a graphics object at the specified rectangle. The method does not clip the output. Be aware that if pixel scrolling is enabled the caller needs to use clipping if this cell is at the top row or left column and only partially visible. The context of the canvas. The row index. The column index. Specifies the cell rectangle. Please note that rectItem only is the visible bounds of cell. The object that holds cell information. Forces the background should be drawn. Specifies whether the borders should also be drawn or excluded. You should override instead. The context of the canvas. The row index. The column index. The with the bounds. The object that holds cell information. Occurs when the grid drawing engine wants to invert a cell when it belongs to a selected range. The context of the canvas. The row index. The column index. Specifies the cell rectangle. Please note that rectItem only is the visible bounds of cell. True if method was called from within for this control. Used internally. Draws the grid to the specified canvas and using the grid boundaries specified with . Draws the grid to the specified canvas and using the grid boundaries specified with . The context of the canvas. Draws the grid to the specified canvas and using the grid boundaries specified with . The context of the canvas. Specifies if clipping region should be saved and restored after the grid is drawn. Draws the grid to the specified canvas and using the grid boundaries specified with . The context of the canvas. The target bounds (client coordinates of the control) where the grid should be drawn. Specifies whether the current cell should be drawn and outlined; if False current cell is drawn just like any other regular cell. Draws the grid to the specified canvas and specified boundaries. The context of the canvas. The target area the grid should be drawn to. Indicates if current cell shoud be outlined. Specifies if clipping region should be saved and restored after the grid was drawn. Draws the portion of the grid within the clipBounds to the specified canvas. Draws the portion of the grid within the clipBounds to the specified canvas. Clipping will automatically occur when the grid was horizontally scrolled and the first column is only partially or when the grid was vertically scrolled and the first row is only partially visible. The context of the canvas. The target area the grid should be drawn to. Use this method if you want to increase performance when you have frequent Invalidate(Rectangle) and Update() calls. This sample below lets you draw changes cells directly to graphics context instead of using the conventional Invalidate / Update approach. bool drawDirectToDC = true; Graphics g = null; if (drawDirectToDC) g = m_syncGrid.CreateGridGraphics(); // Clear our volatile cache m_syncGrid.ResetVolatileData(); // Handle case when values is change for current cell. if (g1 == m_syncGrid.CurrentCell.RangeInfo) { m_syncGrid.CurrentCell.Model.ResetActiveText(row, col); continue; } // Draw direct to dc if (drawDirectToDC) { Rectangle bounds = m_syncGrid.RangeInfoToRectangle(g1); if (!bounds.IsEmpty) { // Instead of if (false) { // Draw each cell individually to graphics context GridStyleInfo style = this.m_syncGrid.Model[row, col]; GridCellRendererBase renderer = this.m_syncGrid.CellRenderers[style.CellType]; // Get client rectangle bounds = style.CellModel.SubtractBorders(bounds, style, this.m_syncGrid.IsRightToLeft()); // Draw cell Background Syncfusion.Drawing.BrushPaint.FillRectangle(g, bounds, style.Interior); // Draw cell text renderer.Draw(g, bounds, row, col, style); } else { // DrawClippedGrid method lets you simply draw the cells at the specified bounds directly to the graphics context. // less code than drawing each cell individually .... m_syncGrid.DrawClippedGrid(g, bounds); } } else { // Use more conventional Invalidate / Update mechanism. m_syncGrid.RefreshRange(GridRangeInfo.Cell(row, col); } if (g != null) g.Dispose(); Draws the portion of the grid within the clipBounds to the specified canvas. The context of the canvas. The target area the grid should be drawn to. Whether or not the clipBounds is taken into account. Switches the grid into a special mode in which you can call its method to draw its contents at a different screen location and with different size than the current visible grid. You must call to switch the grid back to normal operational mode. The parent control with a window handle. The new location and bounds of the grid. True if current cell should be outlined in a subsequent DrawGrid call; False if it should not be drawn. Switches the grid back into a normal operation mode after a call. Occurs when the grid drawing engine wants to draw borders for a covered cell. The context of the canvas. Specifies the cell rectangle. The object that holds cell information. Inverts a given area on the specified canvas. The context of the canvas. A to invert. Used to fill the rectangle Represents the GDI+ surfaces Used to represent the location and size of the rectangle Outlines the row and column header for the current cell. The row index of the current cell. The column index of the current cell. The direction the current cell moved. Occurs when the grid drawing engine wants to draw the specified range of visible cells that need repainting. The top client row. The left client column. The bottom client row. The right client column. The context of the canvas. The client rectangle with the clipping bounds. The row and index positions are relative to the top and left column. and let you convert client row and column positions into absolute row and column indexes. Raises the event. Used internally. Shoulds the activate current cell in enter. returns boolean value to indicate Should ActivateCurrentCell InEnter Used internally. Index of the row. Index of the col. true if [is visible cell] [the specified row index]; otherwise, false. Used internally. Used internally. Used internally. Used internally. Shoulds the deactivate current cell. returns boolean value Shoulds the activate current cell. returns boolean value Indicates whether this control contains focus. True if it contains the focus. This is called from after the grid has checked that Validating events should be passed on and not ignored. The event data. Raises the event. A that contains the event data. Initiates call to . The event arguments. If the grid is used inside a dynamic splitter control, this method gives you access to the sibling grid control in another pane of the same splitter control. The row of the current control in the splitter control. The column of the current control in the splitter control. A reference to the in the sibling pane. If the grid is used inside a dynamic splitter control, this method gives you access to the sibling grid control in another pane of the same splitter control. The row of the current control in the splitter control. The column of the current control in the splitter control. A reference to the in the sibling pane. Initiates call to . True if the call is initiated. Initiates call to . Initiates call to . The event arguments. True if the method call is initiated. Raises the event. A that contains the event data. Initiates call to . The event arguments. True if the method call is initiated. Raises the event. A that contains the event data. Raises the method. The holds the grid control. Initiates call to . The row index. The column index. The button index. The button. True if operation should continue; False if it should be canceled. Raises the event. A that contains the event data. Raises the event. An that contains the event data. Initiates call to . An that contains the event data. Raises the event. A that contains the event data. Initiates call to . An that contains the event data. Raises the event. A that contains the event data. Initiates call to . An that contains the event data. Raises the event. A that contains the event data. Initiates call to . The event arguments. Called from the PreProcessMessage method of the control associated with the current cell. Returns true if the message was handled and the control should not process the message any further. The message. True if the message was handled and should not be processed by the control. Called from the WndProc method of the control associated with the current cell. Returns true if the message was handled and the control should not process the message any further. The message. True if the message was handled and should not be processed by the control. Enables support for MFC and ActiveX Containers and lets you specify the return value when the grid or any of its child controls receive a WM_GETDLGCODE message. When using the grid in MFC applications or in an ActiveX host this value lets you change the default behavior of Tab and Arrows keys. In this scenarios it is recommended to set the value to be DLGC_WANTALLKEYS (= 4). Set this value to -1 if the WM_GETDLGCODE message should not be handled. -1 is the default setting for this property. The specified return value when the grid receives a WM_GETDLGCODE message. Raises the event. A that contains the event data. Initiates call to . An that contains event data. Raises the event. A that contains the event data. Initiates call to . A that contains the event data. Raises the event. A that contains the event data. Initiates call to . A that contains the event data. Raises the event. A that contains the event data. Displays the at mouse hover on the comment tip cell. An that contains the event data. Initiates call to . A that contains the event data. Raises the event. A that contains the event data. Initiates call to . A that contains the event data. Raises the event. A that contains the event data. Initiates call to . A that contains the event data. Raises the event. A that contains the event data. Initiates call to . A that contains the event data. Raises the event. A that contains the event data. Initiates call to . A that contains the event data. Raises the event. A that contains the event data. Initiates call to . A that contains the event data. Raises the event. An that contains event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to and thus raises the event. The row index of the current cell. The column index of the current cell. Raises the cancelable event. A that contains the event data. Triggers a call to and thus raises the event. Triggers a call to and thus raises the event. The row index of the current cell. The column index of the current cell. The MouseEventArgs for this event. Indicates if the mouse was over an image (see ) in static cell when the mouse was released. True if operation should continue with default behavior; False if not. Triggers a call to and thus raises the event. The row index. The column index. An that contains event data. True if operation should continue with default behavior; False if not. Raises the cancelable event. A that contains the event data. Triggers a call to and thus raises the event. The row index. The column index. An that contains event data. True if operation should continue with default behavior; False if not. Raises the cancelable event. A that contains the event data. Triggers a call to and thus raises the event. Triggers a call to and thus raises the event. The row index. The column index. An that contains event data. Indicates if the mouse was over an image (see ) in a static cell when the mouse was released. True if operation should continue with default behavior; False if not. Triggers a call to and thus raises the event. The row index. The column index. The MouseEventArgs for this event. True if operation should continue with default behavior; False if not. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. An That contains the event data. Raises the event. A with data of the keyboard event. Raises the event. A with data of the keyboard event. Called from OnValidate and checks whether the specified text is valid and raises the event. The event data with text to be validated. /// True if text if valid; False otherwise. This also works for limiting the keyboard input, e.g. only digits. Called after the user presses a key and before it is accepted. Don't allow "-" to be typed. public override void OnCurrentCellValidateString(GridCurrentCellValidateStringEventArgs e) { TraceUtil.TraceCurrentMethodInfoIf(Switches.CellRenderer.TraceVerbose, e); if (e.Text.IndexOf("-") != -1) e.Cancel = true; base.OnCurrentCellValidateString(e); } Raises the event. A that contains the event data. This method is called from GridCellRendererBase.NotifyCurrentCellChanged. The default implementation of this virtual method raises the GridCurrentCell.CellChanged event indicating the contents of the current cell have been changed (e.g. in response to a TextBox.Changed event). If you have implemented custom behavior which alters the content of the grid and current cell after a CurrentCellChanging event and you do not want a CurrentCellChanged event to be raised you can override this method and thereby avoid the event being raised. Raises the event. A that contains the event data. Raises the event. An that contains the event data. Raises the cancelable event. An that contains the event data. Raises the event. An that contains the event data. Raises the cancelable event. An that contains the event data. Raises the event. An that contains the event data. Raises the event. An that contains the event data. Raises the event. An that contains the event data. Raises the event. A that contains the event data. Raises the event. An that contains the event data. Raises the event. An that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Determines the next position for the current cell for a given direction. Normally, cells that are not marked as enabled with will be skipped but you can hook into this mechanism by implementing an event handler for . The that specifies the direction of the current cell movement. The row index. The column index. True if an enabled cell was found; False otherwise. This method will raise the event. In your event handler, you can call from your QueryNextMoveCell event handler to find out about the next enabled cell and then decide on further criteria if the suggested cell is good. See the SampleGrid class in the grid pad sample for an example. Raises the event. A that contains the event data. Initiates calls to event. A that contains the event data. Raises the event. A that contains the event data. Replaces the internal GridCurrentCell object. This method is used by GridGroupingControl's GridNestedTableControl where one grid control is shared among multiple nested tables and these tables need to maintain their own current cell state. The current cell object. Determines if the current cell is shown at the specified row. Cell renderers call this virtual function to determine if a cell button should be shown when is specified. The row index to be checked. True if this row belongs the current row. The GridDataBoundGrid overrides this method and checks whether the specified row belongs to the current record. This is not necessarily the same row since with a data bound grid, a record can show values in several rows (Quicken-like display). Processes a dialog character. The character to process. true if the character was processed by the control; otherwise, false. Execute the latest command from the Undo stack. Returns the GridCurrentCell object. The . Override this method to customize the processing of a tab key to move control focus. True if the next Control in the Tab Order is to get focus. False if the previous Control should receive focus. True if Tab key has been handled. Processes the dialog key. The key code. Return boolean value Determines whether the specified key is a regular input key or a special key that requires preprocessing. One of the values. true if the specified key is a regular input key; otherwise, false. Determines if a character is an input character that the control recognizes. The character to test. true if the character should be sent directly to the control and not preprocessed; otherwise, false. Processes a key message and generates the appropriate control events. A , passed by reference, that represents the window message to process. true if the message was processed by the control; otherwise, false. Processes a command key. One of the values. A , passed by reference, that represents the window message to process. When the user presses Delete the current cell renderer checks this method whether it should handle the Delete key or if Delete key should get passed onto grid. Method returns true if CurrentCell Renderer should handle Delete key, optionally raising a CurrentCellDeleting event. It returns false if grid should handle the key, possibly raising a ClearingCells event True if CurrentCell Renderer should handle Delete key, optionally raising a CurrentCellDeleting event; false if grid should handle the key, possibly raising a ClearingCells event. Raises the event. An that contains the event data. Raises the event. An that contains the event data. Raises the event. An that contains the event data. Preprocesses keyboard or input messages within the message loop before they are dispatched. A to process. True if preprocessed. Previews a keyboard message. A , passed by reference, that represents the window message to process. true if the message was processed by the control; otherwise, false. Processes a keyboard message. A , passed by reference, that represents the window message to process. true if the message was processed by the control; otherwise, false. Initiates calls to update the scrollbars with current scroll position. The source of the event. An that contains the event data. Initiates calls to suspend the painting of the control until the method is called. The source of the event. An that contains the event data. Initiates calls to Resumes the painting of the control suspended by calling the BeginUpdate method. The source of the event. An that contains the event data. Suspends the painting of the control until the method is called. Suspends the painting of the control until the method is called. Specifies the painting support during the BeginUpdate, EndUpdate batch. When many paint are made to the appearance of a control, you should invoke the BeginUpdate method to temporarily freeze the drawing of the control. This results in less distraction to the user, and a performance gain. After all updates have been made, invoke the EndUpdate method to resume drawing of the control. Pass BeginUpdateOptions if you do not want to do a complete Refresh of the control and instead want to have certain regions of your control be invalidated or scroll the contents of control. If you call BeginUpdate() and then later EndUpdate(), the control will know if a paint is pending and only refresh the control if a paint is pending. Either call to ShouldPrepareUpdate, Invalidate or a WM_PAINT message during the BeginUpdate EndUpdate block will signal the control that a paint is pending. Suspends the painting of the control until the method is called. Specifies the painting support during the BeginUpdate, EndUpdate batch. Specifies if this BeginUpdate call was triggered by a call to the of the . Resumes the painting of the control suspended by calling the BeginUpdate method. Resumes the painting of the control suspended by calling the BeginUpdate method. True if pending paint operations should be executed immediately; False if they should be discarded. When many paint are made to the appearance of a control, you should invoke the BeginUpdate method to temporarily freeze the drawing of the control. This results in less distraction to the user, and a performance gain. After all updates have been made, invoke the EndUpdate method to resume drawing of the control. Causes the control to redraw the invalidated regions within its client area. Resumes the painting of the control suspended by calling the BeginUpdate method. True if pending paint operations should be executed immediately; False if they should be discarded. Specified if this EndUpdate call was triggered by a call to the of the Raises the event. An that contains the event data. Calculates a range of cells that is displayed at the specified area. Calculates a range of cells that is displayed at the specified area. A that specifies the area. A with cells that are displayed at the given area. If no cells are found, is returned. The is given in client coordinates. Points that fall below the last visible row or column will return the index of the last visible row or column. Calculates a range of cells that is displayed at the specified area. A that specifies the area. Defines out of range behavior. A with cells that are displayed at the given area. If no cells are found, is returned. The is given in client coordinates. Points that fall below the last visible row or right of the last column will be adjusted as defined in the fixOutOfRange parameter. Use -1 if should be returned. Use 0 if the index of the last visible row or column should be used. Use 1 if the index of the last visible row or column should be used but 1 should be added. Calculates the cell that is displayed at a specific point. Calculates the cell that is displayed at a specific point. The in client coordinates. A with the cell that is displayed at the point. If no cell is found, is returned. The is given in client coordinates. Points that fall below the last visible row or column will return the index of the last visible row or column. Calculates the row and column index for a cell that is displayed at a specific point. Calculates the row and column index for a cell that is displayed at a specific point. The in client coordinates. The row index. The column index. True if cell is found; False otherwise. The is given in client coordinates. Points that fall below the last visible row or column will return the index of the last visible row or column. Calculates the row and column index for a cell that is displayed at a specific point. The in client coordinates. The row index. The column index. Defines out of range behavior. True if cell is found; False otherwise. The is given in client coordinates. Points that below the last visible row or right of the last column will be adjusted as defined in the fixOutOfRange parameter. Use -1 if should be returned. Use 0 if the index of the last visible row or column should be used. Use 1 if the index of the last visible row or column should be used but 1 should be added. Calculates the cell that is displayed at a specific point. The in client coordinates. Defines out of range behavior. A with the cell that is displayed at the point. If no cell is found, is returned. The is given in client coordinates. Points that fall below the last visible row or right of the last column will be adjusted as defined in the fixOutOfRange parameter. Use -1 if should be returned. Use 0 if the index of the last visible row or column should be used. Use 1 if the index of the last visible row or column should be used but 1 should be added. Calculates the display area for a given range of cells. Calculates the display area for a given range of cells. The with the range of cells. A that spans the range of visible cells. If no cells in the given range are visible, is returned. If there are covered cells or floating cells, they will treated as regular cells. The range is not enlarged to fit these spanned cells. Calculates the display area for a given range of cells. The with the range of cells. A value specifies how to handle spanned cells and also how to handle ranges that are outside the current visible area. A spans the range of visible cells. If no cells in the given range are visible, is returned. If there are covered cells or floating cells, they will be treated as specified with the "options" parameter: ItemsDescriptions None Use range as specified. MergeCoveredCells Enlarge range with any covered cells that intersect with the original range. MergeFloatedCells Enlarge range with any floating cells that intersect with the original range. MergeMergedCells Enlarge range with any merged cells that intersect with the original range. MergeAllSpannedCells Enlarge range with any merged cells (not implemented, reserved for future use) that intersect with the original range. CalculateNonClientArea Included are outside of the current visible grid view. Otherwise will ignore cells that are not visible. Gets the current cell state which is in scroll_outof_view. Called before the Paint method is painting the grid. Empty event args. Occurs after covered cell ranges changed. The source of the event. An that contains event data. Occurs before bannered cell ranges changed. The source of the event. An that contains event data. Occurs after bannered cell ranges changed. The source of the event. An that contains event data. Occurs after merged cell ranges changed. The source of the event. An that contains event data. Determine the visible floating cells. The object holds the cell ranges. Determine the visible merged cells. The object holds the cell ranges. Occurs after covered cell ranges changed. The source of the event. An that contains event data. Sets the row height a range of rows. Sets the row height a range of rows. First row index in range. Last row index in range. The value to be applied. This method calls the of a object in the . Sets the row height a range of rows. First row index in range. Last row index in range. The values to be applied. Sets values indicating if rows should be hidden. Sets values indicating if rows should be hidden. First row index in range. Last row index in range. The value to be applied. This method calls the of a object in the . Sets values indicating if rows should be hidden. First row index in range. Last row index in range. An array with values to be applied. Sets the column width for a range of columns. Sets the column width for a range of columns. First column index in range. Last column index in range. The value to be applied. This method calls the of a object in the . Sets the column widths for a range of columns. First column index in range. Last column index in range. The values to be applied. Sets values indicating if columns should be hidden. Sets values indicating if columns should be hidden. First column index in range. Last column index in range. The value to be applied. This method calls the of a object in the . Sets values indicating if columns should be hidden. First column index in range. Last column index in range. An array with values to be applied. Returns the total row height for a range of rows. Returns the total row height for a range of rows. The first row. The last row. The total row height in pixel. Returns the row height at the of a object in the or 0 if row is hidden. Row index. Row height. Returns the smallest value to be used as TopRowIndex for which the last row of the grid is visible. Returns the rectangle with scroll bounds for the grid. The calculated row index. Returns the smallest value to be used as LeftColIndex for which the last column of the grid is visible. Returns the rectangle with scroll bounds for the grid. The calculated column index. Returns the column widths at the of a object in the or 0 if column is hidden. Column index. Column width. Determines if a specified row is hidden in the current grid view. The row index. True if row should be hidden; False otherwise. You can programmatically hide rows with the of a object in the . Other criteria that will make a row be hidden in the current view are if this is the lower pane in a splitter view or if queried row is a column header row and the of object is true. Determines if a specified column is hidden in the current grid view. The column index. True if column should be hidden; False otherwise. You can programmatically hide columns with the of a object in the . Other criteria that will make a column be hidden in the current view are if this is the right pane in a splitter view or if queried row is a row header column and the of object is true. Occurs while row height of grid model is changing. The Source of event. An that contains the event data. Occurs after row height of grid model is changed. The Source of event. An that contains the event data. Occurs after columns of the grid model are hidden. The Source of event. An that contains the event data. Occurs after rows of the grid model are hidden. The Source of event. An that contains the event data. Occurs after column width of the grid model is changed. The Source of event. An that contains the event data. Occurs after default row height of the grid model is changed. The Source of event. An that contains the event data. Occurs after default column width of the grid model is changed. The Source of event. An that contains the event data. Update the row height when default row height is changed. Top row index. Bottom row index. Heights of row. Update the column width when default column width is changed. Left column index. Right column index. Width of column. Checks if column header should be displayed (based on splitter pane row / column). True if the column header should be displayed. Checks if row header should be displayed (based on splitter pane row / column). True if the row header should be displayed. Used internally. Gets the value for allowForwardCurrentCellControlKeyMessages variable. Allows you to perform a quick Invalidate / Update pair on the grid without executing any of the grids default paint code. Instead you can provide your own routine to update invalidated areas in the grid. The Rectangle The customPaintDelegate The following example lets you draw a small portion of the grid bypassing the grids paint handler (and it trying to recalculating layout cells and other precautions it takes when handling the Paint method). When compared to calling DrawClippedGrid this approach is a bit slower but it avoids flickering since it can take advantage of the WinForms own double-buffering mechanism. In OnPaint the grid checks InUpdateWithCustomPaint and if it is true then the grids Paint method will only call the delegate and immediately return. gridTableControl.UpdateWithCustomPaint(bounds, new PaintEventHandler(TableControl_CustomPaint)); void TableControl_CustomPaint(object sender, PaintEventArgs e) { Rectangle clipBounds = Rectangle.Truncate(e.Graphics.ClipBounds); gridTableControl.DrawClippedGrid(e.Graphics, clipBounds, false); } Allows you to perform a quick Invalidate / Update pair on the grid without executing any of the grids default paint code. Instead the grid will only call DrawClippedGrid from its Paint handler and immediately return. When compared to calling DrawClippedGrid using a cached graphics context this method is a bit slower but it avoids flickering since it can take advantage of the WinForms own double-buffering mechanism. Clipping rectangle. Processes Windows messages and optionally routes them to the control. The instance to process. Processes Windows messages and optionally routes them to the control. The instance to process. Raises the event. A that contains the event data. Initiates call to . True if the method call is initiated. Returns the parent control with window handle and casts it to GridControlBase. The GridControlBase with a valid window handle. When the property is True, it will return the parent control; otherwise a reference to this object itself is returned. Returns the parent control with window handle. The control with a valid window handle. When the property is True, it will return the parent control; otherwise a reference to this object itself is returned. Returns the intersection between this control's bounds and the bounds of a parent control with window handle. The rectangle for the visible area of this control. When the property is True, it will intersect the with the parent control's ; otherwise simply the are returned. Retrieves the form that the control is on. Works also with windowless mode. The form that the control is on Raises the method. if control is used in windowless mode. Converts a rectangle to screen coordinates. The original rectangle in client coordinates. The resulting rectangle in screen coordinates. This method also supports mode. Converts a rectangle to client coordinates. The original rectangle in screen coordinates. The resulting rectangle in client coordinates. This method also supports mode. Converts a point to screen coordinates. >The original point in client coordinates. The resulting point in screen coordinates. This method also supports mode. Converts a point to client coordinates. >The original point in screen coordinates. The resulting point in client coordinates. This method also supports mode. Returns the result of of the parent control with window handle (see ). Screen point. Location of specified screen point into its client co-ordinates. Returns the result of of the parent control with window handle (see ). Client point. Point in screen co-ordinates. Returns the result of of the parent control with window handle (see ). Rectangle to convert. Rectangle in client co-ordinates. Returns the result of of the parent control with window handle (see ). /// Rectangle to convert. Rectangle in screen co-ordinates. Returns the number of frozen rows. Number of frozen rows. This is usually the same value as returned by of a object in a . When the grid is used as bottom pane in a splitter view, 0 is returned. Returns the first row that is visible after the frozen rows. First scrollable row index. Returns the actual number of visible frozen rows including the column header if visible. So, in case all rows are visible the value returned by this method will be Rows.FrozenCount + 1. Number of visible frozen rows. Returns the number of frozen columns. Number of frozen columns. This is usually the same value as returned by of a object in a . When the grid is used as right pane in a splitter view, 0 is returned. Returns the first column that is visible after the frozen columns. First scrollable column index. Returns the actual number of visible frozen columns including the row header if visible. So, in case all columns are visible the value returned by this method will be Cols.FrozenCount + 1. Number of visible frozen columns. Returns the number of header rows. Number of header rows. This is usually the same value as returned by of a object in a . Returns the number of header columns. Number of header columns. This is usually the same value as returned by of a object in a . Determines if the specified row is a frozen row. The row index. True if frozen; False if otherwise. Determines if the specified column is a frozen column. The column index. True if frozen; False if otherwise. Occurs when the fixed column count in the model has changed and the view needs to be refreshed. The source of the event. Event data. Occurs when the fixed row count in the model has changed and the view needs to be refreshed. The source of the event. Event data. Occurs when the header column count in the model has changed and the view needs to be refreshed. The source of the event. Event data. Occurs when the header row count in the model has changed and the view needs to be refreshed. The source of the event. Event data. Occurs before rows range removed from grid model. The source of the event. An that contains event data. Invoked after row ranges removed from grid model. The source of the event. An that contains event data. Occurs before column ranges removed from grid model. The source of the event. An that contains event data. Invoked after column ranges removed from grid model. The source of the event. An that contains event data. Occurs while moving the row of a grid. The source of the event. An that contains event data. Occurs after moved the row of a grid. The source of the event. An that contains event data. Update the rows of a grid after a row of that grid has moved. Starting position. Difference between from and to row index. Target position. Occurs while moving the column of a grid. The source of the event. An that contains event data. Occurs after moved the column of a grid. The source of the event. An that contains event data. Update the columns of a grid after a column of that grid has moved. Starting position. Difference between from and to row index. Target position. Occurs while inserting a row to the grid table. The source of the event. An that contains event data. Occurs after inserted a row to the grid table. The source of the event. An that contains event data. Update the grid layout and scrollbars after inserted a new row to the grid table. Row index of the newly inserted row. Number of rows. Occurs while inserting a new column to the grid table. The source of the event. An that contains event data. Occurs after inserted a new column to the grid table. The source of the event. An that contains event data. Update the grid layout and scrollbars after inserted a new column to the grid table. Column index of the newly inserted column. Number of columns. Prevents any subsequent calls to to have any effect. Resumes normal operation for calls. Determines if calls to should have any effect. If true any calls to Invalidate will immediately return. True if should not have any effect. Call of the parent control with window handle (see ). Call of the parent control with window handle (see ). Invalidates the specified bounds and optionally hides the current cell renderer if it is visible inside the bounds. The area to invalidate. Call of the parent control with window handle (see ). The area to invalidate. Call of the parent control with window handle (see ). The area to invalidate. Specified if child controls should also be invalidated. This is called from method of the after the current cell was deactivated. The default version of this methods checks Model.Options.RefreshCurrentCellBehavior and invalidates the grid area (either the whole row, the cell or nothing) as needed. The row index The column index The current cell bounds before it was deactivated. Invalidates the region of the grid control specified with a range of cells and causes a paint message to be sent to the control. Invalidates the region of the grid control specified with a range of cells and causes a paint message to be sent to the control. The range that defines the region to be invalidated. Invalidates the region of the grid control specified with a range of cells and causes a paint message to be sent to the control. The range that defines the region to be invalidated. Options that indicate if method should enlarge the affected range of cells to include covered and floating cells. Invalidates the region of the grid control specified with a range of cells and immediately causes a paint message to be sent to the control before the function returns. Invalidates the region of the grid control specified with a range of cells and immediately causes a paint message to be sent to the control before the function returns. The range that defines the region to be invalidated. Invalidates the region of the grid control specified with a range of cells and immediately causes a paint message to be sent to the control before the function returns. The range that defines the region to be invalidated. Options that indicate if method should enlarge the affected range of cells to include covered and floating cells. Invalidates the region of the grid control specified with a range of cells and immediately causes a paint message to be sent to the control before the function returns. The range that defines the region to be invalidated. When a current cell is active and within the given range of cells, this option specifies if the current cell should be reinitialized with the underlying cell's value. Invalidates the region of the grid control specified with a range of cells and immediately causes a paint message to be sent to the control before the function returns. The range that defines the region to be invalidated. Options that indicate if method should enlarge the affected range of cells to include covered and floating cells. When a current cell is active and within the given range of cells, this option specifies if the current cell should be reinitialized with the underlying cell's value. Forces the control to invalidate its client area and immediately redraw itself and any child controls. True if the grid model needs to be refreshed. Forces the control to invalidate its client area and immediately redraw itself and any child controls. Forces the assigned styles to be reapplied to the control. Scrolls the specified cell into view. Scrolls the specified range into view. The range that should be scrolled into the visible grid view area. True if scrolling the grid was necessary; False if the range was already in the visible area. Scrolls the specified range into view. The range that should be scrolled into the visible grid view area. The reason for scrolling the current cell into view (e.g. KeyPress, GridFocus etc.) True if scrolling the grid was necessary; False if the range was already in the visible area. Determines whether the cell is in scroll view. Cell range. Indicates whether current cell is floating cell. The reason for scrolling the current cell into view (e.g. KeyPress, GridFocus etc.) Scrolls the specified cell into view. The row index. 0 if rows should not scroll. The column index. 0 if columns should not scroll. True if scrolling the grid was necessary; False if the range was already in the visible area. Scrolls the specified cell into view. The row index. 0 if rows should not scroll. The column index. 0 if columns should not scroll. The reason for scrolling the current cell into view (e.g. KeyPress, GridFocus etc.) True if scrolling the grid was necessary; False if the range was already in the visible area. Determines whether the cell is in scroll view. Determines whether the cell is in scroll view. The column index value. The row index Boolean value, that determines to allow scroll. Indicates whether current cell is floating cell. The reason for scrolling the current cell into view (e.g. KeyPress, GridFocus etc.) Raises the event. A that contains the event data. Called to scroll the specified cell into view. The row index. 0 if rows should not scroll. The column index. 0 if columns should not scroll. Specified if top row index and left col index should be changed without raising scroll events and without updating the screen (calling DoScroll). Used by GridNestedTableControl grids in GridGroupingControl. Normally this should be false for other scenarios. The reason for scrolling the current cell into view (e.g. KeyPress, GridFocus etc.) True if scrolling the grid was necessary; False if the range was already in the visible area. Changes the top row index without raising events and without updating the grid display. The new top row index. True if top row should be aligned; false if partial visible row should stay as is Changes the top row index without raising events and without updating the grid display. The new top row index. Changes the left column index without raising events and without updating the grid display. The new left column index. True if left column should be aligned; false if partial visible column should stay as is Changes the left column index without raising events and without updating the grid display. The new left column index. Changes the top row index and scrolls the grid. The new top row index. Changes the left column index and scrolls the grid. The new left column index. Sets the top row and left column. Row index. Column index. Returns the client row index for an absolute row index. The absolute row index. The client row index relative to the top row index. Client row indexes indicate the visible client rows in the current view. Client row indexes are numbered from 0 to the number of visible rows. Absolute row indexes are independent of the scroll position. If you have a client row index you should first convert the client row index to an absolute row index before querying information about the row, such as row height or cell contents. Returns the client row index for an absolute row index. The client row index relative to the top row index. Returns the client column index for an absolute column index. The absolute column index. The client column index relative to the top column index. Client column indexes indicate the visible client columns in the current view. Client column indexes are numbered from 0 to the number of visible columns. Absolute column indexes are independent of the scroll position. If you have a client column index, you should first convert the client column index to an absolute column index before querying information about the column, such as column height or cell contents. Returns the client column index for an absolute column index. The client column index relative to the top column index. Returns the absolute row index for a client row index. The client row index. The absolute row index calculated based on the given client row index and the top row index. Returns the absolute row index for a client row index. Returns the absolute column index for a client column index. The client column index. The absolute column index calculated based on the given client column index and the left column index. Returns the absolute column index for a client column index. Returns the maximum value for . Maximum value The following example lets you scroll through all rows in a grid GridControlBase grid; int min = grid.GetMinimumTopRowIndex(); int max = grid.GetMaximumTopRowIndex(); for (int v = min; v <= max; v++) { grid.TopRowIndex = v; } Dim grid As GridControlBase int min = grid.GetMinimumTopRowIndex(); int max = grid.GetMaximumTopRowIndex(); for (int v = min; v <= max; v++) { grid.TopRowIndex = v; } Returns the minimum value for . Minimum value The following example lets you scroll through all rows in a grid GridControlBase grid; int min = grid.GetMinimumTopRowIndex(); int max = grid.GetMaximumTopRowIndex(); for (int v = min; v <= max; v++) { grid.TopRowIndex = v; } Dim grid As GridControlBase int min = grid.GetMinimumTopRowIndex(); int max = grid.GetMaximumTopRowIndex(); for (int v = min; v <= max; v++) { grid.TopRowIndex = v; } Returns the maximum value for . Maximum value The following example lets you scroll through all columns in a grid GridControlBase grid; int min = grid.GetMinimumLeftColIndex(); int max = grid.GetMaximumLeftColIndex(); for (int v = min; v <= max; v++) { grid.LeftColIndex = v; } Dim grid As GridControlBase int min = grid.GetMinimumLeftColIndex(); int max = grid.GetMaximumLeftColIndex(); for (int v = min; v <= max; v++) { grid.LeftColIndex = v; } Returns the minimum value for . Minimum value The following example lets you scroll through all columns in a grid GridControlBase grid; int min = grid.GetMinimumLeftColIndex(); int max = grid.GetMaximumLeftColIndex(); for (int v = min; v <= max; v++) { grid.LeftColIndex = v; } Dim grid As GridControlBase int min = grid.GetMinimumLeftColIndex(); int max = grid.GetMaximumLeftColIndex(); for (int v = min; v <= max; v++) { grid.LeftColIndex = v; } Raises the event. An that contains event data. Determines whether notify the top row changing. Top row index. Raises the event. An that contains the event data.. Initiate calls to method. Raises the event. An that contains the event data. Determines whether notify the left column changing. Left column index. Raises the event. An that contains the event data. Raises the event. An that contains the event data. Listens for the horizontal scrollbar's scroll event. A that contains data about the control. A that contains the event data. Handles mouse wheel processing for our scrollbars. A that contains the event data. Initiates call to . A that contains the event data. Gets a value that indicates if the grid is in design mode. Returns Sets input focus to the control. True if the control is focused. Invoked when the user performs the mouse click. An that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Invoked when the user releases the mouse click. An that contains the event data. Invoked when the user moves the mouse. An that contains the event data. Raises the event. The that contains event data. Raises the event. An that contains the event data. Raises the event. An that contains the event data. Raises the specified mouse event and catches any exception. If exception is 4ed NotifyCancelMode is called. Returns False if event should be ignored by the grid. A that contains the event data. A that handles the event. False if CancelMouseEventArgs.Cancel is True; False otherwise. Raise the method. A that contains the event data. Raise the method. A that contains the event data. Raise the method. A that contains the event data. Invoked when current cell has been changed. The source of the event. An that contains the event data. Returns the default maximum size for the drop-down part of a StandardValuesCell. returns the size Lazy instantiation cached graphics object Returns a object that is instantiated on demand and cached. When the grid size, grid location or scroll position changes the graphics object will be recreated. Use GetCachedGraphics when you want to optimize drawing speed of the grid and call to draw cells directly with this graphics object as shown in the TraderGridTest example. A Graphics object. Return (or initialise) the cached graphics object for this table The Grid table control The catched graphics object. Free resources associated with this grid table and unwire delegates Current object. An that contains the event data. When you implement a custom cell type that supports hovering or other cell highlighting features you should call this method to notify the grid about the temporary state of the cell. The row index. The column index. A reference to the style of the cell. By default the method has no functionality. With a GridGroupingControl however, the grid can save the Element associated with the rowindex and check the state again at a later time when ListChanged notifications were handled and rows possibly shifted up or down. Used to determine whether the touch over the bubble or not. The touch position Returns true if touch over top or bottom bubble, otherwise returns false Initialize the touch panning operation Touch begin position return true Adjust the HScrollBar and VScrollBar values based on current touch position Current touch position Used to decide the doing swipe operation or pan operation Returns true After panning operation completes save the current scroll bar values touch end position return true Gets the active theme name of the control. Returns the active theme name. It contains the value of the property. Holds the grid as IThemeProvider It contains the value of the property. Helps to override the ThemeName property settings ThemeName Applies the theme settings for grid cells in VisualStyleBase theme. Applies the theme setting for grid cells. Default font for grid cells Back color for grid cells. Text color for grid cells Grid line color for grid borders Column header height Default row height Checks whether the theme name is VisualStyle based theme. returns true if the BaseThemeName is advanced theme. Helps to override the ThemeName property settings ThemeName Helps to override the CanApplyTheme property settings CanApplyTheme Helps to override the CanOverriderStyle property settings CanOverriderStyle Used to save the top bubble location. Used to save teh bottom bubble location. Gets or sets a value indicating whether control shows the touch indicator on touch mode. True or False. This settings effects if Excel-like selection have been enabled with and SelectionFrameOption.Excel2016 have been enabled with . Gets or sets a value indicating whether the grid can enable caching style property values of GetViewStyleInfo styles when accessed the first time. This will make accessing the same property repeatedly faster (e.g. style.CellValue or style.ReadOnly might be accessed multiple times from different routines for the same style object). Gets or sets a value indicating whether to switch back to old logic used for hiding rows or columns in case of any compatibility problems (logic was changed after 4.2) Gets or sets a value to assign the placement of the SortIcon Gets or sets a value indicating whether Grid uses ImageList_DrawEx to draw cell images. Lets you switch to default ImageList_Draw instead. Added for PrintColumnsToFit helper class which uses Metafile drawings internally Gets or sets the ExternalMove. Used by GridSelectCellsMouseController. Occurs before TextBox of a TextBox, OriginalTextBox or derived cell type is created. Occurs before BrushPaint.FillRectangle is called. Gets or sets a value indicating whether to force cell renderers to ignore the GridStyleInfo.AutoSize property and do not automatically resize cells while typing. Gets or sets a value indicating whether to allow resizing of rows through standard cell boundaries. No support for GridListControl. Gets or sets a value indicating whether to allow resizing of columns through standard cell boundaries. For GridListControl, it is true by default. Gets or sets a value indicating whether to display message box before dropping cell contents from source to the destination. Gets or sets a value indicating whether the grid's painting routines have a built-in optimization where it combines cells that have the same background to be drawn with one paint operation instead of drawing the background for each cell individually. The property is true by default. The optimization causes the event to be hit for every cell and also change the background color of a style object within a operation to be ignored. You should set it False if this is an issue for you. Or you could also try setting be set to BrushInfo.Empty to force DrawCellBackground be called for cells. Gets or sets a value indicating whether UseGdiPlusRightAlignedTextWorkaround implements a work-around for a GDI+ known issue with right-aligned text and DrawString. When you have cells with right-aligned text some words are not aligned at the right border as you would expect. This is because of GDI+ designed behavior, and the degree of the problem varies from font to font. You can see this behavior for example with regular System.Windows.Forms.Label controls. Since Essential Grid relies on GDI+, it exhibits the same behavior. Besides using a Mono spaced Font, some include using either anti aliased string drawing or explicitly measuring the string width and not relying on DrawString to draw the text right-aligned. When you enable UseGdiPlusRightAlignedTextWorkaround then the static cell renderer will use the measure string width workaround. However, this will slow down drawing of right-aligned text. Gets or sets the GridControlBaseEventsTarget. Redirects events defined in to the specified object. Each event will first be called on before the actual event handler in this control is called. Gets or sets a value indicating whether it enables horizontal pixel scrolling for the grid. Gets or sets hScrollPixelDelta value. Occurs after the horizontal pixel scroll position was changed. Occurs after the vertical pixel scroll position was changed. Occurs before the vertical pixel scroll position is changed. Occurs before the horizontal pixel scroll position is changed. Gets or sets a value indicating whether it enables vertical pixel scrolling for the grid. Gets or sets the grid bounds while the grid is in printing mode. Gets or sets a value to enable when exporting Grid to PDF The Default value is False. Gets or sets UpdateSelectRange_Range. Used internally. Gets or sets UpdateSelectRange_OldRange. Used internally. Gets or sets a value indicating whether to allow resizing of hidden columns when double click. Default value is true. Gets or sets the that manages data to be displayed in the grid. You can replace the at run-time. The will release and establish links to the previous model and establish new relationship with the new model, then redraw itself. Gets or sets the cursor to be displayed when the mouse pointer is over the control. Gets or sets a value indicating whether it enables or disables vertical scrollbar. Overridden with , use instead. Gets or sets a value indicating whether it enables or disables horizontal scrollbar. Overridden with , use instead. Gets or sets a value that to get the alignment in Grid as in Excel. This event will be fired when the ThemesEnabled property is changed. Occurs when the reference to is changed. Gets or sets the bounds of the grid. This is normally the of a control but you change and by doing this instruct the grid that only parts of the current should be used to display the grid. While in printing mode, will return printer dimensions. Gets or sets a value indicating whether WM_SYSCHAR need to be handled in TextBox and OriginalTextBox Cell types to handle universal Keyboard Mappings. This property is mainly added to handle the scenario where Input characters from a universal keyBoard Mapping will be WM_SYSCHAR (0x104), instead of WM_CHAR (0x102), which needs the TextBox and OriginalTextBox CellTypes to be forced to read the Key Messages. Gets or sets a value indicating if the error icon should be displayed in the header cell if the validation is failed. Gets or sets a value to resize the columns proportionally fit its content. Gets or sets a value to include Unicode character in text. Gets a value indicating whether was initialized. If not, returns the same value as . Gets or sets a value indicating whether the horizontal scrolling should be enabled on Mouse wheel. When it is set to true, it will perform the horizontal scrolling when mouse wheeling occurs with the key is pressed. It also allows to scroll horizontally without using the key when the vertical scrollbar is disabled. Occurs when the property has been changed. Gets the default size of the control. Gets or sets a value indicating whether it toggles printing mode for the grid. While in printing mode will return the print rectangle of the page being printed and not the client rectangle of the control on the screen. When printing the grid, the GridPrintDocument class will toggle the printing mode for the grid. At that time, all drawing related code will use the printing page as canvas and . Also, and will return values with top row and left column for the page that is currently being printed. Occurs when the has been changed for the grid object. Gets or sets the behavior of the horizontal scrollbar. A enumeration that offers various options for the scrollbar behavior. Gets or sets the behavior of the vertical scrollbar. A enumeration that offers various options for the scrollbar behavior. Gets or sets a value indicating whether the formatting of the cell text can be disabled in edit mode. Gets or sets a value indicating whether XP Themes (visual styles) should be used for this control when available. Gets or sets a value indicating whether Office2007 scroll bars should be enabled or not. Gets or sets the style of Office2007 scroll bars This example show how to set the color for Office2007ScrollBars. //Enable the Office2007ScrollBars. this.gridControl1.Office2007ScrollBars = true; //Set the color for office2007ScrollBars. this.gridControl1.Office2007ScrollBarsColorScheme = Office2007ColorScheme.Black; 'Enable the Office2007ScrollBars. Me.gridControl1.Office2007ScrollBars = True 'Set the color for office2007ScrollBars. Me.gridControl1.Office2007ScrollBarsColorScheme = Office2007ColorScheme.Black Gets or sets MS Office-like scrollbars. Gets the ScrollControl's MetroScrollBars Gets the ScrollControl's MetroColorTable Gets or sets the style of Office2010 scroll bars Gets or sets the style of Office2016 scroll bars Gets or sets a value indicating whether it toggles support for Windows 2000 and Windows XP transparency. Set this true if you want the grid to draw transparent over a background bitmap. Occurs when the has changed. Gets or sets if the metro theme settings for grid should differ from other themes for look and feel. Gets or sets the Namespace ID that contains the grids's background image information id. The default value for the BackgroundImageID property is "". Gets a value indicating whether BackgroundImage state has been initialized for the current object. Specifies the background color for the grid. Gets or sets a value indicating whether if the control should scroll while the user is dragging a vertical scrollbar thumb. Gets or sets a value indicating whether if the control should scroll while the user is dragging a horizontal scrollbars thumb. Gets or sets a value indicating whether if the control should show Scroll Tips while the user is dragging a vertical scrollbar thumb. Gets or sets a value indicating whether if the control should show Scroll Tips while the user is dragging a horizontal scrollbar thumb. Occurs when the user is about to drag or is in the process of dragging a selected range of columns or rows. Raised after marker is drawn to give visual feedback about new position. See for further discussion. Occurs when the user is about to drag or is in the process of dragging a selected range of columns or rows. Raised before new marker is drawn. See for further discussion. Occurs when the user is resizing a selected range of columns. See for further discussion. Occurs when the user is resizing a selected range of rows. See for further discussion. Occurs when the user hovers the mouse over the edge of a selected range. In your event handler, you can determine if the selected range can serve as OLE Data Source. You can disallow the specified range to be used as OLE Data Source when you assign true to . Also see Also see Gets or sets the OleDragDropEventsTarget. Redirects events defined in to the specified object. Each event will first be called on before the actual event handler in this control is called. Gets or sets ExcelLikeFrameSelections. Used internally. Gets selected ranges in the grid. Allows you to add and remove selections, determines selection state of a specific cell and more. Occurs before the Excel-like selection frame is changing. Before internal data are changed. Grid will hide selection frame. Occurs after the Excel-like selection frame has changed. After internal data were changed. Grid will show selection frame. This event is raised to allow custom formatting of a cell by changing its style object just before it is drawn. This allows formatting based on the current view state, e.g. current cell context, focused control etc. See for further discussion. Occurs for every cell before the grid draws the specified cell. See for more detailed discussion. Occurs for every cell before the grid draws the display text for the specified cell. See for more detailed discussion. Occurs for every cell before the grid draws the background of a specified cell. See for more detailed discussion. Occurs for every cell before the grid draws the frame (sunken or raised) of a specified cell and after the cell's background was drawn. Set e.Cancel = True if you want to customize the drawing of the frame and do not want the grid with its default drawing for the cell's frame. If you want to draw custom borders around a cell, be sure to reserve space for the extra area occupied by your borders. See . Occurs for every button in every cell before the grid draws a cell button. See for more detailed discussion. See for an example. Occurs for every button in every cell before the grid draws the background of a cell button. See for more detailed discussion and also an example. Occurs for every cell after the grid has drawn the specified cell. See for more detailed discussion. Gets or sets whether the grid is shown as gray if it is disabled. The default value is false. Occurs when the grid draws a border around the current cell. Gets or sets a value indicating whether to AllowDrawItemRaiseExceptionCatched. Used internally. Gets a value indicating whether the grid is inside a method call. Gets or sets to allow you to specify a as parent of the grid when used inside a drop-down. This is necessary if nested popups are needed. Gets or sets a value indicating whether HitTestSelectionEdge. Used internally. Gets temporary information related to printing. This class will change in future versions. Gets a value indicating whether the grid is currently handling a event. Occurs before the grid is about to be left because the user is at the top-left or bottom-right cell and about to tab out of the grid. This event is only raised if the has been specified for . Gets the row in the splitter where this control is displayed, if the grid is used inside a dynamic splitter control. Gets the column in the splitter where this control is displayed, if the grid is used inside a dynamic splitter control. The CurrentCellInitializeControlText notifies you that the current cell is initialized with text to be displayed in the associated control, e.g. a text box control. public Form1() { InitializeComponent(); this.gridDataBoundGrid2.CurrentCellInitializeControlText += new GridCurrentCellInitializeControlTextEventHandler(gridDataBoundGrid2_CurrentCellInitializeControlText); this.sqlDataAdapter1.Fill(this.dataSet11); } void gridDataBoundGrid2_CurrentCellInitializeControlText(object sender, GridCurrentCellInitializeControlTextEventArgs e) { if (e.CellValue != null) { e.ControlText = e.CellValue.ToString(); } } The CurrentCellErrorMessage notifies you that the current cell validation failed and a message is displayed. You can cancel the event and display your own custom messagebox. public Form1() { InitializeComponent(); this.gridDataBoundGrid2.CurrentCellErrorMessage += new GridCurrentCellErrorMessageEventHandler(gridDataBoundGrid2_CurrentCellErrorMessage); this.sqlDataAdapter1.Fill(this.dataSet11); } void gridDataBoundGrid2_CurrentCellErrorMessage(object sender, GridCurrentCellErrorMessageEventArgs e) { MessageBox.Show(e.Owner, e.Text); e.Cancel = true; } Occurs when the user has clicked on a child button element inside a cell renderer. Occurs when the current cell is about to be moved to a new position. You can disallow the activation of specific cells at run-time when you assign True to . You can modify the and to activate a different cell. You can also modify the . Once the current cell has been moved, a event is raised or a if moving to the specified target cell failed. See for a discussion about the order of events that you receive when the current cell is moved. Occurs when the current cell has been successfully moved to a new position. See for a discussion about the order of events that you receive when the current cell is moved. Occurs when the current cell fails to be moved to a new position. See for a discussion about the order of events that you receive when the current cell is moved. might hold an error message why the operation failed. Occurs before the grid activates the specified cell as current cell. You can disallow the activation of specific cells at run-time when you assign True to . You can modify the and to activate a different cell. You can determine if was called stand-alone or as result of a call by checking the property. Once the current cell has been activated, a event is raised or a if activating the specified cell failed. See for a discussion about the order of events that you receive when the current cell is moved. Occurs after the grid activates the specified cell as current cell. You can determine if was called stand-alone or as result of a call by checking the property. See for a discussion about the order of events that you receive when the current cell is moved. You can find out about the current cell's position by querying the and properties of the object in . Occurs after the grid fails to activate a specific cell as current cell. You can determine if was called stand-alone or as result of a call by checking the property. See for a discussion about the order of events that you receive when the current cell is moved. Occurs when the user presses the Delete key on an active current cell. The grid will delete contents of the current cell. You can cancel the operation by setting to True. You can find out about the current cell's position by querying the and properties of the object in . See for a discussion about the order of events that you receive when the current cell is moved. Occurs before the current cell switches into editing mode. The grid will switch into editing mode when the user presses a key while the cell is not in editing mode or when you call . You can cancel the operation by setting to True. You can find out about the current cell's position by querying the and properties of the object in . See for a discussion about the order of events that you receive when the current cell is moved. Occurs when the user wants to modify contents of the current cell. The grid sends this event before the changes are applied to the active cell. You can cancel the operation by setting to True. You can find out about the current cell's position by querying the and properties of the object in . See for a discussion about the order of events that you receive when the current cell is moved. Occurs when the user changes contents of the current cell. The grid sends this event whenever changes occur, similar to a event. You can find out about the current cell's position by querying the and properties of the object in See for a discussion about the order of events that you receive when the current cell is moved. Occurs before the grid the deactivates the current cell. You can cancel the operation by setting to True. You can determine if was called stand-alone or as result of a call by checking the property. You can find out about the current cell's position by querying the and properties of the object in . See for a discussion about the order of events that you receive when the current cell is moved. Occurs after the drop-down part has been dropped-down and made visible. Occurs when the drop-down part of the current cell was / is closed. Occurs when the drop-down part is about to be shown. The event will provide you with a suggested size of the drop-down control. You can change the default size in your event handler by changing the property. Please note however that some drop-down controls might override the suggested height with their own preferred height. The and methods both provide a property that defines the number of visible rows. To abort the drop-down operation, you should set to True. If you need to get access to the cell renderer, you can use the property of the object. The object also holds style information and row and column index. See the cell renderer for properties to access the drop-down container and drop-down part. Occurs when the grid validates contents of the active current cell. You can mark the contents as invalid by by setting to True. The grid raises this event when the object's method is called. calls this method when the current cell was in editing mode and its contents were modified. You can determine if was called stand-alone or as result of a call by checking the property. You can find out about the current cell's position by querying the and properties of the object in . See for a discussion about the order of events that you receive when the current cell is moved. Occurs when the grid has successfully validated the contents of the active current cell. You can determine if was called stand-alone or as result of a call by checking the property. You can find out about the current cell's position by querying the and properties of the object in . See for a discussion about the order of events that you receive when the current cell is moved. Occurs when the grid accepts changes made to the active current cell. The grid raises this cancelable event when the object's method is called. and call this method when the current cell was in editing mode and its contents were modified and validated. You can determine if was called stand-alone or as result of a call by checking the property. If you assign true to , the grid will not deactivate the current cell. You can find out about the current cell's position by querying the and properties of the object in . See for a discussion about the order of events that you receive when the current cell is moved. Occurs when the grid could not save changes made to the active current cell. The grid raises this event when the object's method is called and its contents were modified and could not be successfully validated or saved back to the data source. The and properties provide details why the operation failed. If you want to display a message box be sure to reset the the error state with . You can determine if was called stand-alone or as result of a call by checking the property. You can find out about the current cell's position by querying the and properties of the object in See for a discussion about the order of events that you receive when the current cell is moved. Occurs when the grid rejects changes made to the active current cell. The grid raises this event when the object's method is called. and call this method when the current cell was in editing mode and its contents were modified. You can determine if was called stand-alone or as result of a call by checking the property. You can find out about the current cell's position by querying the and properties of the object in . See for a discussion about the order of events that you receive when the current cell is moved. Occurs when the grid completes editing mode for the active current cell. The grid raises this event when the object's or method is called. The event occurs after or were raised. You can determine if was called stand-alone or as result of a call by checking the property. You can find out about the current cell's position by querying the and properties of the object in . See for a discussion about the order of events that you receive when the current cell is moved. Occurs after the grid deactivates current cell. The grid raises this event when the object's method is called. The event occurs after any , , , or are raised. You can determine if was called stand-alone or as result of a call by checking the property. See for a discussion about the order of events that you receive when the current cell is moved. Occurs after the grid fails to deactivate the current cell. The grid raises this event when the object's method is called and can not deactivate the current cell. The reason deactivation may fail could be that the cell's contents were invalid or any of the event handlers associated with deactivating the current cell signaled to abort this operation. You can determine if was called stand-alone or as result of a call by checking the property. See for a discussion about the order of events that you receive when the current cell is moved. Occurs when the current cell has switched to in-place editing and the control associated with the current cell has received the focus. Check the associated for state of the cell renderer. Raising this event is only optional for the cell renderer that manages the active cell. A text box will usually send this event when the associated control has received the focus after the cell was switched into edit mode with . Other cell renderers may or may not send this event. This is called from the current cell control's ProcessKeyMessage method and gives you a chance to modify the default behavior of this method. Be aware that this is a very implementation-specific method and you should only handle this event if KeyDown, KeyUp, CurrentCellKeyDown, or CurrentCellKeyUp events are not good enough. Occurs when the current cell is in-place editing mode and the user double-clicks inside the control associated with the current cell. GridCurrentCell.ControlDoubleClick lets you detect a double click inside a cell for any CurrentCellActivateBehavior. If for example the focus is set to the renderer's control after the first click, the grid will listen for a MouseDown on the newly focused control and raise this event on a second click. Check the associated for state of the cell renderer. Raising this event is only optional for the cell renderer that manages the active cell. A text box will usually send this event when the associated control has received the focus after the cell is switched into edit mode and the user double-clicks. Other cell renderers may or may not send this event. Occurs when the current cell is in in-place editing mode and the control associated with the current cell has lost the focus. Check the associated for state of the cell renderer. Raising this event is only optional for the cell renderer that manages the active cell. A text box will usually send this event when the associated control has lost the focus after the cell is switched into edit mode with . Other cell renderers may or may not send this event. Occurs when the user clicks a push button. The user clicks inside the checker box of a check box. The user clicks inside a cell. The user double-clicks inside a cell. Grid performs hit-test for a cell. Grid queries for the cursor to display for a specific cell when the cell indicated previously with a non-zero hit-test value that it wants the mouse operation. Occurs before the method of a cell's is called. Event is raised both when the cell's HitTest method indicated previously with a non-zero hit-test value that it wants the mouse operation or when the user is hovering the mouse over cells and the "SelectCells" mouse controller is about to handle the mouse operation. Occurs before the method of a cell's is called. Event is raised both when the cell's HitTest method indicated previously with a non-zero hit-test value that it wants the mouse operation or when the user is hovering the mouse over cells and the "SelectCells" mouse controller is about to handle the mouse operation. Occurs before the method of a cell's is called. Event is raised both when the cell's HitTest method indicated previously with a non-zero hit-test value that it wants the mouse operation or when the user is hovering the mouse over cells and the "SelectCells" mouse controller is about to handle the mouse operation. Occurs before the method of a cell's is called. Event is raised only when the cell's HitTest method indicated previously with a non-zero hit-test value that it wants the mouse operation. Occurs before the method of a cell's is called. Event is raised only when the cell's HitTest method indicated previously with a non-zero hit-test value that it wants the mouse operation. Occurs before the method of a cell's is called. Event is raised only when the cell's HitTest method indicated previously with a non-zero hit-test value that it wants the mouse operation. Occurs before the method of a cell's is called. Event is raised only when the cell's HitTest method indicated previously with a non-zero hit-test value that it wants the mouse operation. Indicates that scrollbar information such as Minimum or Maximum has changed. If you want to be updated about changes in the Minimum or Maximum scroll position or page size, you should handle this event. Gets or sets a value indicating whether False, any calls to will be deferred until the grid sets the active control inside a parent container and its method is called. Occurs after the user presses a key in the current cell and before it is accepted. Allows you to limit the keys that are accepted for the current cell while the user is typing text. Occurs before is called. Occurs before is called. Occurs before is called. Occurs before the the current cell is moved into a specific direction. Normally, cells that are not marked as enabled with will be skipped but you can hook into this mechanism by implementing an event handler for . You should set to True if you handled this event. See the SampleGrid class in the grid pad sample for an example. Gets object that provides storage for current cell information and manages all current cell operation such as activating, deactivating, saving, editing, and moving the current cell. gives you a one stop interface for all current cell related operations. This is useful for an Intellisense-based programming environment since you do not have to dig through many unrelated functions. Events for the current cell will be raised by the itself. The grid offers many events for the current cell that let you customize the current cell's behavior at any stage of operation. You can find out about the current cell's position by querying the and properties of the object in . The property tells you if the grid has an active current cell. The method lets you find out if the current cell is at a specific row and column index. See for a discussion about the order of events that you receive when the current cell is moved. The following example shows how you can customize the behavior of the current cell and highlight the whole row of the current cell instead of just the current cell itself. /// Current cell will be moving from one position to another. protected override void OnCurrentCellMoving(GridCurrentCellMovingEventArgs e) { e.Options |= GridSetCurrentCellOptions.BeginEndUpdate; // Instead of GridSetCurrentCellOptions.BeginEndUpdate we could also // sandwich the call in a Begin/EndUpdate pair ourselves ... //BeginUpdate(BeginUpdateOptions.InvalidateAndScroll); } /// Completes a current cell's MoveTo operation indicating success. protected override void OnCurrentCellMoved(GridCurrentCellMovedEventArgs e) { base.OnCurrentCellMoved(e); //EndUpdate(); } /// Completes a current cell's MoveTo operation indicating failure. protected override void OnCurrentCellMoveFailed(GridCurrentCellMoveFailedEventArgs e) { base.OnCurrentCellMoveFailed(e); //EndUpdate(); } /// Highlight the current row. protected override void OnPrepareViewStyleInfo(GridPrepareViewStyleInfoEventArgs e) { if (e.RowIndex > this.Model.Rows.HeaderCount && e.ColIndex > this.Model.Cols.HeaderCount && CurrentCell.HasCurrentCellAt(e.RowIndex)) { e.Style.Interior = new BrushInfo(SystemColors.Highlight); e.Style.TextColor = SystemColors.HighlightText; e.Style.Font.Bold = true; } base.OnPrepareViewStyleInfo(e); } /// Refresh the whole row for the old position of the current cell when it is moved to /// a new row or when current cell is deactivated stand-alone. protected override void OnCurrentCellDeactivated(GridCurrentCellDeactivatedEventArgs e) { // Check if Deactivate is called stand-alone or called from MoveTo and row is moving. if (!CurrentCell.IsInMoveTo || CurrentCell.MoveToRowIndex != CurrentCell.MoveFromRowIndex) { RefreshRange(GridRangeInfo.Row(e.RowIndex), GridRangeOptions.MergeAllSpannedCells); } base.OnCurrentCellDeactivated(e); } /// Refresh the whole row for the new current cell position when the current cell is moved /// to a new row or when current cell is activated stand-alone (and there was no activated current cell). protected override void OnCurrentCellActivated(EventArgs e) { // Check if Activate is called stand-alone or called from MoveTo and row is moving base.OnCurrentCellActivated(e); if (!CurrentCell.IsInMoveTo || CurrentCell.MoveToRowIndex != CurrentCell.MoveFromRowIndex || !CurrentCell.MoveFromActiveState) { RefreshRange(GridRangeInfo.Row(CurrentCell.RowIndex), GridRangeOptions.MergeAllSpannedCells); } } Gets or sets the Repeat counter value. Gets the Arrow key line count. Gets or sets a value indicating whether if false if you want to suppress key events for the grid. This is useful if you want to implement your own keyboard handling and not have any default key handlers in the grid. Gets or sets a value indicating whether if set to False if you want to suppress setting focus during a MouseDown event. This is useful if you have a MouseController that does not need focus. Gets or sets a value indicating whether the grid control should handle tab keys to move between cells. Set this to False if focus should move to the next control in the form instead. Gets or sets a value indicating whether the grid control should handle tab keys to move between cells right away in the PreProcessMessage method to make sure no other control on a form can override the tab key behavior of this control. This is useful when the grid is hosted in an ActiveX host and the ActiveX container does not honor the grids ProcessDialogKey override. The default value for this property is false. Gets or sets a value indicating whether the grid control should handle Enter key to move between cells. Set this to False if Enter should be ignored instead. Gets or sets a value indicating whether the grid control should handle Escape to reset cell contents or reset cell selections. Set this to False if the Escape key should be ignored instead. Gets or sets a value indicating whether AllowSelectNextControlinProcessDialogKey. Used internally. Gets the collection of objects for the current grid view method. Cell renderers will be created on demand by calling the . Each renderer is associated with a object that holds its data and has knowledge how to instantiate a renderer and associates it with a grid view. A renderer is created for each grid view but renderers (of the same cell type) share the same instance even though they belong to different grid views. The following examples show how to get a reference to the renderer for a specific cell. GridStyleInfo style = Model[rowIndex, colIndex]; GridCellRendererBase renderer = CellRenderers[style.CellType]; Gets or sets the outer rectangle after a batch of Invalid calls after a BeginUpdate call. This is for internal use only. Gets PaintSelectCells. Used internally. Gets layout information about the grid such as cell positions, number of visible rows, and more. Provides functions that let you find a cell under a given point. Gets or sets a value indicating whether the column header for the current cell should be highlighted. Gets or sets a value indicating whether the row header for the current cell should be highlighted. Gets or sets for the object in the . Gets or sets for the object in the . Gets a value indicating whether true after WM_IME_STARTCOMPOSITION is sent and False once WM_IME_ENDCOMPOSITION is handled. Gets a value indicating whether true when UpdateWithCustomPaint was called. Occurs when the user is in the process of activating the control with a mouse click. Gets or sets a value indicating whether the control is used in windowless mode. Gets or sets the parent control that implements IGridWindowlessSite. Gets or sets a value indicating whether of the parent control with window handle (see ). Gets or sets a value indicating whether of the parent control with window handle (see ). Gets or sets a value indicating whether the the control is handling a event. Gets a value indicating whether the method has been called. and reset this flag. Gets a value indicating whether the method has been called. and reset this flag. Gets a value indicating whether the has been called. resets this flag. Gets a value indicating whether has been called. resets this flag. Gets a value indicating whether has been called. resets this flag. Gets or sets a value indicating whether inserting and removing cells should be optimized by scrolling window contents and only invalidating new cells. Otherwise the whole area is repainted (this is the default). Gets or sets a value indicating whether it prevents any calls to to have any effect when current cell is being moved or current cell is activated or deactivated. Occurs before a cell is scrolled into view by a ScrollCellInView call. Normally, the current cell is checked if it is inside the visible grid area when certain user events occur such as when a key is pressed or when the grid got focus. The event is called to check whether the specified cell is in view. If the cell is not in view, the grid will scroll the cell into view. You can hook into this mechanism by implementing an event handler for this event. Gets or sets the column index of the left column. Scrolls the grid when changed. Gets or sets the column index of the left column. Scrolls the grid when changed. Occurs before the grid is scrolled when the top row index is changed. Occurs before the grid is scrolled when the left column index is changed. Occurs after the grid has been scrolled when the top row index is changed. Occurs after the grid has been scrolled when the left column index is changed. Gets the current range of the grid excluding header rows and columns. Gets the current range of cells that are scrollable (all rows and columns excluding frozen rows and columns). Gets the pane information. Gets or sets the multiplier for mouse wheel scrolling. Gets or sets the multiplier for the mouse wheel scrolling. Gets a value indicating whether the control has input focus. Gets or sets a value indicating whether if you press the mouse button inside the grid and release the mouse the grid checks whether the current cell is in editing mode. If that is the case it will make sure that focus is moved to the current cell control. This ensures the grid will properly return focus to the current cell if a message box is shown and closed in a custom event handler. If this behavior causes problems you should set this property false. One known issue we found is when you open another MDI form within a CellDoubleClick event, in which case the focus would be set back to the original form. If you run into such a situation set this property false. Occurs before a is raised and allows you to cancel the mouse event. Occurs before a is raised and allows you to cancel the mouse event. Occurs before a is raised and allows you to cancel the mouse event. Occurs when the comment tip window is going to show. Occurs after the comment tip window is shown. Occurs when comment tip indicator is drawing on the cell. Gets a reference to a . Gets or sets the value used to customize the appearance of the . This ThemeStyle settings will be applied only when the VisualStyleBased theme has been applied to the control. Gets or sets the theme name of the control. The default value is null. This ThemeStyle settings will be applied only when the VisualStyleBased theme has been applied to the control. Gets a value indicating whether the visual style based theme is applied to the control and also indicates whether the theme files are referred from external assemblies or not. Return true, if the visual style based theme is applied to the control. Otherwise returns false. Represents the OnBeforeMouseDown, OnBeforeMouseMove, and OnBeforeMouseUp methods. Implements the method to update the covered cell's ranges. Updates the covered cell's ranges in the grid control. Grid control. The object holds covered cell's ranges. Indicating whether the specified ranges should be made covered ranges. Represents the method that handles a cancelable event. The source of the event. An that contains the event data. Provides data about the cancelable event. GridWrapCellNextControlInFormEventArgs is a custom event argument class used by the event to notify you when the grid is about to be left because the user is at the top-left or bottom-right cell and about to tab out of the grid. This event is only raised if the has been specified for . Initializes a new instance of the class. Indicates if next or previous control in form should be selected. When moving to the next control indicates if grid should move current cell to the top-left position. Gets a value indicating whether next or previous control in form should be selected. Gets or sets a value indicating whether if grid should move current cell when moving to the next control. to the top-left position. Represents the method that handles a cancelable event. The source of the event. An that contains the event data. Provides data about the cancelable event. GridDrawCellEventArgs is a custom event argument class used by the event to allow custom drawing of a cell. Set the Cancel property true if you have drawn the cell contents and do not want the grid to proceed with default drawing of the cell. Provides row and column coordinates for cancelable events associated with a specific cell. No events use this class directly but it is used as a base class for several other events related to a specific cell. Initializes a new instance of class. The row index. The column index. Gets the row index. Gets the column index. Initializes a new instance of the class. Graphics context. The cell renderer. Cell boundaries. The row index. The column index. The object that holds cell information. True if the cell background has already been drawn with the interior as specified in the style object. Gets the Graphics context. Gets the Cell boundaries including borders and margins. See in order to calculate client and text rectangles without borders and margins. Gets or sets the that is associated with that cell. Gets or sets the that is associated with that cell. If you do not set to True, this renderer's will get called. Gets the style object associated with that cell. Changes to the style object are allowed. However, these changes will not be saved back in the grid or cached. But, you can make some adjustments to the style object just before the cell is drawn. You cannot change Base Style, Interior, or Cell Type at this time. See for changing interior or other style formatting. Gets a value indicating whether the cell background has already been drawn with the interior as specified in the style object. Represents the method that handles a cancelable event. The source of the event. An that contains the event data. Provides data about the cancelable event. GridDrawCellButtonEventArgs is a custom event argument class used by the event to allow custom drawing of a cell button elements. Set the Cancel property true if you have drawn the cell button elements and do not want the grid to proceed with default drawing of the cell button elements. The event will automatically be called for every button inside a cell. You should handle this event if you want to provide your own drawing of the button. The difference to DrawCellButtonBackground event is that this event is called to draw the whole button, not just its background. Be sure to set e.Cancel to True if you did your own drawing. Initializes a new instances for class. The to be drawn. The context of the canvas. The row index. The column index. True if this is the active current cell; False otherwise. The object that holds cell information. Gets the to be drawn. Gets the context of the canvas. Gets the row index. Gets the column index. Gets a value indicating whether to active current cell. True if this is the active current cell; False otherwise. Gets the object that holds cell information. Represents the method that handles a cancelable event. The source of the event. An that contains the event data. Provides data about the cancelable event. GridDrawCellButtonBackgroundEventArgs is a custom event argument class used by the event to allow custom drawing of a cell button elements background. Set the Cancel property true if you have drawn the cell button element's background and do not want the grid to proceed with default drawing. The event will automatically be called for every button inside a cell. You should handle this event if you want to change for example the background color of pushbuttons and do not want the grid to proceed with its default drawing routine calling ControlPaint.DrawButton. This event supplies you with the current button state that should be drawn. After the background has been drawn, any foreground text will be drawn by the grid. Be sure to set e.Cancel to true if you did your own drawing. The following sample demonstrates drawing a custom cell button element background: public static void Draw3dFrame(Graphics g, int x0, int y0, int x1, int y1, int w, Color rgbTopLeft, Color rgbBottomRight) { Rectangle rc; for (int i = 0; i != w; i++) { // Top Brush brTL = new SolidBrush(rgbTopLeft); rc = Rectangle.FromLTRB(x0, y0, x1, y0+1); g.FillRectangle(brTL, rc); // Left rc = Rectangle.FromLTRB(x0, y0, x0+1, y1); g.FillRectangle(brTL, rc); brTL.Dispose(); Brush brBR = new SolidBrush(rgbBottomRight); // Bottom rc = Rectangle.FromLTRB(x0, y1, x1+1, y1+1); g.FillRectangle(brBR, rc); // Right rc = Rectangle.FromLTRB(x1, y0, x1+1, y1); g.FillRectangle(brBR, rc); brBR.Dispose(); if (i != w-1) { x0++; y0++; x1--; y1--; } } } protected override void OnDrawCellButtonBackground(GridDrawCellButtonBackgroundEventArgs e) { bool drawPressed = (e.ButtonState & ButtonState.Pushed) != 0; Rectangle rect = e.Bounds; Graphics g = e.Graphics; Color hilight = SystemColors.ControlLightLight; Color shadow = SystemColors.ControlDarkDark; if (!drawPressed) { Draw3dFrame(e.Graphics, rect.Left, rect.Top, rect.Right-1, rect.Bottom-1, 1, hilight, shadow); } else { Brush br = new SolidBrush(shadow); g.FillRectangle(br, Rectangle.FromLTRB(rect.Left, rect.Bottom-1, rect.Right-1, rect.Bottom)); g.FillRectangle(br, Rectangle.FromLTRB(rect.Right-1, rect.Top, rect.Right, rect.Bottom)); br.Dispose(); } e.Cancel = true; } Initializes a object. The to be drawn. The context of the canvas. The with the bounds. A that specifies the current state. The object that holds cell information. Gets the to be drawn. Gets the context of the canvas. Gets the with the bounds. Gets a that specifies the current state. Gets the object that holds cell information. Represents the method that handles a cancelable event. The source of the event. An that contains the event data. Provides data about the cancelable event. GridDrawCellBackgroundEventArgs is a custom event argument class used by the event to allow custom drawing of a cell's background. Set the Cancel property true if you have drawn the cell's background and do not want the grid to proceed with default drawing of the cell's background. The event will automatically be called for covered cells and bannered cells. For regular cells, you can force this event by assigning BrushInfo.Empty to the property of a . Otherwise this event will not be called for regular cells because of internal drawing optimizations within the grid. By default the grid optimizes drawing such that the background of neighboring cells with the same color are drawn in one operation. Initializes a new instance of the GridDrawCellEventArgs class. Graphics context. The cell's range. Can be several rows or columns if cell is a covered, floated, merged, or bannered cell. Indicates if this is a bannered cell. Indicates if colored background should be drawn or black and white (see . The object that holds cell information. Cell boundaries. The visible Cell area excluding cell parts that are scrolled out of view. Indicates if the graphics canvas already clips the drawing contents. Gets Graphics context. Gets the cell's range. Can be several rows or columns if cell is a covered, floated, merged, or bannered cell. Gets a value indicating whether this is a bannered cell. Gets a value indicating whether colored background should be drawn or black and white (see . Gets the style object associated with that cell. Changes to the style object are allowed. However, these changes will not be saved back in the grid or cached. But, you can make some adjustments to the style object just before the cell is drawn. You cannot change Base Style, Interior, or Cell Type at this time however. See for changing interior or other style formattings. Gets Cell boundaries including borders and margins. This value in order to calculate client and text rectangles without borders and margins. Gets the visible cell area excluding cell parts that are scrolled out of view. Gets a value indicating whether the graphics canvas already clips the drawing contents. Represents the method that handles a cancelable event. The source of the event. An that contains the event data. Provides data about the cancelable event. GridPrepareViewStyleInfoEventArgs is a custom event argument class used by the event to allow custom formatting of a cell by changing its style object. Set the Cancel property true if you want to avoid calling the associated cell renderer's object method. Changes made to the style object will not be saved in the grid nor cached. This event is called every time a portion of the grid is repainted and the specified cell belongs to the invalidated region of the window that needs to be redrawn. Changes to the style object done at this time will also not be reflected when accessing cells though the models indexer. See . Do not change base style or cell type at this time. The following example shows how you can customize the behavior of the current cell and highlight the whole row instead of just the current cell itself. /// Current cell will be moving from one position to another. protected override void OnCurrentCellMoving(GridCurrentCellMovingEventArgs e) { e.Options |= GridSetCurrentCellOptions.BeginEndUpdate; } /// Highlight the current row. protected override void OnPrepareViewStyleInfo(GridPrepareViewStyleInfoEventArgs e) { if (e.RowIndex > this.Model.Rows.HeaderCount && e.ColIndex > this.Model.Cols.HeaderCount && CurrentCell.HasCurrentCellAt(e.RowIndex)) { e.Style.Interior = new BrushInfo(SystemColors.Highlight); e.Style.TextColor = SystemColors.HighlightText; e.Style.Font.Bold = true; } base.OnPrepareViewStyleInfo(e); } /// Refresh the whole row for the old position of the current cell when it is moved to /// a new row or when current cell is deactivated stand-alone. protected override void OnCurrentCellDeactivated(GridCurrentCellDeactivatedEventArgs e) { // Check if Deactivate is called stand-alone or called from MoveTo and row is moving if (!CurrentCell.IsInMoveTo || CurrentCell.MoveToRowIndex != CurrentCell.MoveFromRowIndex) { RefreshRange(GridRangeInfo.Row(e.RowIndex), GridRangeOptions.MergeAllSpannedCells); } base.OnCurrentCellDeactivated(e); } /// Refresh the whole row for the new current cell position when the current cell is moved /// to a new row or when current cell is activated stand-alone (and there was no activated current cell). protected override void OnCurrentCellActivated(EventArgs e) { // Check if Activate is called stand-alone or called from MoveTo and row is moving base.OnCurrentCellActivated(e); if (!CurrentCell.IsInMoveTo || CurrentCell.MoveToRowIndex != CurrentCell.MoveFromRowIndex || !CurrentCell.MoveFromActiveState) { RefreshRange(GridRangeInfo.Row(CurrentCell.RowIndex), GridRangeOptions.MergeAllSpannedCells); } } Initializes a new object. The row index. The column index. The style object that contains all formatting information of the cell. Gets the style object that contains all formatting information of the cell. Represents the method that handles a cancelable event. The source of the event. An that contains the event data. Provides data about the cancelable event. GridQueryCanOleDragRangeEventArgs is a custom event argument class used by the event to determine whether a specified range can serve as an OLE drag source. The event is fired when the user hovers the mouse over the edge of a selected range. You can disallow the specified range to be used as OLE Data Source when you assign true to . Initializes a new object. The range to be used as OLE data source. Gets the range to be used as OLE data source. Represents the method that handles a cancelable event. The source of the event. An that contains the event data. Provides data about the cancelable event. GridResizingRowsEventArgs is a custom event argument class used by the event when the user is about to resize a row or is in the process of resizing a row. You can disallow the resizing of specific rows at run-time when you assign True to . You can also limit resizing rows to a given maximum value by changing the value. Initializes a new object. The with rows affected by the current user action. The new height of the rows. The originating reason for this event. The appearance of the line that indicates the new size. The appearance of the line that indicates the old boundaries. The mouse location. Gets the with rows affected by the current user action. Gets or sets the new height of the rows. Gets the originating reason for this event. Gets or sets the appearance of the line that indicates the new size. Gets or sets the appearance of the line that indicates the old boundaries. Gets the mouse location. Represents the method that handles a cancelable event. The source of the event. An that contains the event data. Provides data about the cancelable event. GridResizingColumnsEventArgs is a custom event argument class used by the event when the user is about to resize a column or is in the process of resizing a column. You can disallow the resizing of specific columns at run-time when you assign True to . You can also limit resizing columns to a given maximum value by changing the value. Initializes a new object. The with rows affected by the current user action. The new width of the columns. The originating reason for this event. The appearance of the line that indicates the new size. The appearance of the line that indicates the old boundaries. The mouse location. Gets the with rows affected by the current user action. Gets or sets the new width of the columns. Gets the originating reason for this event. Gets or sets the appearance of the line that indicates the new size. Gets or sets the appearance of the line that indicates the old boundaries. Gets the mouse location. Represents the method that handles a cancelable or event. The source of the event. An that contains the event data. Provides data about the cancelable or event. GridSelectionDragEventArgs is a custom event argument class used by the and event when the user is about to drag or is in the process of dragging a selected range of columns or rows. You can disallow the dragging of specific columns or rows at run-time when you assign True to . You can also modify the . Initializes a new object. The range of columns or rows to be dragged. The suggested new position of the dragged rows and columns. The that describes the current state of the user action. Gets the range of columns or rows to be dragged. Gets or sets the suggested new position of the dragged rows and columns. This value is only set when is or . Gets the that describes the current state of the user action. Represents a method that handles a event. The source of the event. An that contains the event data. Provides data about the event when the user clicks a pushbutton cell. GridCellPushButtonClickEventArgs is a custom event argument class used by the event when the user is clicks a pushbutton cell using a mouse click or keyboard. You can disallow the dragging of specific columns or rows at run-time when you assign True to . You can also modify the . Provides row and column coordinates for events associated with a specific cell. Directly used by , , , , and . Used also as base class for several other events related to a specific cell. Initializes a new instance of class. The row index. The column index. Gets the row index. Gets the column index. Initializes a new object. The row index. The column index. Represents a method that handles the event. The source of the event. An that contains the event data. Provides data about the cancelable event. GridCellHitTestEventArgs is a custom event argument class used by the event when the grid performs hit testing of a mouse point inside a cell. The event method is called before the cell renderer does its own hit-testing. If you want to provide your own hit-test value for the cell, you should assign the resulting value to and set to True. Initializes a new object. The row index. The column index. The originating this event. The current controller that requested to handle this mouse event. The cell button that is the target of the current mouse operation or NULL if the cell itself is the target. Non-zero hit context value if you request to handle the mouse event; zero if you vote not to handle the mouse event. Gets the originating this event. Gets the current controller that requested to handle this mouse event. Gets the cell button that is the target of the current mouse operation or NULL if the cell itself is the target. Gets or sets the non-zero hit context value if you request to handle the mouse event; zero if you vote not to handle the mouse event. Represents a method that handles cell-related mouse events such as and . The source of the event. An that contains the event data. Provides data about cancelable cell-related mouse events such as and . GridCellMouseEventArgs is a custom event argument class used by the cell-related mouse events such as and when the grid performs mouse operation for a specific cell. The event method is called before the cell renderer processes the mouse event. If you want to customize the mouse operation and suppress the cell's default mouse processing, you should set to True. Initializes a new instances for class. The row index. The column index. The cell button that is the target of the current mouse operation or NULL if the cell itself is the target. The originating this event. Gets the cell button that is the target of the current mouse operation or NULL if the cell itself is the target. Gets the originating this event. Represents a method that handles the event. The source of the event. An that contains the event data. Provides data about the cancelable event. GridCellCursorEventArgs is a custom event argument class used by the event when the grid queries which cursor to be displayed for a cell. The event method is called before the cell renderer returns its cursor. If you want to provide your own cursor for the cell, you should assign the cursor object to and set to True. Initializes a new instances for class. The row index. The column index. The cell button that is the target of the current mouse operation or NULL if the cell itself is the target. The to be displayed. Gets the cell button that is the target of the current mouse operation or null if the cell itself is the target. Gets or sets the to be displayed. Represents a method that handles , and events. The source of the event. An that contains the event data. Provides data about the cancelable , , and events. GridQueryCellModelEventArgs is a custom event argument class used by the , , and events when the user clicks inside a cell. The event method is called before the cell renderer processes the event (and toggles the check box or positions the caret, sets the current cell, etc.). If you want to abort the current operation at run-time you should assign True to . Initializes a new instances for the class. The row index. The column index. The originating this event. Indicates if the mouse was over a image (see ) in static cell when the mouse was released. Gets the originating this event. Gets a value indicating whether the mouse was over an image (see ) in a static cell when the mouse was released. Represents a method that handles the event that is raised when the user clicks on a cell button element inside a cell. The source of the event. An that contains the event data. Provides data about the cancelable event when the user clicks on a cell button element inside a cell. GridCellButtonClickedEventArgs is a custom event argument class used by the event when the user clicks on a cell button element inside a cell. The event method is called before the cell renderer processes the event (and moves the current cell, drops down a list box, etc.). If you want to abort the current operation at run-time you should assign True to . Otherwise the method of the associated cell renderer is called which will then trigger any actions related to the button. Initializes a new instances for The row index. The column index. The index of the clicked cell button element. A reference to the for the clicked button. Gets the index of the clicked cell button element. Gets a reference to the for the clicked button. Represents the method that handles and events. The source of the event. An that contains the event data. Used by and events. Provides data about the and events. GridRowColIndexChangedEventArgs is a custom event argument class used by the and events. These events are raised after the grid is scrolled. The property indicates if the grid control was successfully scrolled to the new position. Initializes a new instances for the class. The saved or value. Indicates if operation was ended successfully or was aborted. Gets the saved or value. Represents the method that handles , events. The source of the event. An that contains the event data. Used by and events. Provides data about the cancelable and events. GridRowColIndexChangingEventArgs is a custom event argument class used by the and events. These events are raised just before the grid is scrolled. You can disallow the scrolling of the grid at run-time when you assign true to . Initializes a new instances for the class. The new or value. Gets the new or value. This is called from the current cell control's ProcessKeyMessage method and gives you a chance to modify the default behavior of this method. Be aware that this is a very implementation-specific method and you should only handle this event if KeyDown, KeyUp, CurrentCellKeyDown, or CurrentCellKeyUp events are not good enough. This is called from the current cell control's ProcessKeyMessage method and gives you a chance to modify the default behavior of this method. Be aware that this is a very implementation-specific method and you should only handle this event if KeyDown, KeyUp, CurrentCellKeyDown, or CurrentCellKeyUp events are not good enough. Initializes the new instances for class. The active control with focus. The original windows message. Indicates if cell should be scrolled into view. Indicates if ProcessKeyPreview should be called. This will trigger Grid.OnKeyDown and Grid.OnKeyUp events. CurrentCellKeyDown and CurrentCellKeyPress events might also be triggered from Grid's ProcessKeyPreview method. Indicates if base class version of ProcessKeyMessage should be called. This flag will be ignored if callProcessKeyPreview is True. Returns value for ProcessKeyMessage when you set to True. Otherwise this value is ignored. Gets the active control with focus (Read-only). Gets the original windows message (Read-only). Gets or sets a value indicating whether cell should be scrolled into view. Gets or sets a value indicating whether the flag that indicates if ProcessKeyPreview should be called. This will trigger Grid.OnKeyDown and Grid.OnKeyUp events. CurrentCellKeyDown, and CurrentCellKeyPress events might also be triggered from Grid's ProcessKeyPreview method. Gets or sets a value indicating whether the flag that indicates if base class version of ProcessKeyMessage should be called. This flag will be ignored if callProcessKeyPreview is True. Gets or sets a value indicating whether return value for ProcessKeyMessage when you set to true. Otherwise this value is ignored. Represents a method that handles the event. The source of the event. An that contains the event data. Provides data for the event. Used by . occurs before the the current cell is moved into a specific direction. Normally, cells that are not marked as enabled with will be skipped but you can hook into this mechanism by implementing a event handler for this event. See the SampleGrid class in the grid pad sample for an example. Initializes the new instances for the class. The that specifies the direction of the current cell movement. The row index. The column index. Gets or sets the that specifies the direction of the current cell movement. Gets or sets the row index. Gets or sets the column index. Gets or sets a value indicating whether if current cell can be moved in a specified direction. The resulting value. Set this to True if current cell can be moved in a specified direction; False if not. Don't forget to also set Handled to True. Initializes the new instances for the class. The that specifies the direction of the current cell movement. The number of cells to move. Extends the current selection. The row index. The column index. Gets the number of cells to move. Gets a value indicating whether to extend the current selection. Represents a method that handles the event. The source of the event. An that contains the event data. Represents a method that handles the and events. The source of the event. An that contains the event data. Provides the data for the and events. Initializes the new instances for the class. The new scroll position. Gets or sets the new scroll position. Represents a method that handles the and event. The source of the event. An that contains the event data. Provides the data for the and events. Initializes the new instances for the class. Indicates if operation was successful. Represents a method that handles the event. The source of the event. An that contains the event data. Provides data for the row and column in which the tooltip occurs and for the event. Initializes the new instances for the class. The row index. The column index. The object that holds cell information. Gets or sets the row index in which the tooltip needs to be shown. Gets or sets the column index in which the tooltip needs to be shown. Gets or sets the object that holds cell information. Represents a method that handles the event. The source of the event. An that contains the event data. Provides the data for the event which occurs for every cell before the grid draws the display text for the specified cell. Initializes the new instances for the class. Points to the device context. The display text. Specifies the text rectangle. It is the cell rectangle without buttons, borders, or text margins. A reference to the style object of the cell. is need to use text renderer Initializes the new instances for the class. Points to the device context. The display text. Specifies the text rectangle. It is the cell rectangle without buttons, borders, or text margins. A reference to the style object of the cell. Gets or sets points to the device context. Gets or sets the display text. Gets or sets the text rectangle. It is the cell rectangle without buttons, borders, or text margins. Gets or sets a reference to the style object of the cell. Gets the row index Gets the column index Gets the clipping bounds Gets or sets a value indicating whether to use TextRenderer for header rendering or use default graphics for renderering. set "True" to use TextRenderer, else default rendering will take place. TextRenderer can be used to avoid TextSpacing issue if you face any in the header text. Represents a method that handles the event. The source of the event. An that contains the event data. Provides data for the event which occurs before BrushPaint.FillRectangle is called to fill the interior of a rectangle using information. Initializes the new instances for the class. A context. structure that represents the rectangle to fill. object that determines the characteristics of the fill. Gets or sets a context. Gets or sets structure that represents the rectangle to fill. Gets or sets object that determines the characteristics of the fill. Gets the clipping bounds Represents a method that handles the event. The source of the event. An that contains the event data. Provides the data for the event. Used by . occurs before a cell is scrolled into view by a ScrollCellInView call. Normally, the current cell is checked if it is inside the visible grid area when certain user events occur such as when a key is pressed or when the grid got focus. The event is called to check whether the specified cell is in view. If the cell is not in view, the grid will scroll it into view. You can hook into this mechanism by implementing a event handler for this event. Initializes the new instances for the class. The row index. The column index. The reason for scrolling cell into view. Gets or sets the reason for scrolling cell into view. Gets or sets the row index. Gets or sets the column index. Gets or sets a value indicating whether the cell needs to be scrolled into view. The resulting value. Set this to True if cell needs to be scrolled into view; False if not. Don't forget to also set Handled to true. Provides event data for the event which 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 GridModelOptions.UseRightToLeftCompatibleTextBox or if you handle this event you can plug-in a different textbox. Internal only. Gets or sets the TextBoxCellRenderer. Internal only. Gets or sets the Textbox. Internal only. Represents a method that handles the event. The source of the event. An that contains the event data. Provides event data for the event which notifies you that the current cell validation failed and a message is displayed. You can set e.Cancel = true for the event and display your own custom message box. Initializes the new instances for the class. Parent window. Error message. Gets or sets TextBoxCellRenderer the owner that should be passed as argument to the MessageBox.Show call. Gets or sets TextBoxCellRenderer the suggested error text to be displayed. Represents the method that handle the event. The source of the event. An that contains event data. Provides data for the event. Initializes the new instances for the class. The object that is used to draw the comment indicator. The rectangle region that is used to draw the polygon. The brush color that used to fill the polygon. The of the cell. The row index of the cell. The column index of the cell. Gets the object that need to draw the comment indicator for the cell. Gets the of the comment tip cell. Gets the value of a cell bounds. Gets or sets the comment tip indicator bounds. Represents the method that handle the cancel-able event. The source of the Event. An that contains the event data. Provides data for the event. is a custom event argument class used by the event to restrict or customize the appearance of the comment tip window. Initializes the new instances for the class. The that displays the comment text. The of the cell. The row index of the comment tip cell. The column index of the comment tip cell. Gets or sets the comment tip window. Gets the of the comment tip cell. Represents the method that handle the event. The source of the Event. An that contains the event data. Provides data for the event. is a custom event argument class used by the event to restrict or customize the appearance of the CommentWindow. Initializes the new instances for the properties of class. The GridCommentWindow that displays the comment text. The of the CommentInfo cell. The row index of the comment tip cell. The column index of the comment tip cell. Gets the comment tip window. Gets the of the comment tip cell. Used by GridSelectCellsMouseController. Returns boolean value Manages the current cell for a grid. Provides methods for activating, deactivating, and moving the current cell. Use the property of the class to get access to the instance associated with a grid. The class raises events in the associated grid to give you a chance to adjust the current cell's behavior at any stage. The following example shows how you can customize the behavior of the current cell and highlight the whole row of the current cell instead of just the current cell itself: /// Current cell will be moving from one position to another. protected override void OnCurrentCellMoving(GridCurrentCellMovingEventArgs e) { e.Options |= GridSetCurrentCellOptions.BeginEndUpdate; // Instead of GridSetCurrentCellOptions.BeginEndUpdate we could also // sandwich the call in a Begin/EndUpdate pair ourselves ... //BeginUpdate(BeginUpdateOptions.InvalidateAndScroll); } /// Completes a current cell's MoveTo operation indicating success. protected override void OnCurrentCellMoved(GridCurrentCellMovedEventArgs e) { base.OnCurrentCellMoved(e); //EndUpdate(); } /// Completes a current cell's MoveTo operation indicating failure. protected override void OnCurrentCellMoveFailed(GridCurrentCellMoveFailedEventArgs e) { base.OnCurrentCellMoveFailed(e); //EndUpdate(); } /// Highlight the current row. protected override void OnPrepareViewStyleInfo(GridPrepareViewStyleInfoEventArgs e) { if (e.RowIndex > this.Model.Rows.HeaderCount && e.ColIndex > this.Model.Cols.HeaderCount && CurrentCell.HasCurrentCellAt(e.RowIndex)) { e.Style.Interior = new BrushInfo(SystemColors.Highlight); e.Style.TextColor = SystemColors.HighlightText; e.Style.Font.Bold = true; } base.OnPrepareViewStyleInfo(e); } /// Refresh the whole row for the old position of the current cell when it is moved to /// a new row or when current cell is deactivated stand-alone. protected override void OnCurrentCellDeactivated(GridCurrentCellDeactivatedEventArgs e) { // Check if Deactivate is called stand-alone or called from MoveTo and row is moving. if (!CurrentCell.IsInMoveTo || CurrentCell.MoveToRowIndex != CurrentCell.MoveFromRowIndex) { RefreshRange(GridRangeInfo.Row(e.RowIndex), GridRangeOptions.MergeAllSpannedCells); } base.OnCurrentCellDeactivated(e); } /// Refresh the whole row for the new current cell position when the current cell is moved /// to a new row or when current cell is activated stand-alone (and there was no activate current cell). protected override void OnCurrentCellActivated(EventArgs e) { // Check if Activate is called stand-alone or called from MoveTo and row is moving base.OnCurrentCellActivated(e); if (!CurrentCell.IsInMoveTo || CurrentCell.MoveToRowIndex != CurrentCell.MoveFromRowIndex || !CurrentCell.MoveFromActiveState) { RefreshRange(GridRangeInfo.Row(CurrentCell.RowIndex), GridRangeOptions.MergeAllSpannedCells); } } Initializes the object, attaches it to a grid, and subscribes to events. The parent grid for this object. Returns a string that represents the current object. A string that represents the current object. Disposes the unmanaged resources. Invoked when has changed. The source of the event. An that contains the event data. Invoked before current cell is synchronized. The current cell. An that contains the event data. Invoked when has changed. The grid control. An that contains the event data. Lets you temporarily "lock" the current cell. While a current cell is locked, any attempts to move, deactivate, save, or activate the current cell will fail. Unlocks a temporarily "locked" current cell with . Invalidates the grid window area where the current cell is positioned. Moves the current cell down and optionally selects cells. Moves the current cell down to the next enabled row. See for a discussion about the order of events that you receive when the current cell is moved. Moves the current cell down to the next enabled row after skipping a specified number of rows. The number of rows to move. Moves the current cell down to the next enabled row after skipping a specified number of rows and selects the cells. The number of rows to move. Extends the current selection. Moves the current cell up and optionally selects cells. Moves the current cell up to the next enabled row. See for a discussion about the order of events that you receive when the current cell is moved. Moves the current cell up to the next enabled row after skipping a specified number of rows. The number of rows to move. Moves the current cell up to the next enabled row after skipping a specified number of rows and selects the cells. The number of rows to move. Extends the current selection. Moves the current cell left and optionally selects cells. Moves the current cell left to the next enabled column. See for a discussion about the order of events that you receive when the current cell is moved. Moves the current cell left to the next enabled column after skipping a specified number of columns. The number of columns to move. Moves the current cell left to the next enabled column after skipping a specified number of columns and selects the cells. The number of columns to move. Extends the current selection. Moves the current cell right and optionally selects cells. Moves the current cell right to the next enabled column. See for a discussion about the order of events that you receive when the current cell is moved. Moves the current cell right to the next enabled column after skipping a specified number of columns. The number of columns to move. Moves the current cell right to the next enabled column after skipping a specified number of columns and selects the cells. The number of columns to move. Extends the current selection. Moves the current cell up one page and optionally selects cells. Moves the current cell up one page to the next enabled row. See for a discussion about the order of events that you receive when the current cell is moved. Moves the current cell up one page to the next enabled row. Extends the current selection. Moves the current cell down one page and optionally selects cells. Moves the current cell down one page to the next enabled row. See for a discussion about the order of events that you receive when the current cell is moved. Moves the current cell down one page to the next enabled row. Extends the current selection. Moves the current cell in a given direction skipping a specified number of cells and optionally selecting the cells. Moves the current cell in a given direction skipping a specified number of cells and optionally selecting the cells. The that specifies the direction of the current cell movement. The number of cells to move. Extends the current selection. Indicates if grid should move to beginning of next row when at end of row or vice versa. True if the current cell was moved to a new position; False otherwise (e.g. if current cell is at first row and you tried to move up). Moves the current cell in a given direction skipping a specified number of cells and optionally selecting the cells. The that specifies the direction of the current cell movement. The number of cells to move. Extends the current selection. True if the current cell was moved to a new position; False otherwise (e.g. if current cell is at first row and you tried to move up). Moves the current cell in a given direction skipping a specified number of cells and without selecting the cells. for a method that also selects cells. The that specifies the direction of the current cell movement. The number of cells to move. The that specifies the options for current cell movement. True if this operation successfully completes. Adjusts the row index and column index if the cell belongs to a covered range. In that case, the top left cell coordinates are returned. The row index. The column index. This example shows how to adjust the row index and column index, if it is covered. //Adjust the row and column index if it is covered cell. int row = this.gridControl1.CurrentCell.RowIndex; int col = this.gridControl1.CurrentCell.ColIndex; this.gridControl1.CurrentCell.AdjustRowColIfCoveredCell(ref row, ref col); 'Adjust the row and column if it is covered cell. Dim row As Integer = Me.gridControl1.CurrentCell.RowIndex Dim col As Integer = Me.gridControl1.CurrentCell.ColIndex Me.gridControl1.CurrentCell.AdjustRowColIfCoveredCell(row, col) Gets the movement direction. In which row,scrollbar should be visible. In which column,scroll bar should be visible. Returns the direction. Deactivates the current cell and confirms or rejects changes made to the current cell. True if changes can be discarded; False otherwise. True if current cell can be deactivated; False otherwise. raises a cancelable event. If the event handler set the flag of the object, the method will return. Next, it checks if the cell is modified and depending on the value of the discardChanges parameter, it tries to confirm changes by calling or discarding changes by calling . Also, any open drop-down windows will be closed at this time. Above method calls will raise then and or events followed by a event if the cell was in editing mode. After the changes have been saved or canceled, the cell area is invalidated and a event is raised which completes this operation. If an exception occurred or if a event handler requested to cancel the operation, will instead close the operation with a event. This ensures that you will get guaranteed either a or event after a event. When current cell has been deactivated, the property will be false indicating the grid has no active current cell at this time. Get or set the error message in the current cell. Finished up editing mode for the current cell. Close any open drop-down windows. If the current cell was modified, the method tries to confirm changes by calling . If the changes can not be confirmed an exception is shown with as exception text. If changes are confirmed, a event is raised. Confirms any pending changes for the current cell. Confirms any pending changes for the current cell and closes any open drop-down windows. True if changes could be saved or if current cell was not modified; False if saving the changes failed. If the current cell was modified, the method raises a event and if the contents are valid the cell renderers are called to save the changes. After changes have been successfully confirmed to the grid, a event is raised. Confirms any pending changes for the current cell. Specifies where any open drop-down windows should be closed. True if changes could be saved or if current cell was not modified; False if saving the changes failed. Cancels editing for the current cell and discards any changes. Close any open drop-down windows. If the current cell was modified, the method calls which triggers a event. After the cell renderer has been asked to stop editing, a event is raised. Discards any changes for the current cell. Close any open drop-down windows. Calls the cell renderer's method and resets the flag. After the cell renderer has been asked to discard changes, a event is raised. Activates the current cell at the specified position. Activates the current cell at the specified position. The row index. The column index. True if activating the current cell was successful; False otherwise. raises a cancelable event. If the event handler set the flag of the object, the method will return. gives you also the chance to modify the parameters of the function call. You can modify the row and column index and the options. Next, it calls the cell renderer's before it stores internally the new row and column index and marks the cell as activated. Then it invalidates the screen area for the specified cell and calls the cell renderer's method. At last, a event is raised which completes this operation. If an exception occurred or if a event handler requested to cancel the operation, will instead close up the operation with a event. This ensures that you will get guaranteed either a or event after a event. Activates the current cell at the specified position. The row index. The column index. A value that details options how to activate the current cell. You can specify if the associated control should get focus, if range selection should be ignored and more. True if activating the current cell was successful; False otherwise. Starts editing mode for the current cell. You check to query if the current cell is in editing mode. The method calls the cell renderer's method and thereby requests that current cell sets shows and focus to an associated . The text box cell for example, will make its visible and set the focus. Also, the current cell will be scrolled into view. True if current cell supports editing; False otherwise. Starts editing mode for the current cell. Starts editing mode for the current cell and allows setting the focus to the cell editor. Specifies if focus can be set to the cell editor. True ifediting can proceed; False if it is aborted. Moves the current cell to the specified position. Moves the current cell to the specified position and gives instruction about activation of the current cell. Changes may be discarded in the previous current cell. The row index. The column index. A value that details options how to activate the current cell. You can specify if the associated control should get focus, if range selection should be ignored and more. True if changes can be discarded; False otherwise. True if the current cell could be moved; False otherwise. Moving the current cell is a two step process. In the first step, the grid deactivates the existing current cell, in the second step the grid activates the new current cell. All parameters that were specified in this method call will be saved. This allows event handler to have better background knowledge why certain events were raised. You can determine if was called stand-alone or as result of a call by checking the property. You can find out about the current cell's position by querying the and properties of the object in . After saving parameter information raises a cancelable event. If the event handler set the flag of the object, the method will return immediately. gives you the chance to modify the parameters of the function call. You can modify the row and column index and the options. The next step is to deactivate the current cell. See for a detailed overview what events will get raised from . After the cell has been deactivated, the current cell will be activated at the new position. See the method for information which events are raised. If the option is specified no current cell will be activated. You can sandwich the deactivation and activation process with a BeginUpdate, EndUpdate call pair if you specify the option. At last, a event is raised which completes this operation. If an exception occurred or if an event handler requested to cancel the operation, will instead close up the operation with a event. This ensures that you will be guaranteed either a or event after a event. Moves the current cell to the specified position. A that holds new row and column index for the current cell; if it is only the current cell will be deactivated. True if the current cell could be moved; False otherwise. Moves the current cell to the specified area and gives instruction about activation of the current cell. A that holds new row and column index for the current cell; if it is only the current cell will be deactivated. A value that details options how to activate the current cell. You can specify if the associated control should get focus, if range selection should be ignored and more. True if the current cell could be moved; False otherwise. Moves the current cell to the specified area and gives instruction about activation of the current cell. Changes may be discarded in the previous current cell. A that holds new row and column index for the current cell; if it is only the current cell will be deactivated. A value that details options how to activate the current cell. You can specify if the associated control should get focus, if range selection should be ignored and more. True if changes can be discarded; False otherwise. True if the current cell could be moved; False otherwise. Sets internally the new position of a current cell, but does not activate it. The row index. The column index. Sets and but will be False. Resets internally the current cell, but does not deactivate it. will be False. Sets internally the new position of a current cell, but does not activate it. The row index. The column index. Sets and /. will be True afterwards. Moves the current cell to the specified position. The row index. The column index. True if the current cell could be moved; False otherwise. Moves the current cell to the specified area and gives instruction about activation of the current cell. The row index. The column index. A value that details options how to activate the current cell. You can specify if the associated control should get focus, if range selection should be ignored and more. True if the current cell could be moved; False otherwise. Refreshes the current cell and forces it to repaint. If the current cell is not modified, this method will deactivate and reactivate current cell. Deactivates and reactivates the current cell. Validates the contents of the current cell. If contents are invalid or if an exception is thrown, a message is stored in . Raises the cancelable event and calls the renderer's method. If contents are valid, will be raised afterwards. Resets error information for the current cell. Hides or shows the drop-down window. Shows the drop-down window. Calls and afterwards the renderer's method. Closes the drop-down window. The reason lets you specify if the popup is closed because your application is being deactivated or because the user clicked in the grid and changes in the current cell should be confirmed. Calls the renderer's method. Scrolls the current cell into view. true if operation could be completed; false if there is no active current cell. Scrolls the current cell into view. True if operation could be completed; False if there is no active current cell. Displays the warning text.Used internally. This call does not have any effect. Just make sure you have CausesValidation = false. Used internally. Suspends raising events. Resumes raising events. Used internally. Raises the method. The holds the grid control. Used internally. Raises the method. The holds the grid control. Used internally. Raises the method. The holds the grid control. Used internally. Raises the method. Used internally. Determines whether the NotifyChanging event is triggered or not. Returns boolean value NotifyChanging Determines the next enabled cell when current cell wants to move into a given direction. Cells that are not marked as enabled with will be skipped. The that specifies the direction of the current cell movement. The row index. The column index. True if an enabled cell was found; False otherwise. This method will not raise the event. Instead you can call this method from your QueryNextMoveCell event handler to find out about the next enabled cell and then decide on further criteria if the suggested cell is good. You should call instead if you want the event to be raised. Updates the Grid table after removed a row. From which row index, rows are removed. To which row index,rows are removed. Updates the Grid table after removed the columns. From which column index,columns are removed. To which column index,columns are removed. Update the moved rows. Starting position of the row to be moved. Target position of the row to be moved. Target row to move the rows. Update the moved columns. Starting position of the column to be moved. Target position of the column to be moved. Target row to move the columns. Update the inserted rows. Row index of the inserted row. Rows count of grid table. Returns position of the current cell together with a boolean if the current cell is active or not. Returns position of the current cell together with a boolean if the current cell is active or not. The row index of the current cell. The column index of the current cell. True if grid has active current cell; False otherwise. Returns position of the current cell together with a boolean if the current cell is active or not. The row index of the current cell. The column index of the current cell. True if current cell should also be returned when is True. True if grid has active current cell; False otherwise. Checks if the current cell is active at a specified position in the grid. Checks if the current cell is active and at the specific row index. The row index. True if current cell was found at row index; False otherwise. Checks if the current cell is active and at the specific row and column index. The row index. The column index. True if current cell was found at row and column index; False otherwise. Checks if the current cell is active and at the specific row and column index. The row index. The column index. True if current cell should also be returned when is True. True if current cell was found at row and column index; False otherwise. Gets the Gets or sets a value indicating whether StaticDrawing. Used internally. Gets or sets StaticRenderControl. Used internally. Gets or sets a value indicating whether InternalHide. Used internally. Gets a string with debug information. Gets or sets the value. Gets or sets ExternalMove. Used by GridSelectCellsMouseController. Gets a value indicating whether the current cell's state is "locked". If the current cell is locked, any attempts to move, deactivate, save, or activate the current cell will fail. Gets or sets the row and column index of the current cell as a . Changing this property will trigger a call to . When the value is , the current cell will be deactivated. if is not emptyand width and height is greater than 1. Gets a value indicating whether the current cell is shown in the current view. True if scrolled into view; False if outside current view. Gets or sets a value indicating whether RaiseException IfNested Active Or Deactivate. Used internally. Gets or sets the custom error message to replace the default error message. Gets or sets the custom SetError message for validation of current cell. Gets or sets the error message with reason why deactivation or validation of current cell failed. Gets or sets a value indicating whether to show or hide the Message box with the error message. Gets or sets a value indicating whether to show or hide the error Icon in the current cell if the validation is failed. Gets or sets the exception that causes failure of deactivation or validation of current cell. Gets a value indicating whether true when was called; False after method returned. Gets a value indicating whether this will be set true when MoveTo is finishing and when CurrentCellMoved event is raise. IsInMoveTo is still true at that time, but you can check MoveToDone whether the operation has ended. Gets a value indicating whether there was an activated current cell at the time that was called. Gets the target row index of the current method call. Gets the target column index of the current method call. Gets the of the current method call. Gets the saved row index information about the previous position of the current cell at the time that was called. Gets the saved column index information about the previous position of the current cell at the time that was called. Gets a value indicating whether is in progress. MoveTo saves information about the current cell state and its target cell so that events can more easily compare previous and new states of the current cell during calls. If stand-alone Activate and Deactivate calls were made (if these calls where initiated outside from MoveTo) you can't use any of these properties. But in that case, the and events supply sufficient information about the intended action and you can query , , and for the current state. Gets a value indicating whether the grid has an active current cell. Gets or sets a value indicating whether the current cell should be activated when the grid gets the focus. The grid will set this property when it loses focus so that it later knows if a current cell should be activated when it gets focus again. Gets a value indicating whether the grid has an active current cell. Gets a value indicating whether the current cell is in editing mode. Gets or sets a value indicating whether success of the latest method call. Gets a value indicating whether the drop-down window of a current cell is dropped-down. Gets a value indicating whether dropdown window should be shown or not. Gets or sets a value indicating whether a is displayed in the current cell and if it is focused. Gets or sets a value indicating whether there are pending changes in the current cell. Gets or sets a value indicating whether the current cell's event is being handled. Gets a value indicating whether raising events is temporarily disabled. Gets the row index. Gets the column index. Gets the of the current cell. Gets the of the current cell. Gets a value indicating whether is in progress. The event gives information about the intended action and you can query and for the current state. will be false at the time when is called. Gets a value indicating whether IsInActivated. Used internally. Gets a value indicating whether is in progress. The event gives information about the intended action and you can query and for the current state. will be true at the time when is called. Gets a value indicating whether IsInConfirmChanges. Used internally. Gets a value indicating whether IsInAcceptedChanges. Used internally. Gets a value indicating whether IsInEndEdit. Used internally. Gets a value indicating whether or is in progress. Represents the method that handles a event. The source of the event. An that contains the event data. Provides data about the cancelable event. The GridCurrentCellValidateStringEventArgs is a custom event argument class used by the event that notifies you when the user types text into the current cell. To restrict user input into the current cell while entering text, you can set to True. Initializes the new instances for the class. The text that will be entered into the current cell. Gets the text that will be entered into the current cell. Represents the method that handles a event. The source of the event. An that contains the event data. Provides data about the event. The GridCellInitializeControlTextEventArgs is a custom event argument class used by the event that notifies you that the current cell is initialized with text to be displayed in the associated control, e.g. a text box control. Initializes the new instances for the class. The row index. The column index. Style information. The cell value that is assigned to the cell renderer. The text that should be displayed in the active cell. Gets the row index. Gets the column index. Gets Style information. Gets the cell value that is assigned to the cell renderer. Gets or sets the text that should be displayed in the active cell. Represents the method that handles a event. The source of the event. An that contains the event data. Provides data about the event. The GridCurrentCellDeactivatedEventArgs is a custom event argument class used by the event that notifies you that the current cell has been deactivated at the specified cell position. Initializes the new instances for the class. The row index. The column index. Represents the method that handles a event. The source of the event. An that contains the event data. Provides data about the event. The GridCurrentCellActivateFailedEventArgs is a custom event argument class used by the GridCurrentCell.CurrentCellActivateFailed"/> event that notifies you that the current cell could not be activated at the specified cell position. may hold an error message why the operation failed. Initializes the new instances for the class. The row index. The column index. Represents a method that handles a cancelable event. The source of the event. An that contains the event data. Provides data about the cancelable event before the grid activates the specified cell as current cell. You can disallow the activation of specific cells at run-time when you assign True to . You can modify the and to activate a different cell. You can determine if was called stand-alone or as result of a call by checking the property. Once the current cell has been activated, a event is raised or a if activating the specified cell failed. See for a discussion about the order of events that you receive when the current cell is moved. Initializes the new instances for the class. The row index. The column index. The options specified for the operation. Gets or sets the options specified for the operation. Gets or sets the row index. Gets or sets the column index. Represents a method that handles the cancelable event. The source of the event. An that contains the event data. Provides data about the cancelable event before the current cell is moved to a new position as a result from a method call. The GridCurrentCellMovingEventArgs is a custom event argument class used by the event when the current cell is about to be moved to a new position. You can disallow the activation of specific cells at run-time when you assign true to . You can modify the and to activate a different cell. You can also modify the . Once the current cell has been moved, a event is raised or a if moving to the specified target cell failed. See for a discussion about the order of events that you receive when the current cell is moved. Initializes the new instances for the class. The row index. The column index. The options specified for the operation. Represents a method that handles the event. The source of the event. An that contains the event data. Provides data about the event after the current cell was successfully moved to a new position. GridCurrentCellMovedEventArgs is a custom event argument class used by the event when the current cell has been successfully moved to a new position. See for a discussion about the order of events that you receive when the current cell is moved. Initializes the new instances for the class. The options specified for the operation. Gets the options specified for the operation. Represents a method that handles the event. The source of the event. An that contains the event data. Provides data about the event when the current cell fails to be moved to a new position. GridCurrentCellMoveFailedEventArgs is a custom event argument class used by the event when the current cell fails to be moved to a new position. See for a discussion about the order of events that you receive when the current cell is moved. may hold an error message why the operation failed. Initializes the new instances for the class. The row index. The column index. The options specified for the operation. Gets or sets the options specified for the operation. Gets or sets the row index. Gets or sets the column index. Represents a method that handles the event. The source of the event. An that contains the event data. Provides data about the event when the grid draws a border around the current cell. By default, the grid will draw a black rectangle around the current cell. If the grid does not have focus, GridFocused is False and the grid will draw a dashed border. If you handle this event and implement your own drawing for the current cell border, you should set to True. Initializes the new instances for the class. The row index. The column index. The graphics context. The bounds of the cell rectangle. Indicates if grid has focus. The style information for the current cell. The settings how and when the current cell border should be drawn. Gets the graphics context. Gets the bounds of the cell rectangle. Gets a value indicating whether grid has focus. Gets the style information for the current cell. Gets the settings how and when the current cell border should be drawn. Represents a method that handles the event. The source of the event. An that contains the event data. Provides data about the cancelable event when the grid drops-down the drop-down portion of the current cell. The event will provide a suggested size of the drop-down control. You can change the default size in your event handler by changing the property. Please note however that some drop-down controls might override the suggested height with their own preferred height. The and methods both provide a property that defines the number of visible rows. To abort the drop-down operation, set to True. If you need to get access to the cell renderer, you can use the property of the object. The object also holds style information and row and column index. See the cell renderer for properties to access the drop-down container and drop-down part. Initializes the new instances for the class. The suggested size for the drop-down control. You can change this size in your event handler. Gets or sets the suggested size for the drop-down control. You can change this size in your event handler. Implements the outline border for header cells. Initializes the new instances for the class. Draws the outline border for current cell header. Current row index. Current column index. direction. Gets the Header state of table. Current cell renderer. Current row index. Current column index. The object holds the view style information. Implements the functionality for drawing the . Initializes the new instances for the class. Grid control. Draws the grid. An that contains the event data. Draws the grid table. object holds the grid bounds. indicates whether the grid should be clipped. Draws the grid table. The object represents a GDI+ drawing surface. Boolean value that indicates whether the grid should be clipped. A object holds grid table bounds. Draws the rows and columns of the grid table. Top row index. Left column index. Last row index. Last column index. A object represents a GDI+ drawing surface. A object holds grid table bounds. Gets the rectangle bounds of a cell. The x-coordinate, in pixels. The y-coordinate, in pixels. Width of the cell. Height of the cell. An instance of the . Gets the Cell rectangle. Cell bounds. Returns the cell rectangle. Loads the kinds of cells in the table. An object provides the values to draw the cells. Row index. Column index. Gets the of the grid cells. Row index. Column index. Indicating whether force the Query cell style information. Returns the grid style. Loads the kinds of cells in the table. A object provides the values to draw the cells. Row index. Column index. The object holds the background style of a grid or cell. Width of the cell. Height of the cell. The total cells to be bannered. Draws the background style for the cells. A object provides the values to draw the cells. Current row index. Top value of the rectangle. Left value of the rectangle. Bottom value of the rectangle. Right value of the rectangle. Draws the internal cells. A object provides the values to draw the cells. Row index. Column index. Indicating whether current cells is spanned or not. Draws the vertical borders of the grid table. A object provides the values to draw the cells. Column index. Top row index. Bottom row index. Draws the horizontal borders of the grid table. A object provides the values to draw the cells. Row index. Left column index. Right column index. Draw the borders for grid. The object represents a GDI+ drawing surface. A object holds grid table bounds. View style. Fills the interior of the rectangle. The object represents a GDI+ drawing surface. A object holds grid table bounds. The hold the interior style to fill the grid or cells. Draws the invert cells. The context of the canvas. Row index. Column index. object holds grid table bounds. True if method was called from within for this control. Inverts the rectangle. The context of the canvas. A object holds grid table bounds. Fills the cell rectangle. The context of the canvas. A object holds grid table bounds. Draws the 3D frame of the grid. Loads the bannered cells in the grid table. The grid control. An instance. Row index. Column index. Returns boolean value whether to load bannered cells. Loads the spanned cells in the grid table. The grid control. An instance. Row index. Column index. Returns boolean value whether to load spanned cells. Draws the spanned cells in the grid table. The grid control. An instance. Row index. Column index. Returns boolean value whether to draw spanned cells. Implements drawing bits (used in OnDrawClientRowCol). Implements the functionality for drawing the grid structure. Disposes the unmanaged resources. Implements the functionality to redraw the selected range of grid cells. Provides the , methods for drawing the selection cells. Used internally. Used internally. Used internally. Initializes a new instance of the class and associates it with a grid. The grid control. Used internally.Updates the selected range of the cells. Used internally.Clears the selection of the cells. Used internally.Changes the selection of the cells. Holds temporary information related to printing. This class will change in future versions. Used internally. Used internally. Used internally. Used internally. Used internally. Used internally. Used internally. OnGridPrint will check m_bPrintPaintMsg and redraw the whole grid later. Used internally. Initializes a new instances of the class. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Gets or sets a value indicating whether the column headers should be printed on all pages or not. Default value is True. If false, the column headers will be printed only on first page. Otherwise, the column headers will be printed on all pages. GridScroll implements scrollbar logic for GridControlBase. See GridControlBase.HScrollBehavior and GridControlBase.VScrollBehavior. Converts the value of this instance to its equivalent string representation. The string representation of the value of this instance Determines whether get next row index. Row index. Returns the boolean value whether to get next row index. Determines whether get next row index. Row index. Indicating whether skip the hidden rows. Returns the boolean value whether to get next row index. Gets the next row index. current row index. Indicating whether skip the hidden rows. Returns the next row index. Determines whether get previous row index. Current row index. Returns the boolean value whether to get next row index. Gets the Previous row index. Current row index. Returns the previous row index. Determines whether the scroll position differs at the current row. First row. Last row. Returns the boolean value to indicate the scroll positions changed. Determines whether row index differs at the scroll positions. First row. Last row. Returns the boolean value to indicate the row index changed. Determines whether get next column index. Current column index. Returns the boolean value whether to get next column index. Determines whether get next column index. Current column index. Indicating whether skip the hidden columns. Returns the boolean value whether to get next column index. Get next column index. Current column index. Indicating whether skip the hidden columns. Returns the next column index. Determines whether get previous column index. Current column index. Returns the boolean value whether to get previous column index. Gets previous column index. Current column index. Returns the previous column index. Determines whether the scroll position differs at the current column. Left column. Right column. Returns the boolean value to indicate the scroll positions changed. Determines whether column index differs at the scroll positions. Left column. right column. Returns the boolean value to indicate the column index changed. Gets the maximum row scroll position. Returns the maximum row scroll position. Gets the row index from scroll position. Current scroll position. Returns the row index. Gets the scroll position from the row index. Current row index. Returns the scroll position. Sets the fixed row count for the grid. Sets the fixed column count for the grid. Fixes the horizontal scroll bar position. Fixes the Vertical scroll bar position. ReCalculates the hidden row. Top row index. Bottom row index. ReCalculates the hidden column. Left column. Right column. Recalculates the hidden rows and columns. Grid control. Hides the rows. Row index. Row counts. Shows the rows. Row index. Row counts. Gets the maximum column scroll position. Returns the maximum column scroll position. Gets the column index from scroll position. Current scroll position. Returns the column index. Gets the scroll position from the column index. Current column index. Returns the scroll position. Hides the columns. Column index. Column counts. Shows the columns. Column index. Column counts. Gets the maximum row scroll position. Hidden rows excluded. Returns the maximum scroll position. Gets the row index from the scroll position. Current scroll position. Returns the row index. Gets the Scroll position from the row index. Current row index. Returns the scroll position. Ensures the scroll positions based on the row index. Scroll positions. Ensures the row indexes based on the scroll position. Row index. Recalculates the hidden row. Top row index. Bottom row index. Recalculates the hidden column. Left column. Right column. Hides the rows. Row index. Row counts. Hides the rows. Row index. Row counts. Performs the dumping of columns. Shows the columns. Column index. The count to scroll. Performs to scroll the old position of the columns. Column index. Counts to be scrolled. Initializes a new instance of the class with the specified grid control. Wires the necessary events for scrolling. Unwires the events after the scrolling is done. Manages the unwanted resources. Process the message between the control and the renderer. The message to be processed. Occurs when the Horizontal scroll bar is scrolled. The Control. The contains the event data. Performs the scroll specified in the intellisense window of the mouse. The Control. The contains the event data. Occurs when the Vertical scroll bar is scrolled. The Control. The contains the event data. Occurs when the Horizontal scroll bar value gets changed. The Control. The contains the event data. Occurs when the Vertical scroll bar value gets changed. The Control. The contains the event data. Gets the current cell bounds. An instance of the class. Row index. Column index. The current cell bounds. Determines whether to scroll or not depending on the pixel values. The direction to scroll. The pixel value. True scrolling is done; Otherwise False. Reverses the Horizontal scroll bar value in RTL mode. The horizontal scroll bar value. The reversed value of the horizontal scroll bar. Determines whether to scroll or not depending on the scroll values of the scroll bars. The direction to scroll. Number of cells to be scrolled. True scrolling is done; Otherwise False. Updates the scroll bars and it is re-drawn. Updates the scroll bars depending on the scroll bar to be re-drawn or not. Boolean Value. IfTrue the scroll bar is re-drawn; Otherwise False. Updates the scroll bar depending on the value to be re-draw or only if the dimension had changed. Boolean value; IfTrue the scroll bar is re-drawn. Otherwise False. Boolean value; If True the dimension had changed. Otherwise False. Get the scroll bar visiblity based on the grid bounds. Scroll area bounds. provide VScroll/HScroll visible row heights or column widths. Scroll position. Gets or sets the top row position of the scroll bar. Gets or sets the vertical scroll bar position. Gets or sets the left position of the horizontal scroll bar. Gets or sets the horizontal scroll bar position. Gets results of ToString method. Gets the value indicating whether to switch back to old logic used for hiding rows or columns in case of any compatibility problems (logic was changed after 4.2) Gets or sets the value of the Horizontal scroll settings. Gets or sets the Vertical scroll settings. Use this class if you have an array of rows or column elements and you want to be able to hide a range of rows or columns. The class uses binary trees to map from original to visible position and vice versa. Constructs the class and initializes the internal tree. Hides a specified range of rows or columns The raw index for the first element> The raw index for the last element Shows a specified range of rows or columns The raw index for the first element> The raw index for the last element Gets the raw index for a visible position The visible position of the element. The raw index. Gets the visible position for an element The raw index of the element. The visible position. If the element at the specified raw index is hidden, the method returns the visible position of the previous element. Checks whether the column at the specified raw index is hidden. The raw index of the element. true if hidden; false otherwise. Gets or sets the raw number of rows or columns. Gets the actual visible number of rows or columns. Gets or sets whether the specified element is visible. The raw index for the element true if visible; false if hidden. Defines how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. Get the whole rectangle of the cell including the parts that are above the visible scroll area when pixel scrolling is enabled and cells are only partially visible. Get only the visible rectangle of the cell excluding the parts that are above the visible scroll area when pixel scrolling is enabled and cells are only partially visible. Implements the Grid layout view. Whenever changes are made to the view or the grid is scrolled, all information in this class is refreshed. You get access to this class with the property of a . Initializes the new instances of the class and associates it with a grid. The grid control. Prevent subsequent calls to method from clearing the layout information. Use this if you want to optimize Invalidate / Update calls. Updates a single cell and avoids ViewLayout being reinitialized. this.gridControl1.ViewLayout.Lock(); GridRangeInfo cell = GridRangeInfo.Cell(row, col); Rectangle bounds = gridControl1.RangeInfoToRectangle(cell); this.gridControl1.Invalidate(bounds); this.gridControl1.Update(); this.gridControl1.ViewLayout.Unlock(); Restores correct method behavior after a call to was made. See for a C# example. Disposes the unmanaged resources. Invoked while grid window is scrolling. The source of the event. An that contains the event data. Call this method when layout information needs to be refreshed. Used internally. Determines whether the grid is in RTL mode. Initializes the grid. Invoked when grid layout is changed. An that contains the event data. Searches the highest value. Searches the lowest value. Returns client row and column indexes under a window rectangle. Returns client row and column indexes under a window rectangle. The window region for which your client row and columns should be determined. A place holder where the upper client row index is returned. A place holder where the left (RTL: right) client column index is returned. A place holder where the bottom client row index is returned. A place holder where the right (RTL: left) client column index is returned. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. This example how to get the rectangle of the client row and column. GridRangeInfo range; int topRow,leftCol,bottomRow,rightCol; //Get the range of cell. this.gridControl1.Model.GetSpannedRangeInfo(e.RowIndex, e.ColIndex, out range); //Get the bounds of the cell. Rectangle rectangle = this.gridControl1.ViewLayout.RangeInfoToRectangle(range); this.gridControl1.ViewLayout.RectangleToClientRowCol(rectangle,out topRow,out leftCol,out bottomRow,out rightCol,GridCellSizeKind.ActualSize); Dim range As GridRangeInfo Dim topRow, leftCol, bottomRow, rightCol As Integer 'Get the range of cell. Me.gridControl1.Model.GetSpannedRangeInfo(e.RowIndex, e.ColIndex, range) 'Get the bounds of the cell. Dim rectangle As Rectangle = Me.gridControl1.ViewLayout.RangeInfoToRectangle(range) Me.gridControl1.ViewLayout.RectangleToClientRowCol(rectangle,topRow,leftCol,bottomRow,rightCol,GridCellSizeKind.ActualSize) Returns client row and column indexes under a window rectangle. This example shows how to Get the client row and column from the given rectangle. GridRangeInfo range; int topRow,leftCol,bottomRow,rightCol; //Get the range of cell. this.gridControl1.Model.GetSpannedRangeInfo(e.RowIndex, e.ColIndex, out range); //Get the bounds of the cell. Rectangle rectangle = this.gridControl1.ViewLayout.RangeInfoToRectangle(range); this.gridControl1.ViewLayout.RectangleToClientRowCol(rectangle,out topRow,out leftCol,out bottomRow,out rightCol,GridCellSizeKind.ActualSize); Dim range As GridRangeInfo Dim topRow, leftCol, bottomRow, rightCol As Integer 'Get the range of cell. Me.gridControl1.Model.GetSpannedRangeInfo(e.RowIndex, e.ColIndex, range) 'Get the bounds of the cell. Dim rectangle As Rectangle = Me.gridControl1.ViewLayout.RangeInfoToRectangle(range) Me.gridControl1.ViewLayout.RectangleToClientRowCol(rectangle,topRow,leftCol,bottomRow,rightCol,GridCellSizeKind.ActualSize) Returns a visible client row index for a given absolute row index. If the row is above the top row, the client row index for the top row index is returned. Returns a visible client row index for a given absolute row index. If the row is above the top row, the client row index for the top row index is returned. The absolute row index. The client row index in the current visible grid view area. Returns a visible client column index for a given absolute column index. If the column is left of the , the client column index for the is returned. The absolute column index. The client column index in the current visible grid view area. This example returns the visible client column index for a given absolute column index. GridControl gridControl1; int visibleClientCol = this.gridControl1.ViewLayout.ColIndexToVisibleClient(5); Console.WriteLine("Visible client column index:" + visibleClientCol); Dim gridControl1 As GridControl Dim visibleClientCol As Integer = Me.gridControl1.ViewLayout.ColIndexToVisibleClient(5) Returns a visible client row index for a given absolute row index. If the row is above the top row, the client row index for the top row index is returned. If the row is below the last visible row, the client row index the last visible row index is returned. The absolute row index. A place holder that is set to True if the row index is above the top row and not a frozen row. The client row index in the current visible grid view area. Returns a visible client column index for a given absolute column index. If the column is left of the , the client column index for the left column index is returned. If the column is to the right of the last visible column, the client column index the last visible column index is returned. The absolute column index. A place holder that is set to True if the column index is left of the left column index and not a frozen column. The client column index in the current visible grid view area. Returns the control region right (RTL: left) of a absolute column index. The passed-in column is included in the rectangle. Returns the control region right (RTL: left) of a absolute column index. The passed-in column is included in the rectangle. The absolute column index. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. The window region that is right of the specified column. Returns the control region right (RTL: left) of an absolute column index. The col index. returns the control region right (RTL: left) of an absolute column index. Returns the control region below an absolute row index. The passed-in row is included in the rectangle. Returns the control region below an absolute row index. The passed-in row is included in the rectangle. The absolute row index. The window region that is below the specified row. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. Returns the control region below an absolute row index. Row index. Rectanlge region below the specified row index. Returns the location of a cell specified with absolute row and column index. Returns the location of a cell specified with absolute row and column index. The absolute row index of the cell. The absolute column index of the cell. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. The window point for the location (top-left corner) of the cell. This example shows how to get the point from a specified row and column index. Point point = this.gridControl1.ViewLayout.RowColToPoint(e.RowIndex, e.ColIndex,GridCellSizeKind.ActualSize); Console.Write("Location:" + point); Dim point As Point = Me.gridControl1.ViewLayout.RowColToPoint(e.RowIndex, e.ColIndex,GridCellSizeKind.ActualSize) Returns the location of a cell specified with absolute row and column index. The row index. The col index. Returns the location of a cell. This example shows how to get the point from the specified row and column index. Point point = this.gridControl1.ViewLayout.RowColToPoint(e.RowIndex, e.ColIndex); Console.Write("Location:" + point); Dim point As Point = Me.gridControl1.ViewLayout.RowColToPoint(e.RowIndex, e.ColIndex) Returns the location of a cell specified with client row and column index. Returns the location of a cell specified with client row and column index. The client row index of the cell. The client column index of the cell. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. The window point for the location (top-left corner) of the cell. This example shows how to get the point from the specified row and column index. GridControl gridControl1; Point point = this.gridControl1.ViewLayout.ClientRowColToPoint(5, 7,GridCellSizeKind.VisibleSize); Console.WriteLine("Point:" + point); Dim gridControl1 As GridControl Dim point As Point = Me.gridControl1.ViewLayout.ClientRowColToPoint(5, 7,GridCellSizeKind.VisibleSize) Returns the location of a cell specified with client row and column index. Row index. Column index. Returns the location of a cell. This example shows how to get a point from a specified cell. GridControl gridControl1; Point point = this.gridControl1.ViewLayout.ClientRowColToPoint(5, 7); Console.WriteLine("Point:" + point); Dim gridControl1 As GridControl Dim point As Point = Me.gridControl1.ViewLayout.ClientRowColToPoint(5, 7) Returns the location of a cell specified with absolute row and column index. Returns the location of a cell specified with absolute row and column index. The absolute row index of the cell. The absolute column index of the cell. Set this True if the grid should only return points within the grid area; False if the method should calculate cells that are below or right of the visible area. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. The window point for the location (top-left corner / RTL: top-right) of the cell. This example shows how to get a point from the specified row and column index. //set ignoreOutsideClientRectangle to True, if the grid should only return points within the grid area Point point = this.gridControl1.ViewLayout.RowColToPoint(e.RowIndex, e.ColIndex,true,GridCellSizeKind.ActualSize); Console.Write("Location:" + point); 'set ignoreOutsideClientRectangle to True, if the grid should only return points within the grid area Dim point As Point = Me.gridControl1.ViewLayout.RowColToPoint(e.RowIndex, e.ColIndex,True,GridCellSizeKind.ActualSize) Returns the location of a cell specified with absolute row and column index. The row index. The col index. if set to true [ignore outside client rectangle]. Returns the location of a cell specified with absolute row and column index This example shows how to get the point from a specified row and column index. //set ignoreOutsideClientRectangle to True, if the grid should only return points within the grid area Point point = this.gridControl1.ViewLayout.RowColToPoint(e.RowIndex, e.ColIndex,true); Console.Write("Location:" + point); 'set ignoreOutsideClientRectangle to True, if the grid should only return points within the grid area Dim point As Point = Me.gridControl1.ViewLayout.RowColToPoint(e.RowIndex, e.ColIndex,True) Calculates the display area for a given range of cells with cell coordinates specified in absolute row and column indexes. Calculates the display area for a given range of cells with cell coordinates specified in absolute row and column indexes. The with the range of cells. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. A that spans the range of visible cells. If no cells in the given range are visible, is returned. If there are covered cells or floating cells, they will treated as regular cells. The range is not enlarged to fit these spanned cells. This example shows how to get the rectangle from a given range and considering the top-most row. GridRangeInfo range; //Get the range of cells. this.gridControl1.Model.GetSpannedRangeInfo(e.RowIndex, e.ColIndex, out range); Rectangle rectangle = this.gridControl1.ViewLayout.RangeInfoToRectangle(rangeGridCellSizeKind.ActualSize); Dim range As GridRangeInfo 'Get the range of cells. Me.gridControl1.Model.GetSpannedRangeInfo(e.RowIndex, e.ColIndex, range) Dim rectangle As Rectangle = Me.gridControl1.ViewLayout.RangeInfoToRectangle(range,GridCellSizeKind.ActualSize) Calculates the display area for a given range of cells with cell coordinates specified in absolute row and column indexes. The range. Returns the display area for a given range of cells with cell coordinates specified in absolute row and column indexes. This example shows how to get the rectangle from the given range. GridRangeInfo range; //Get the range of cells. this.gridControl1.Model.GetSpannedRangeInfo(e.RowIndex, e.ColIndex, out range); Rectangle rectangle = this.gridControl1.ViewLayout.RangeInfoToRectangle(range); Dim range As GridRangeInfo 'Get the range of cells. Me.gridControl1.Model.GetSpannedRangeInfo(e.RowIndex, e.ColIndex, range) Dim rectangle As Rectangle = Me.gridControl1.ViewLayout.RangeInfoToRectangle(range) Returns the column width of the column, reducing it by hScrollPixelDelta if is the column at LeftColIndex. When horizontal pixel scrolling is enabled, hScrollPixelDelta will be between 0 and the width of the column at LeftColIndex. Returns the column width of the column, reducing it by hScrollPixelDelta if is the column at LeftColIndex. When horizontal pixel scrolling is enabled, hScrollPixelDelta will be between 0 and the width of the column at LeftColIndex. The absolute column index. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. Column width. Returns the column width of the column, reducing it by hScrollPixelDelta if is the column at LeftColIndex. When horizontal pixel scrolling is enabled hScrollPixelDelta will be between 0 and the width of the column at LeftColIndex. Index of the absolute col. Returns the column width of the column Returns the column width of the column, reducing it by hScrollPixelDelta if is the column at LeftColIndex. When horizontal pixel scrolling is enabled, hScrollPixelDelta will be between 0 and the width of the column at LeftColIndex. Returns the column width of the column, reducing it by hScrollPixelDelta if is the column at LeftColIndex. When horizontal pixel scrolling is enabled, hScrollPixelDelta will be between 0 and the width of the column at LeftColIndex. The client column index. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. Client column width. This example shows how to get the column width of the specified column index. GridControl gridControl1; int colIndex = this.gridControl1.CurrentCell.ColIndex; int colWidth = this.gridControl1.ViewLayout.GetClientColWidth(colIndexGridCellSizeKind.ActualSize); Console.WriteLine("ColumnWidth:" + colWidth); Dim gridControl1 As GridControl Dim colIndex As Integer = Me.gridControl1.CurrentCell.ColIndex Dim colWidth As Integer = Me.gridControl1.ViewLayout.GetClientColWidth(colIndex,GridCellSizeKind.ActualSize) . Returns the column width of the column, reducing it by hScrollPixelDelta if is the column at LeftColIndex. When horizontal pixel scrolling is enabled, hScrollPixelDelta will be between 0 and the width of the column at LeftColIndex. Index of the client col. Returns the column width of the column This example shows how to get the column width of the specified column index. GridControl gridControl1; int colIndex = this.gridControl1.CurrentCell.ColIndex; int colWidth = this.gridControl1.ViewLayout.GetClientColWidth(colIndex); Console.WriteLine("ColumnWidth:" + colWidth); Dim gridControl1 As GridControl Dim colIndex As Integer = Me.gridControl1.CurrentCell.ColIndex Dim colWidth As Integer = Me.gridControl1.ViewLayout.GetClientColWidth(colIndex) Returns the row height of the row, reducing it by vScrollPixelDelta if is the row at TopRowIndex. When horizontal pixel scrolling is enabled, vScrollPixelDelta will be between 0 and the height of the row at TopRowIndex. Returns the row height of the row, reducing it by vScrollPixelDelta if is the row at TopRowIndex. When horizontal pixel scrolling is enabled, vScrollPixelDelta will be between 0 and the height of the row at TopRowIndex. The absolute row index. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. Row height. This example shows how to get the height of a row with the given row index, considering the top-row index. GridControl gridControl1; int rowIndex = this.gridControl1.CurrentCell.RowIndex; int rowHeight = this.gridControl1.ViewLayout.GetRowHeight(rowIndex,GridCellSizeKind.VisibleSize); Console.WriteLine("RowHeight:" + rowHeight); Dim gridControl1 As GridControl Dim rowIndex As Integer = Me.gridControl1.CurrentCell.RowIndex Dim rowHeight As Integer = Me.gridControl1.ViewLayout.GetRowHeight(rowIndex,GridCellSizeKind.VisibleSize) Returns the row height of the row, reducing it by vScrollPixelDelta if is the row at TopRowIndex. When horizontal pixel scrolling is enabled, vScrollPixelDelta will be between 0 and the height of the row at TopRowIndex. Index of the absolute row. Returns the row height of the row This example shows how to get the height of a row with the given row index. GridControl gridControl1; int rowIndex = this.gridControl1.CurrentCell.RowIndex; int rowHeight = this.gridControl1.ViewLayout.GetRowHeight(rowIndex); Console.WriteLine("RowHeight:" + rowHeight); Dim gridControl1 As GridControl Dim rowIndex As Integer = Me.gridControl1.CurrentCell.RowIndex Dim rowHeight As Integer = Me.gridControl1.ViewLayout.GetRowHeight(rowIndex) Returns the row height of the row, reducing it by vScrollPixelDelta if is the row at TopRowIndex. When horizontal pixel scrolling is enabled, vScrollPixelDelta will be between 0 and the height of the row at TopRowIndex. Returns the row height of the row, reducing it by vScrollPixelDelta if is the row at TopRowIndex. When horizontal pixel scrolling is enabled, vScrollPixelDelta will be between 0 and the height of the row at TopRowIndex. The client row index Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. Client row height. Returns the row height of the row, reducing it by vScrollPixelDelta if is the row at TopRowIndex. When horizontal pixel scrolling is enabled, vScrollPixelDelta will be between 0 and the height of the row at TopRowIndex. Index of the client row. Returns the row height of the row. Calculates the display area for a given range of cells with cell coordinates specified in absolute row and column indexes. Calculates the display area for a given range of cells with cell coordinates specified in absolute row and column indexes. The with the range of cells. Set this True if the grid should only return points within the grid area; False if the method should calculate cells that are below or right of the visible area. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. A that spans the range of visible cells. If no cells in the given range are visible, is returned. This example shows how to get the rectangle with the given range, considering the top row index. GridRangeInfo range; //Get the range of cells. this.gridControl1.Model.GetSpannedRangeInfo(e.RowIndex, e.ColIndex, out range); //True if the grid should only return points within the grid area. Rectangle rectangle = this.gridControl1.ViewLayout.RangeInfoToRectangle(range,true,GridCellSizeKind.ActualSize); Dim range As GridRangeInfo 'Get the range of cells. Me.gridControl1.Model.GetSpannedRangeInfo(e.RowIndex, e.ColIndex, range) 'True if the grid should only return points within the grid area. Dim rectangle As Rectangle = Me.gridControl1.ViewLayout.RangeInfoToRectangle(range,True,GridCellSizeKind.ActualSize) Calculates the display area for a given range of cells with cell coordinates specified in absolute row and column indexes. The range. if set to true [ignore outside client rectangle]. Returns the display area for a given range of cells This example shows how to get the rectangle with the given range and considering the outside client rectangle. GridRangeInfo range; //Get the range of cells. this.gridControl1.Model.GetSpannedRangeInfo(e.RowIndex, e.ColIndex, out range); //True if the grid should only return points within the grid area. Rectangle rectangle = this.gridControl1.ViewLayout.RangeInfoToRectangle(range,true); Dim range As GridRangeInfo 'Get the range of cells. Me.gridControl1.Model.GetSpannedRangeInfo(e.RowIndex, e.ColIndex, range) 'True if the grid should only return points within the grid area. Dim rectangle As Rectangle = Me.gridControl1.ViewLayout.RangeInfoToRectangle(range,True) Determines if the row specified with an absolute row index is visible. The absolute row index specifying the row to be tested. True if visible; False if outside visible area. Determines if the column specified with an absolute column index is visible. The absolute column index specifying the column to be tested. true if visible; false if outside visible area Determines if parts of the range specified with an absolute row and column indexes are visible. The range to be tested. True if visible; False if outside visible area. Enlarges the specified range with any floating or covered ranges that intersect with the range. The original range. The enlarged range that contains the original range and any covered or floating cells ranges within the range. Executes a delegate for every cell in the specified range that is visible in the current grid view. The range that specifies the cells to visit. This delegate represents the method to execute for every visible cell in the specified range. The outer range that contains all ranges returned by executing . Returns a one-dimensional array with ints filled with values determined from . Returns a one-dimensional array with ints filled with values determined from . The first row index. The last row index. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. The array with row heights. This example shows how to get the row heights specified row index in a array values. GridControl gridControl1; int[] rowHeight = this.gridControl1.ViewLayout.GetRowHeights(4, 6, GridCellSizeKind.ActualSize); Console.WriteLine("RowHeights:" + rowHeight[i]); Dim gridControl1 As GridControl Dim rowHeight() As Integer = Me.gridControl1.ViewLayout.GetRowHeights(4, 6, GridCellSizeKind.ActualSize) For i As Integer = 0 To 2 Next i Returns a one-dimensional array with ints filled with values determined from . Index of from row. Index of to row. Returns a one-dimensional array with ints from . This example shows how to get the row heights in a array. GridControl gridControl1; int[] rowHeight = this.gridControl1.ViewLayout.GetRowHeights(4, 6); Console.WriteLine("RowHeights:" + rowHeight[i]); Dim gridControl1 As GridControl Dim rowHeight() As Integer = Me.gridControl1.ViewLayout.GetRowHeights(4, 6) For i As Integer = 0 To 2 Next i Returns a one-dimensional array with ints filled with values determined from . Returns a one-dimensional array with ints filled with values determined from . The first column index. The last column index. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. The array with column widths. Returns a one-dimensional array with ints filled with values determined from . Index of from col. Index of to col. Returns a one-dimensional array with ints from . Returns the total height of a range of rows. Returns the total height of a range of rows. The first row index. The last row index. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. The total height of the specified range of rows. Row heights are determined with . This example shows how to get the specified row height of a range of rows. GridControl gridControl1; int rowHeight = this.gridControl1.ViewLayout.GetRowRangeHeight(4, 6, GridCellSizeKind.VisibleSize); Console.WriteLine("RowHeights:" + rowHeight); Dim gridControl1 As GridControl Dim rowHeight As Integer = Me.gridControl1.ViewLayout.GetRowRangeHeight(4, 6, GridCellSizeKind.VisibleSize) Returns the total height of a range of rows. Index of from row. Index of to row. Returns the total height of a range of rows This example shows how to get the row height of a specified range of rows. GridControl gridControl1; int rowHeight = this.gridControl1.ViewLayout.GetRowRangeHeight(4, 6); Console.WriteLine("RowHeights:" + rowHeight); Dim gridControl1 As GridControl Dim rowHeight As Integer = Me.gridControl1.ViewLayout.GetRowRangeHeight(4, 6) Returns the total height of a range of rows and aborts calculation if it is greater than a specified maximum value. Returns the total height of a range of rows and aborts calculation if it is greater than a specified maximum value. The first row index. The last row index. Aborts calculation if total height is greater than this specified maximum value. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. The total height of the specified range of rows. Row heights are determined with . Returns the total height of a range of rows and aborts calculation if it is greater than a specified maximum value. Index of from row. Index of to row. Size of the max. Returns the total height of a range of rows Returns the total width of a range of columns. Returns the total width of a range of columns. The first column index. The last column index. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. The total width of the specified range of columns. Column widths are determined with . Returns the total width of a range of columns. Index of from col. Index of to col. Returns the total width of a range of columns Returns the total width of a range of columns and aborts calculation if it is greater than a specified maximum value. Returns the total width of a range of columns and aborts calculation if it is greater than a specified maximum value. The first column index. The last column index. Aborts calculation if total width is greater than this specified maximum value. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. The total width of the specified range of columns. Column widths are determined with . Returns the total width of a range of columns and aborts calculation if it is greater than a specified maximum value. Index of from col. Index of to col. Size of the max. Returns the total width of a range of columns Returns the total height of a range of rows specified in client row indexes. Returns the total height of a range of rows specified in client row indexes. The first client row index. The last client row index. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. The total height of the specified range of rows. Returns the total height of a range of rows specified in client row indexes. Index of from row. Index of to row. Returns the total height of a range of rows. Returns the total height of a range of rows specified in client row indexes and aborts calculation if it is greater than a specified maximum value. Returns the total height of a range of rows specified in client row indexes and aborts calculation if it is greater than a specified maximum value. The first client row index. The last client row index. Aborts calculation if total height is greater than this specified maximum value. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. The total height of the specified range of rows. Returns the total height of a range of rows specified in client row indexes and aborts calculation if it is greater than a specified maximum value. Index of from row. Index of to row. Size of the max. Returns the total height of a range of rows Returns the total width of a range of columns specified in client row indexes. Returns the total width of a range of columns specified in client row indexes. The first client column index. The last client column index. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. The total width of the specified range of columns. Returns the total width of a range of columns specified in client row indexes. Start column index. End column index. Returns the total width of a range of columns This example shows how to get the range of client's column width from a specified column range. GridControl gridControl1; int rangeWidth = this.gridControl1.ViewLayout.GetClientColRangeWidth(4, 6); Console.WriteLine("RangeWidth:" + rangeWidth); Dim gridControl1 As GridControl Dim rangeWidth1 As Integer = Me.gridControl1.ViewLayout.GetClientColRangeWidth(4, 6) Returns the total width of a range of columns specified in client row indexes and aborts calculation if it is greater than a specified maximum value. Returns the total width of a range of columns specified in client row indexes and aborts calculation if it is greater than a specified maximum value. The first client column index. The last client column index. Aborts calculation if total width is greater than this specified maximum value. The total width of the specified range of columns. Specifies how to handle the top-most row or left-most (RTL: right-most) column when pixel scrolling is enabled and cells are only partially visible. The total width of the specified range of columns. This example shows how to get the total width of a range of columns. GridControl gridControl1; this.gridControl1.Model.CoveredRanges.Add(GridRangeInfo.Cells(4, 2, 5, 3)); void gridControl1_CellClick(object sender, GridCellClickEventArgs e) { GridRangeInfo range; if (this.gridControl1.Model.CoveredRanges.Find(e.RowIndex, e.ColIndex, out range)) { int rangeWidth = this.gridControl1.ViewLayout.GetClientColRangeWidth(range.Left, range.Right, GridCellSizeKind.ActualSize); Console.WriteLine("RangeWidth:" + rangeWidth); } } Private gridControl1 As GridControl Me.gridControl1.Model.CoveredRanges.Add(GridRangeInfo.Cells(4, 2, 5, 3)) void gridControl1_CellClick(Object sender, GridCellClickEventArgs e) Dim range As GridRangeInfo If Me.gridControl1.Model.CoveredRanges.Find(e.RowIndex, e.ColIndex, range) Then Dim rangeWidth As Integer = Me.gridControl1.ViewLayout.GetClientColRangeWidth(range.Left, range.Right, GridCellSizeKind.ActualSize) End If Returns the total width of a range of columns specified in client row indexes and aborts calculation if it is greater than a specified maximum value. Index of from column. Index of to column. Size of the maximum value. Returns the total width of a range of columns. Occurs when layout information has been changed or reinitialized. Gets a hash table where each entry consists of the absolute row index as key and relative row index as value. You can use this dictionary to quickly look up if a row is visible. Gets a hash table where each entry consists of the absolute column index as key and relative column index as value. You can use this dictionary to quickly look up if a column is visible. Gets the current visible range of cells. Gets the current range of cells that is scrollable (all rows and columns excluding frozen rows and columns). Gets the scrollable area in client coordinates (excluding both column and row headers). Gets the horizontal scrollable area in client coordinates (including column headers). Gets the vertical scrollable area in client coordinates (including row headers). Gets the InternalVscrollAreaBounds. Internal only. The internal Vscroll area bounds. Gets the last visible column. Gets the InternalLastVisibleRow. Internal only. The internal last visible row. Gets the last visible row. Gets a value indicating whether True if there are more rows to scroll down; False if at bottom of grid. Gets a value indicating whether True if there are more columns to scroll right; False if at right edge of grid. Gets the bottom-right corner point in client coordinates of the visible grid. To the right and to the bottom of this grid is a non-grid background area. Gets the number of visible rows in the current view. Gets the number of visible columns in the current view. Implements the interface. Implements the functionality for drawing the selected cells of the grid control. Updates the selected cells range. Range of selection. Collection of objects. Clears the selection of cells. Changes the selection of cells of the grid. Previous selection range. Current selection range. A version of the class that implements the interface specific for a . Initializes the new instances of the class. Disposes the unmanaged resources. Indicates whether this control contains focus. Override this method if you want to show drop-down windows and indicate the control has not lost focus when the drop-down is shown. True if the control or any child control has focus; false otherwise Called to indicate that the popup child was closed in the specified mode. The child that was closed. A value. Returns the location for popup, given the preferred relative alignments. The previous alignment. The new alignment designated for the returned location. An ideal location for popup designated by one of the values in newAlignment. Or returns a Point.Empty and set newAlignment to Syncfusion.Windows.Forms.PopupRelativeAlignment.Default if you do not intend to provide multiple preferred locations. Returns a line (defined by 2 points) in screen co-ordinates that indicates the border overlap between the child and parent. The preferred alignment selected using the Syncfusion.Windows.Forms.IPopupParent.GetLocationForPopupAlignment(Syncfusion.Windows.Forms.PopupRelativeAlignment,Syncfusion.Windows.Forms.PopupRelativeAlignment@) method. An array of 2 points representing a line (in screen co-ordinates) where the overlap takes place. NULL if no overlap is desired. If a valid line is provided, the popup child in that area will be drawn in an overlap style. Implements drop-down cell functionality. Initializes a new object. The cell renderer that you want to enable for drop-down functionality. Determines if this control contains focus. Override this method if you want to show drop-down windows and indicate the control has not lost focus when the drop-down is shown. True if the control or any child control has focus; False otherwise. Unwires any events subscribed from . Creates a and associates it with the cell's parent grid. The container where you can insert child controls to be displayed as drop-down part for your cell. Creates and returns the GridDropDownContainer. Good method to override and return a custom container. Returns a IGridDropDownContainer. Ensures the container is valid and initialized. Called to initialize contents of the drop-down container for the first time. This method gets called from the cell renderer's Initialize method. Override this method if you need to any initialization for the current cell. The row index. The column index. Override this method if your cell renderer supports in-place editing and you want to do any custom initialization at this point before cell gets redrawn. Called to indicate that the popup child was closed in the specified mode. The child that was closed. A value. Called to indicate that the popup child was closed. The child that was closed. The event data with a value. Returns the location for popup, given the preferred relative alignments. The previous alignment. The new alignment designated for the returned location. An ideal location for popup designated by one of the values in newAlignment. Or returns a Point.Empty and set newAlignment to Syncfusion.Windows.Forms.PopupRelativeAlignment.Default if you do not intend to provide multiple preferred locations. Occurs after the popup has been dropped-down and made visible. The source of the event. An that contains the event data. Initiates the method. The source of the event. An that contains the event data. Initiates the method. The source of the event. An that contains the event data. Occurs when the drop-down container is about to be shown. The source of the event. An that contains the event data. Raises the for the parent grid. The suggested size of the drop-down True if drop-down should be shown; False if operation should be canceled. Raises the for the parent grid. Called to find out whether a specified control is part of the popup hierarchy. A Control instance. True indicates this query should be passed to the IPopupParent, if any; False indicates you should not query the popup parent. True if the control is part of the popup hierarchy; False if not. This is called from GridCurrentCell.ShowDropDown after BeginEdit has been called. If your renderer supports dropped-down state, the drop-down window should be made visible at this time. This is called from GridCurrentCell.CloseDropDown. If your renderer supports dropped-down state, the drop-down window should be closed at this time. This method is called when the user clicks a cell button inside cell. The row index. The column index. The button In your overridden version of this method, you can activate the current cell for the given row and column index and then drop-down a list. Invoked when user pressed key down. (similar to Control.OnKeyDown) An that contains the event data. Ensures that the drop-down part is the top-most window. Gets or sets a value indicating whether the focus should remain with the grid or active text box when dropped-down. True if focus should remain with grid; False if drop-down should get focus. Gets or sets the Environment.TickCount value until a second click should be considered a double click. Gets or sets a value indicating whether grid focus notification should be temporarily ignored. Gets a reference to the parent grid. Gets a reference to GridCurrentCell implementation of the GridControlBase this cell renderer is associated with. Gets or sets the drop-down button. Gets a value indicating whether the drop-down is currently dropped-down and visible. Gets the text box that is displayed in the user input field for a combo box. Gets the container where you can insert child controls to be displayed as drop-down part for your cell. Gets DropDownContainer. For convenience only. Same as . Implements the text box that is displayed in the user input field for a combo box. Initializes a new instance of the class and associates it with an instance of the class. The parent for this text box part. Implements a cell button element that looks like a combo box button. Typically used with and . The combo box button is XP Themes enabled. It will be drawn themed if is True. Initializes a and associates it with a . The that draws this cell button element. Disposes the unmanaged resources. Draws a button using or if XP Themes are enabled, button will be drawn themed. The context of the canvas. The with the bounds. A that specifies the current state. The style information for the cell. Gets or sets a value indicating whether ellipsis (...) should be drawn instead of the default combo box button. Implements the data or model part for a combo box cell. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Implements the data or model part for a drop-down cell. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Implements the ISerializable interface and returns the data needed to serialize the cell model. A SerializationInfo object containing the information required to serialize the cell model. A StreamingContext object containing the source and destination of the serialized stream. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Throws NotImplemented exception. The grid control. NotImplemented exception. Calculates the preferred size of the cell based on its contents without margins and any buttons. The context of the canvas. The row index. The column index. The object that holds cell information. graphical bounds The optimal size of the cell. Gets or sets a value indicating whether cells with this cell type should fill the drop-down list with items from the choice list or data source in GridStyleInfo. If you implement a custom combo box or drop-down list and you do want the item list to be independent from cell settings (and share the same item list among all cells with this cell type) you should set SupportsChoiceList to be False. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Disposes the unmanaged resources. Creates a for this cell model that is specific to the GridControlBase. The the cell renderer is created for. A new specific for a . This example shows how to create the renderer for the cell model. GridCellModelBase cellModel = grid.Model.CellModels[key]; GridCellRendererBase renderer = cellModel.CreateRenderer(grid); This is called to initialize data source on demand. This lets you calculate the data source only when it is needed and not every time in QueryStyleInfo. Default behavior is to return style.ChoiceList if not empty. If style.ChoiceList is empty, style.DataSource is returned. The style object with binding information. Data source. Initializes a with data binding information from a object. The list box to be initialized with data binding information The style object with binding information. A place holder that returns whether the list box is filled with an exclusive list of possible choices or if non-standard values are allowed. For internal use. returns GridComboBoxListBoxHelper. Parses the display text and converts it into a cell value to be stored in the style object. The object that holds cell information. The input text to be parsed. textInfo is a hint who is calling, default is GridCellBaseTextInfo.DisplayText True if value was parsed correctly and saved in style object as ; False otherwise. Returns the index in the drop-down list box for the specified cell value / key. The object that holds cell information. The value (same as ValueMember). The index in the drop-down list box or -1 if not found. Returns the value for the ValueMember of the specified item. The data source list The name of the value member The row item. The value of the ValueMember. This is called from GridStyleInfo.GetFormattedText. GridStyleInfo.CultureInfo is used for conversion to string. The object that holds cell information. The value to format. textInfo is a hint who is calling, default is GridCellBaseTextInfo.DisplayText. The formatted text for the given value. Gets the instances of the Gets or sets a value indicating whether to enable or turn off selecting the next index when user double clicks inside cell. For internal use. Initializes the new instances of the class. Invoked when data source of the grid combo box has been changed. Throws the exception. Called the method. Called the method. Gets the property of the filtered item. Filtered item. Field name. Returns the text representation of the specified item. The object from which to get the contents to display. If the property is not specified, the value returned by is the value of the item's ToString method. Otherwise, the method returns the string value of the member specified in the property for the object specified in the parameter. For internal use. The object instance. returns the ItemValue For internal use. Gets the filtered item and property. The index. returns the ItemValue For internal use. Gets the item. The index. returns the ItemText For internal use. Gets the collection's count. returns the ItemCount. Finds the Key. Collection. Property. Key. For internal use. Finds the value. The value. returns the value For internal use. Finds the exact string. The text to search for. The zero-based index of the first item found; returns ListBox.NoMatches if no match is found. Overridden to be sure that items are set up and cleared out correctly. Inheriting controls should call base.OnHandleDestroyed. Gets or sets the zero-based index of the currently selected item in a list box. Gets or sets the for the control. Implements the renderer part of a combo box cell. can be customized with , , and properties of a instance. If you do not have a data source object, you can also fill the drop-down list contents with a and optionally specify . The combo box cell is XP Themes enabled. It will be drawn themed if is True. There can be several renderers associated with one if several views display the same . Use "ComboBox" as identifier in of a cells to associate this cell type with a cell. The cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () Gets / sets if pressing the <Enter>-Key should insert a new line into the edited text. (Default: False) () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges should be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () Combo Box (Default: Text Box) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () Specifies items to be displayed in the drop-down list. (Default: NULL) () Specifies if the combo box button can be clicked. If set to False, the button will be drawn grayed out. See for information on how to disable activating the combo box cell. (Default: True) () The culture information holds rules for parsing and formatting the cell's value. (Default: NULL) () Specifies a data source that holds items to be displayed in a drop-down list. A data source can be specified instead of manually filling the choicelist with string entries. (Default: NULL) () Names the property in the data source that holds the text to be displayed in a cell that depends on a . (Default: String.Empty) () Specifies if user input is restricted to items from the or . (Default: GridDropDownStyle.Editable) () Specifies if the cell can be activated as current cell or if cell should be skipped when moving the current cell. When disabled, the combo box button can still be clicked but no drop-down list is displayed. You should also disable if you do not want the user to click the combo box button. (Default: True) () Holds error information if a value can not be converted to the specified with . (Default: String.Empty) () Specifies if user input is restricted to items from choice list or data source. It is recommended to use instead. (Default: False) () The font for drawing text. (Default: GridFontInfo.Default) () Specifies horizontal alignment of text in the cell. This does not affect the position of the combo box button. (Default: GridHorizontalAlignment.Left) () Specifies an index for a image in the of a instance. The image is currently only shown in the text field, not in the drop-down list. You have to add custom programming logic in order to set the ImageIndex based on a selection in the drop-down list. (Default: -1) () Lets you specify a solid back color, gradient, or pattern style with both back and fore color for a cell's background. (Default: SystemColors.Window) () Specifies if cell contents can be modified by the user. The user can still drop-down the combo box but changes will not be saved back into the text field. (Default: False) () Specifies when to show or display the combo box button. Possible choices are: show the button only for the current cell, always show buttons, or never show buttons. (Default: GridShowButtons.Show) () Gets / sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using any information. (Default: String.Empty) () Align text left of button elements (which is typical for combo boxes). Or align text right of button elements. (Default: GridTextAlign.Default) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the borders of the client rectangle of the cell. The client rectangle is the cell rectangle without buttons and borders. (Default: GridMarginsInfo.Default) () Specifies if cell should be drawn using Windows XP themes when has been set. (Default: True) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Holds validation rules for the cell value that are being checked before any user changes are committed to the grid cell's style object. (Default: NULL) () Names the property in the data source that holds the key to be saved in a cell. (Default: String.Empty) () Specifies vertical alignment of text in the cell. (Default: GridVerticalAlignment.Top) () Specifies if text should be wrapped when it does not fit into a single line. (Default: True) Defines a base class for the renderer parts of cells that support being dropped-down like a combo box. A renderer is created for each and . There can be several renderers associated with one if several views display the same. . The following table lists some characteristics about the drop-down cell type: Item Description CellType NA Renderer Model XP Themes Support Yes Cell Button Interactive Edit with Text Input or DropDown Control Drop-Down Control Custom Floating Support No Base Type The cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () Gets / sets if pressing the <Enter>-Key should insert a new line into the edited text. (Default: False) () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () Specifies if the drop-down button can be clicked. If set to false, the button will be drawn grayed out. See for more information on how to disable activating the drop-down cell. (Default: True) () The culture information holds rules for parsing and formatting the cells value. (Default: NULL) () Specifies if the cell can be activated as current cell or if cell should be skipped when moving the current cell. When disabled, the drop-down button can still be clicked. You should also disable if you do not want the user to click the drop-down button. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () The font for drawing text. (Default: GridFontInfo.Default) () Gets / sets the format mask for formatting the cell value. You can specify numeric format strings, date format strings, or enumeration format strings as discussed in the section "Format Specifiers and Format Providers" of the .NET Framework Developers Guide (see ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconformatspecifiersformatproviders.htm) (Default: String.Empty) () Specifies horizontal alignment of text in the cell. This does not affect the position of the drop=down button. (Default: GridHorizontalAlignment.Left) () Specifies how hot-key prefixes should be displayed. Hot-keys are indicated in text with an '&' (ampersand). When you enable a hot-key prefix, the specific characters can be displayed underlined or regular. The '&' will not be displayed. (Default: HotkeyPrefix.Show) () Specifies an index for an image in the of a instance. (Default: -1) () The that holds a collection of images. Cells can choose images with the property in a instance. (Default: NULL) () Lets you specify a solid backcolor, gradient, or pattern style with both back and fore color for a cell's background. (Default: SystemColors.Window) () Limits the number of characters the user can type into the cell. Note: When selecting a text from a choice list or when pasting text, the text can be longer. Additional validation is necessary on your side. (Default: 0) () Specifies if cell contents can be modified by the user. You can programatically change Read-only cells by setting to True. (Default: False) () Specifies when to show or display the drop-down button. Possible choices are: show the button only for the current cell, always show buttons, or never show buttons. (Default: GridShowButtons.Show) () Gets / sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using any information. (Default: String.Empty) () Align text left of button elements (which is typical for combo boxes). Or align text right of button elements. (Default: GridTextAlign.Default) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the borders of the client rectangle of the cell. The client rectangle is the cell rectangle without buttons and borders. (Default: GridMarginsInfo.Default) () Specifies if cell should be drawn using Windows XP themes when has been set. (Default: True) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Holds validation rules for the cell value that are being checked before any user changes are committed to the grid cell's style object. (Default: NULL) () Specifies vertical alignment of text and the drop-down button in the cell. (Default: GridVerticalAlignment.Top) () Specifies if text should be wrapped when it does not fit into a single line. (Default: True) Initializes a new instance of the class for the given and GridCellModelBase. The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Creates the text box that is shown in-place in the cell when the user starts editing the cell. Returns the new instance of the . Handles the event of the text box and raises a event. The source of the event. An that contains the event data. Lets you customize and redirect the mouse wheel behavior to a cell renderer. An that contains event data. True if the parent grid should not be scrolled; False if the parent grid should scroll. Gets the text box that is displayed in the user input field for a combo box. Gets the container where you can insert child controls to be displayed as drop-down part for your cell. Gets the container where you can insert child controls to be displayed as drop-down part for your cell. Initializes a new object for the given GridControlBase and . The that display this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Creates a that is used as list box inside the drop-down. A that is derived from Called to detach the list box part from this renderer object. Called to attach a list box part to this renderer object. Ensures the list box part. Overridden to get the of the cells and sets the list box part text. Allows custom formatting of a cell by changing its style object. An that contains the event data. Allows the cell renderer to process the mouse wheel. A holding the event data. True if the popup child is dropped down and the new scroll position is valid. Closes the DropDown if the CurrentCell is deactivated along with BrowseOnly property Overridden to initialize the list box style and value. Overridden to sets the control text to the list box part. Invoked when user pressed key. A with data of the keyboard event. Used to add the selection index to the selectionId dictionary collection. Occurs when the event of the is raised. The source of the event. An that contains event data. Checks if the specified text is valid. The specified text. True if it is valid. Refresh the Choicelist/ ChoiceList which is contain the entire string The specified text to search from the choicelist. ListBox part with refreshed values Creates a list from DataTable listboxpart The specified text to search from the list. dataSource of listboxpart Creates a list from DataTable listboxpart The specified text to search from the list. dataSource of listboxpart Generates the possible choices of the choice list based on the searchText. Choice list. Text to be searched. Occurs when the drop down is about to be shown. Combobox cell renderer. Event args. Occurs after the pop up has been dropped down and made visible. Combobox cell renderer. The event args. Overridden to initialize drop down container. Handles the event of the list box. The source of the event. A with event data Overridden to call the method. Handles the event of the list box. The source of the event. An with event data. Occurs when the popup child is being closed. The pop up. The way in which the pop up is closed. Overridden to set the starting point and length of the text selected and set the text in the Text box. Retrieves the text from the list box index and sets the TextBoxText. Called when the user presses arrow keys to move selection in dropped list box. The list box index Finds text in the list box. The text (or prefix) to find. True if you want to select the text in the list box. The first index to start searching. True if case can be ignored; False if case sensitive. The index of the entry that starts with the text; -1 if no entry could be found. Gets the text representation of the specified item. Specified item. Returns the text representation. Finds text in the list box. The text (or prefix) to find. True if you want to select the text in the list box. The first index to start searching. True if case can be ignored; False if case sensitive The index of the entry that starts with the text; -1 if no entry could be found. Handles the event of the active text box. The source of the event. An with event data. Invoked when the user clicked inside a cell. The row index. The column index. A with data about the mouse event. Called when the user double-clicks inside a cell. The row index. The column index. A with data about the mouse event. Gets or sets a value indicating whether the combo box should raise notifications when the user types into the combo box. Default is true. Note: In version 3.3 and earlier the combo box did not raise these notifications. To maintain compatibility this option allows you to turn off this behavior. Gets the that this cell renderer belongs to. Gets or sets the active text that is displayed on the cell. Gets or sets the that is displayed when the user drops-down the combo box. Lets you specify a custom that instantiates cell models for the grid on demand using the string as identifier. Initializes the instances of the class. Static Constructor. Specifies a custom that instantiates cell models for the grid on demand using the string as identifier. A cell model factory. Gets the for this process. Used internally. Initializes the new instances of the class. Used internally. Used internally. Used internally. Reset the m_nLogPixelsX and m_nLogPixelsY. Used internally. Returns integer. Used internally. Returns integer. Used internally. returns float Used internally. returns float Used internally. Used internally. Gets the LogPixelsX. Used internally. Gets the LogPixelsY. Used internally. Provides storage for a value that can only be associated with one specific cell. Optimal for shared cell objects where only one cell will create events at a time. Other cells will have a default value instead. does for example use this storage to save and query for hovering and mouse down state. Only one cell can be in hovering or mouse down mode. Initializes the new instances of the class. Initializes the new instances of the class with a default value. The default value to be used for all queries where the row and column index do not match the current settings. Initializes with row, column index, and associated value and a default value. The row index. The column index. The value that is specific to row and column index. The default value to be used for all queries where the row and column index do not match the current settings. Gets the value for the specific row and column index. The row index. The column index. If the row and column index do match the current settings, the saved value is returned; otherwise the default value is returned. Sets the value for the specific row and column index. The row index. The column index. The value that is specific to row and column index. True if the value was modified; False otherwise. Resets current information. The value will be reset to default value. Returns a that represents the current . A that represents the current . Gets results of ToString method. Implements the coordinates for a cell. Is used by GridVolatileData to look up cell information. Initializes a new with row and column coordinates. The row index. The column index. Returns the hash code for this instance. A 32-bit signed integer that is the hash code for this instance. Returns the fully qualified type name of this instance. A containing a fully qualified type name. Gets or sets the column index. Gets or sets the row index. Gets results of ToString method. Implements various integer constants to be used throughout the grid. Use for undefined index. Use for maximum row or column count. Initializes the new instances of the class. Defines the reason for scrolling current cell into view. Represents None Grid control was activated. CurrentCell.BeginEdit was called. A key was pressed while current cell is active. Contents of current cell are modified. Current cell was activated. User clicked into cell. CurrentCell.MoveTo was called. An error occurred and a message box will be displayed. A undo or redo command was executed. Columns or rows were resized. FindDialog has found text in cell. Grouping Grid: SynchronizeCurrentCellWithRecord. Default: All of above. Defines behavior of combo boxes and drop-down list in a cell. The user can edit the text box contents and is not limited to values existing choices. User input is restricted to items from the ChoiceList or DataSource. The user input is restricted to items from the ChoiceList or DataSource but the user can type text into the text box and the text box will be filled with a matching choice. Defines whether a cell is asked about support for floating over another cell or being flooded by a previous cell. See . Queries if cell supports floating another cell. Queries if cell can be flooded by a previous cell. Defines the controls what the grid does when a last or first column in a row. Don't move current cell. Move to first column in next row or last column in previous row. When at the last row and last column, move to first row and column or vice versa. When at the last row and last column activate next sibling control in the dialog or when at first row and column activate previous sibling control in dialog. Defines which cells to refresh when moving the current cell. When cell's appearance is changed if cell is moved to a new row (e.g. when GridShowButtons.ShowCurrentRow is used), you should specify . No refresh necessary when moving the current cell. Refreshes the current cell only. Refreshes the whole row. Use this setting if you are using . Defines the options for a method call. The options can be combined. Uses default behavior for resizing cells to fit contents. Ignores covered cells, does shrink size, does not include headers. Include covered cells for resizing cells. When using this mode, only the last row or column of a covered range is resized. Do not shrink size of cells. Include also row or column header for resizing the cells. ResizeCoveredCells mode only resizes the last row or column of a covered range. Use this option to also resize the columns or rows before the last one. Defines the options for a method call. The options can be combined. The default text is considered for calculating the Cell size The Formatted text is considered for calculating the Cell size Used by . Queries height of cell. Queries width of cell. Provides additional hints about a call to , or . No hint specified. Display text operation. Paste text operation. Copy text operation. Clear cells operation. Current text query. Replace selection. Initialize text box with text. ValidateString checking if string is valid. Defines the .A is used by to give a hint about the current state of the user action and reason for this event (mouse, keyboard or programmatic). Indicates a call. Indicates a call. Indicates user is moving current cell with arrow keys. Indicates user pressed mouse down. Indicates user is moving mouse. Indicates user released mouse. Indicates current operation was canceled. Indicates a call, e.g. when user hit Escape-key. Defines the .A is used by to give a hint about the current state of the user action and reason for this event. Indicates user pressed mouse down. Indicates user is moving mouse. Indicates user released mouse. Indicates current operation was canceled. Indicates this is a Hit-Test query. Defines the .A is used by to give a hint about the current state of the user action and reason for this event. Indicates user pressed mouse down. Indicates user is moving mouse. Indicates user released mouse. Indicates current operation was canceled. Indicates this is a Hit-Test query. Indicates used double clicked. Indicates hidden rows or column will be made visible. Indicates changes row heights or column widths will be reset back to default value. Defines the Grid range options.Used by to enlarge the affected range of cells to include covered and floating cells. Use range as specified. Enlarge range with any covered cells that intersect with the original range. Enlarge range with any merged cells (not implemented, reserved for future use) that intersect with the original range. Enlarge range with any floating cells that intersect with the original range. Enlarge range with any bannered cells that intersect with the original range. Combines , , and . Included are outside of the current visible grid view. Otherwise will ignore cells that are not visible. Defines how an image is positioned within a cell. The image is placed in the upper-left corner of the cell. The image is clipped if it is larger than the cell it is contained in. The image is displayed in the center if the cell is larger than the image. If the image is larger than the cell, the picture is placed in the center of the cell and the outside edges are clipped. The image within the cell is stretched or shrunk to fit the size of the cell. The image is tiled across the Cell rectangle. Defines is used in various grid methods to specify direction of a movement. No movement specified, use default behavior. Represents Move up. Move to left. Move down. Move to right. Page down. Represents Page up. Go to top. Go to bottom. Go to most left. Got to most right. Go to top-left corner. Got to bottom-right corner. Defines behavior for resizing rows or columns. You can customize the mouse controller's behavior at run-time while the user is performing the action by subscribing to the and events. Turn off resizing rows and columns with mouse. Resize all rows or columns when the user resizes one row or column with the mouse. Resize a single row or column (or the selected range) when the user resizes one row or column with the mouse. Allow the user to resize rows or columns from anywhere inside the grid by grabbing the divider between row or column headers. Do not allow the user to resize rows or columns by grabbing the divider between row or column headers. Use this option only when combined with . Show a header pressed when the user resizes the associated row or column. Emphasize original cell bounds of tracked row / column. Allow the user to drag the mouse outside the grid client area and resize the specific row or column. Defines default hit test context constants returned by the of the grid's . Represents None. Mouse is over a vertical grid line between headers. Mouse is over a horizontal grid line between headers. Mouse is over a cell. Mouse is over a header cell. Mouse is over a selected range. Mouse is over the edge of a selected range. Mouse is over a cell button element (see ). Mouse is over the checker box in a check box cell (see ). Defines placement of the sort icon. SortIcon is placed in right side of cell. SortIcon is placed in top side of cell. SortIcon is placed in left side of cell. Defines placement of the Tree line Treeline is placed in bottom of the cell Treeline is placed in top of the cell Defines behavior for selecting cells for the grid by the user with mouse or keyboard. See . Disable selecting cells. Rows can be selected. Columns can be selected. Whole table can be selected. Individual cells can be selected. Multiple ranges of cells can be selected. The user has to press Control Key to select multiple ranges. Allow extend existing selection when user holds Shift Key and clicks on a cell. Allow extend existing selection when user holds Shift Key and arrow keys. Use alpha blending to highlight selected cells. Allow both rows and columns to be selected at same time when is specified. By default, the grid does not allow having rows and column ranges be selected at the same time. Default behavior for selecting cells: Rows, Columns, Table, Cell, Multiple, Extends Shift Key support, and alphablending. Defines floating cell's behavior in a . See . Floating cell's behavior is disabled. Floating cells are calculated before they are displayed and results are saved. Floating cells will only be recalculated if the width or contents of cells change. Floating cells are always calculated before cells are displayed. Defines merge behavior for an individual cell when merging cells feature has been enabled in a with . See Merging cell is disabled. Merge with neighboring columns in same row. Merge with neighboring rows in same column. Represents Both. Defines merge behavior for an grid cells when merging cells feature has been enabled in a with . Merge cells only in visible range. Merge cells for entire grid. May affects performance for a large Grid Defines merge cells behavior in a . See . Merge cells behavior is disabled. Merge cells are calculated before they are displayed and results are saved. Floating cells will only be recalculated if the width or contents of cells change. Merge cells are always calculated before cells are displayed. Enable merging of neighboring cells among rows in same column. Enable merging of neighboring cells among columns in same row. When comparing rows or columns, skip hidden rows or columns and allow merging across hidden rows or columns. Later ... GridRemoveUndoOption Defines current cell activation behavior when moving the current cell or clicking inside a cell. Defines when to set the focus / toggle edit mode for the current cell. See Do not set focus to text box. Begin editing / focus on text box after user clicked on cell. The cancelable event may block editing mode for the current cell. Begin editing / focus on text box whenever a cell becomes current cell no matter if user clicked on cell or moved with arrow keys. When GridCellActivateAction.SetCurrent is specified will be called before the event is raised. See the event if you want to programatically call . The cancelable event may block editing mode for the current cell. Begin editing / focus on text box when user double clicked on cell. The cancelable event may block editing mode for the current cell. Begin editing / focus on text box and select all text whenever a cell becomes current cell no matter if user clicked on cell or moved with arrow keys. Forward mouse click to the text box so that the caret can be positioned at the character under the mouse pointer. Defines the order that 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. See . Load grid cells row by row. Load grid cells column by column. Defines when to show or hide current cell border / frame. See . Show current cell border / frame always. Never show current cell border / frame. Show current cell border when grid is activated. Show grayed current cell border when grid is not active control. Defines options for the method call. No special options. Do not give current cell a range selection (when using Excel-like current cell). Scroll new current cell into view. Do not set focus on text box in new current cell, ignoring . Try to set focus on text box in new current cell, ignoring . Do not synchronize current cell among grid views showing the same model, ignoring . Force new current cell to be redrawn. Sandwich current cell movement with a BeginUpdate / EndUpdate method call pair to reduce flickering. Do not active new current cell. Only store row and column index. Defines scrollbar setting of the grid control with and . You can combine the various options. Initial setting. Detect parent view if it has shared scrollbars. Disable scrollbars. Always show scrollbars. Show scrollbars only when necessary. Scrollbars are shared with a parent control. When you resize cells in the grid or when you resize the grid window automatically and you are at the last row or column of the grid, automatically scroll the grid so that whitespace below or right of the grid is minimal. Starting with version 3.2.1.1 this is now the default behavior. You need to explicitly DisableAutoScroll to disable AutoScroll. When you resize cells in the grid or when you resize the grid window automatically and you are at the last row or column of the grid, disable automatically scrolling the grid. Defines the options in order to display special characters when the contents in cell exceeds it's width. The AutoFitOptions includes Alphabets, Numeric, Both and None. Apply the Autofit option for numeric cell values Apply the Autofit option for Alphabet cell values Apply the Autofit option for Both numeric and Alphabet cell values cancel the Autofit option Later ... Defines information related to printing. This class will change in future versions. Lets the record count grow while printing. Count records for both printing and print preview before printing. Count records only for printing but not for print preview (default). Defines the Drag-and-drop options used with , , and . Disable drop target. Also copy / move column header cells. Also copy / move row header cells. Allow dragging multiple selections. Force dragging of CF_TEXT clipboard format. Force dragging of internal styles format. When copying internal styles, compose the full style of the cell and do not copy only the cell specific attributes. Enable autoscroll when user drags out of windows. Enable edgescroll when user drags to the corner of the window. If the user pastes (or drops) more rows than currently available, don't append as many rows as needed. If the user pastes (or drops) more columns than currently available, don't append as many columns as needed. By default if the user drags multiple rows to the bottom of the grid in an ole drag operation the outlined rectangle will be clipped at the bottom of the current available rows. If you specify this option the new rows will be outlined below the last visible row. By default if the user drags multiple columns to the right of the grid in an ole drag operation the outlined rectangle will be clipped at the right of the current available columns. If you specify this option the new columns will be outlined below the last visible column. Later ... Paste only: Display "Selected Range is Different"-Dialog. Used internally. Defines the options for searching text in cells: Represents None. Match Case. Search string should match whole cell. Search up. Search only current selection. Search only current column. Search whole table. Search only based on value of formula. Search only based on formula. Defines current undo logging context in the grid. Grid is recording commands. This is the default state. Grid is currently in process of undoing commands. will set initialize and reset this state. Grid is currently in process of redoing commands. will set initialize and reset this state. Grid is currently in process of rolling back commands. will set initialize and reset this state. Defines which mouse controllers should be enabled for the grid. This enumeration has a attribute that allows a bitwise combination of its member values. When you assign this enumeration value to , the grid will create or disable specified mouse controllers for the grid. Each of these mouse controllers implements the interface and gets registered with . Represents None. This option enables a mouse controller that handles mouse events for cell elements. Enable this controller if you want cell renderers and cell button elements to receive mouse events. In its implementation of this mouse controller determines the cell renderer for the cell under the mouse cursor and calls this cell renderers method. Based on the cell renderers HitTest result, mouse events will be forwarded to that cell. This option enables a mouse controller that handles user interaction for dragging selected rows or columns. You can customize the mouse controllers behavior at run-time while the user is performing the action by subscribing to the and events. You can change various options by changing and in . This option enables a mouse controller that handles user interaction OLE drag support for selected range of cells when the user clicks the mouse button on the edge of the selected range. You can customize the mouse controller's behavior at run-time while the user is performing the action by subscribing to the event. You can change various options with . When you change in , this will actually end up calling for each associated view. This option enables a mouse controller that handles user interaction for OLE drop support when the user drags data from within the grid or an outside application. You can customize the mouse controller's behavior at run-time while the user is performing the action by creating an object that implements and register this object with . This allows you to add support for additional clipboard formats to be dragged into the grid from outside applications. You can change various options with . When you change in this will actually end up calling for each associated view. This option enables a mouse controller that handles user interaction for selecting cells with the mouse. You can customize the mouse controller's behavior at run-time while the user is performing the action by subscribing to the and events. You can change various options by changing . This option enables Excel-like selection behavior. (It is not really a controller ...) When the user selects a range of cells, the active range is outlined with a selection margin and a cross on the bottom-right side. See for . This option enables a mouse controller that handles user interaction for resizing rows or columns with the mouse. You can customize the mouse controller's behavior at run-time while the user is performing the action by subscribing to the and events. You can change various options by changing and in This option enables a mouse controller that provides support for dragging column headers within the grid by clicking on a header and dragging it to a new position. You can customize the mouse controller's behavior at run-time while the user is performing the action by subscribing to the and event. Enable support for all default mouse controllers. Defines which default data consumers should be enabled for the grid. This enumeration has a attribute that allows a bitwise combination of its member values. You can customize the mouse controller's behavior at run-time while the user is performing the action by creating an object that implements and register this object with . This allows you to add support for additional clipboard formats to be dragged into the grid from outside applications. You can change various options with . When you change in , this will actually end up calling for each associated view. No default data objects supported. Enable styles (internal) data objects. This allows you to drag / copy / paste complete cell information. Enable text data format. This allows you to drag cell values. Enable support for all default data objects. Defines the options for combobox cell value selection Values are automatically completed when type the value Automatically suggest the words when type the value Provides the support for both AutoComplete and AutoSuggest Doesn't provide any Combo box Selection Option. Defines the button alignment. Aligns the radio in Horizontal line wise. Aligns the button in Vertical line wise. Defines the constants that specify the selection frame options of Excel-like selection frame. This option enables the Excel 2016 selection behavior. This option enables the Excel 2003 selection behavior. Defines a set of names that can be assigned to a property of a . The class defines a default set of names for cell types that are included with Essential Grid. A Header cell. See A Static cell. See A TextBox cell. See A Image cell. See A CheckBox cell. See A PushButton cell. See A NumericUpDown cell. See A DropDownGrid cell. See A GridListControl cell. See A ComboBox cell. See A ColorEdit cell. See A MonthCalendar cell. See A FormulaCell cell. See A Currency cell. See A MaskEdit cell. See A RichText cell. See A generic Control cell. See A OriginalTextBox cell. See A ProgressBar cell. See A RadioButton cell. See A StandardValuesCell cell. See A UITypeEditorCell cell. See A PropertyGridCell cell. See Initializes the new instances of the class. Base class for exceptions thrown inside the grid. Initializes a new instance of the class. Initializes a new instance of the class. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the root cause of this exception. The message that describes the error. The exception that is the cause of the current exception. If the innerException parameter is not a NULL reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception. Initializes a new instance of the class with a specified error message and a reference to a grid. The message that describes the error. A reference to a grid. Initializes a new instance of the class with a specified error message, a reference to a grid, and a reference to the inner exception that is the root cause of this exception. The message that describes the error. A reference to a grid. The exception that is the cause of the current exception. If the innerException parameter is not a NULL reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. When overridden in a derived class, sets the with information about the exception. The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. Gets a message that represents the current exception. Gets a reference to a . Provides a one-stop place to subscribe to row count, column count, and QueryCellInfo events. You should implement if you want to receive , , , and events. The methods in this interface are called before the named events are raised and thus give you a chance to control the events behavior before other subscribers can handle it. You should assign a reference of your object to in order to receive the method calls. Method handler for the event. An that contains the event data. Method handler for the event. An that contains the event data. Method handler for the event. An that contains the event data. Method handler for the event. An that contains the event data. Returns the column index for a column that matches a given name. The name of the field to be matched. The column index in the grid; -1 if not found. Returns the row index for a row that matches a given name. The name of the row to be matched. The row index in the grid; -1 if not found. See . returns GridRangeInfo Provides the method which is called for the active from within the grids handler to determine if the grid should set focus to the active current cells . Implement this method in your and return False if it would interfere with your controller's state when the current cell is focused and possibly scrolled into view. A that indicates if the grid is allowed to set the focus onto the current cells . Provides the method which is internally used for drawing of Excel-like selection frame. Internally used for drawing of Excel-like selection frame. The grid control The graphics The draw old The GridRangeInfo Use GridUserCanceledException when the user cancels an operation. Initializes a new instance of . Initializes a new instance of with a specified message. The message text. Initializes a new instance of with a specified message and a reference to the inner exception that is the cause of this exception. The message text The source of the exception. Initializes a new instance of the class from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Sets the with information about the exception. The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. Gets a message that represents the current exception. Implements the static helper functions. Align to right on surface. Align at bottom on surface. Align horizontally centered on surface. Align vertically centered on surface. Initializes the new instances of the class. Draws the drag lines. Used internally. Used internally. Draws the 3D frame. Used internally. The value. The flags. true if the specified value is set; otherwise, false. Used internally. The value. The flags. true if [is not set] [the specified value]; otherwise, false. Internal only. The value. The flags. returns boolean value Used internally. Returns the value not smaller and not larger than a specified range. Returns the value not smaller and not larger than a specified range. The value to compare. The smallest value. The largest value. The value not smaller than min and and not larger than max. Returns the value not smaller and not larger than a specified range. The value to compare. The smallest value. The largest value. The value not smaller than min and and not larger than max. Returns the value not smaller and not larger than a specified range. The value to compare. The smallest value. The largest value. The value not smaller than min and and not larger than max. Returns the value not smaller and not larger than a specified range. The value to compare. The smallest value. The largest value. The value not smaller than min and and not larger than max. The calculation is made for both the X and Y coordinates separately. Returns the value not smaller and not larger than a specified range. The value to compare. The rectangle with bounds. The value not smaller than min and and not larger than max. The calculation is made for both the X and Y coordinates separately and compared with the rectangles boundaries. Returns the point with smaller value for X and Y coordinates each of two points. Returns the point with smaller value for X and Y coordinates each of two points. The first point to compare. The second point to compare. The point with smaller value for X and Y coordinates each of two points Returns the point with larger value for X and Y coordinates each of two points. Returns the point with larger value for X and Y coordinates each of two points. The first point to compare. The second point to compare. The point with larger value for X and Y coordinates each of two points. Returns the size with smaller value for Width and Height coordinates for each of two values. The first size to compare. The second size to compare. The size with smaller value for Width and Height coordinates for each of two values. Returns the size with larger value for Width and Height coordinates for each of two values. The first size to compare. The second size to compare. The size with larger value for Width and Height coordinates for each of two values. Increments the left coordinate of the rectangle only, the right coordinate remains the same. Increments the left coordinate of the rectangle only, the right coordinate remains the same. The rectangle to be modified. The delta for changing the left bounds of the rectangle. Increments the top coordinate of the rectangle only, the bottom coordinate remains the same. Increments the top coordinate of the rectangle only, the bottom coordinate remains the same. The rectangle to be modified. The delta for changing the top bounds of the rectangle. Increments the top and left coordinate of the rectangle only, the bottom and right coordinates remain the same. Increments the top and left coordinate of the rectangle only, the bottom and right coordinates remain the same. The rectangle to be modified. The delta for changing the left bounds of the rectangle. The delta for changing the top bounds of the rectangle. Changes the left coordinate of the rectangle only, the right coordinate remains the same. Changes the left coordinate of the rectangle only, the right coordinate remains the same. The rectangle to be modified. The new value for the left bounds of the rectangle. Changes the right coordinate of the rectangle only, the left coordinate remains the same. The rectangle to be modified. The new value for the right bounds of the rectangle. Changes the top coordinate of the rectangle only, the bottom coordinate remains the same. Changes the top coordinate of the rectangle only, the bottom coordinate remains the same. The rectangle to be modified. The new value for the top bounds of the rectangle. Increments the left coordinate of the rectangle only, the right coordinate remains the same. The rectangle to be modified. The delta for changing the left bounds of the rectangle. Increments the top coordinate of the rectangle only, the bottom coordinate remains the same. The rectangle to be modified. The delta for changing the top bounds of the rectangle. Increments the top and left coordinate of the rectangle only, the bottom and right coordinates remain the same. The rectangle to be modified. The delta for changing the left bounds of the rectangle. The delta for changing the top bounds of the rectangle. Changes the left coordinate of the rectangle only, the right coordinate remains the same. The rectangle to be modified. The new value for the left bounds of the rectangle. Changes the top coordinate of the rectangle only, the bottom coordinate remains the same. The rectangle to be modified. The new value for the top bounds of the rectangle. Returns the low word of an integer. The integer. The low word. Returns the high word of an integer. The integer. The high word. Creates a long from two integers. The low word. The high word. The combined value. Internal only. returns Int SignedHIWORD Used internally. returns Int SignedHIWORD Used internally. returns Int SignedLOWORD Signeds the LOWORD. Returns int SignedLOWOR Checks if value is double.NaN or float.NaN. Checks if value is double.NaN. The value to compare. True if this is is double.NaN. Checks if value is float.NaN. The value to compare. True if this is is double.NaN. Checks if the string is NULL or length is 0. The string to be checked. True if string is NULL or length is 0. Swaps the from Near to Far and vice versa. The value to be converted. The resulting . Creates a from a or . Creates a from a . The value to be converted. The resulting . Creates a from a . The value to be converted. The resulting . Creates a from a and Creates a from a . StringFormat to return format GridHorizontalAlignment GridVerticalAlignment it returns StringFormat for rotation string Creates a from a or . Creates a from a . The value to be converted. The resulting . Converts the background image mode. specifies the image mode in picture box. Returns Background image mode. Converts the picture box size mode. specifies the image mode with in a cell. Returns picture box size mode. Gets the image rectangle. Bitmap Height and width Picture box mode. Creates a from a . The value to be converted. The resulting . Returns a centered rectangle of a specified size within a given rectangle. The outer rectangle. The size of the rectangle to be centered. The centered rectangle. Returns a centered point within a given rectangle. The outer rectangle. The centered point. Gets the form that the control is assigned to. The control whose parent form is searched. The parent form of the control or NULL. Returns a value indicating if the control is the active control in the parent container. The control to be tested. True if active; False otherwise. Gets the parent control of a specific type that the control is assigned to. The control whose parent form is searched. The type of the parent control to search. The parent control or NULL. Pauses the Thread. Time value. Implements storage for bannered cells in the grid and allows a fast way to look up if a specific cell is part of a bannered range. Initializes a new instance of class. Initializes a new instance of class. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Resets spanned cells in the specified range. Resets spanned cells in the specified range. The range to be reset. True if changes were made; False if there were no bannered ranges. Resets spanned cells in the specified range. The range to be reset. True if only bannered cells should be reset that are contained in the . True if changes were made; False if there were no bannered ranges. Determines whether saves the bannered cell's information for a specific range. The bannered cell's range to be saved. True if successful; False if there was an error or a range was already existing. Determines whether returns the bannered range information for a cell specified with row and column index. The row index. The column index. A place holder where bannered cell's range information is returned. True if a bannered cell was found; False otherwise. Clears all bannered ranges from this pool. Initialize the ranges of bannered cells. Initializes the pool with bannered range information from a range list. The range list with all bannered cells. Grid Model. Implements a specific cell in the grid. Initializes a new instance of class. Initializes an empty instance class. This constructor initializes a new object with default values. Initializes a new instance of class. Initializes an empty instance class. Row index. Column index. This constructor initializes a new object representing a specific cell with default . Initializes a instance of class. Initializes an empty instance of class. Row index. Column index. The style information for the cell. This constructor initializes a new object with a defined by the supplied . Initializes a new instance of class from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Releases all resources used by the. GridCellInfo. Invoked when grid cell style is changed. The source of the event.> An that contains the event data. Gets or sets the Row in the grid that the cell belongs to Gets or sets the Column in the grid that the cell belongs to Gets or sets the style object that contains the cell information. For internal use. Implements the Grid cell information collection editor. Initializes a new instance of the class. The type of the collection for this editor to edit. Creates a new form to display and edit the current collection. A to provide as the user interface for editing the collection. A collection that stores '' objects. Initializes a new instance of the class. Initializes a new instance of '' based on an already existing instance. A 'GridCellInfoCollection' from which the contents is copied Initializes a new instance of the class based on an existing object. The Data to construct the new collection. Initializes a new instance of the class based on an existing Data object. The Data to construct the new collection. Initializes a new instance of the class based on an existing Data object. Initializes a new instance of '' with an array of 'GridCellInfo' objects. An array of '' objects with which to initialize the collection Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Adds a '' item with the specified value to the 'GridCellInfoCollection' The '' to add. The index at which the new element was inserted. Copies the elements of an array at the end of this instance of ''. An array of '' objects to add to the collection. Adds the contents of another '' at the end of this instance. A '' containing the objects to add to the collection. Gets a value indicating whether the '' contains the specified value. The item to locate. True if the item exists in the collection; false otherwise. Copies the '' values to a one-dimensional System.Array instance starting at the specified array index. The one-dimensional System.Array that represents the copy destination. The index in the array where copying begins. Returns the index of a '' object in the collection. The 'GridCellInfo' object whose index will be retrieved. If found, the index of the value; otherwise, -1. Inserts an existing '' into the collection at the specified index. The zero-based index where the new item should be inserted. The item to insert. Returns an enumerator that can be used to iterate through the 'GridCellInfoCollection'. An enumerator. This example shows how to get the enumerator for the collection. //Getting the enumerator. GridCellInfoCollection.GridCellInfoEnumerator cells = this.gridControl1.GridCells.GetEnumerator(); 'Getting the enumerator. Dim cells As GridCellInfoCollection.GridCellInfoEnumerator= Me.gridControl1.GridCells.GetEnumerator() Removes a specific item from the ''. The item to remove from the ''. TODO: Describe what custom processing this method does before setting an item in the collection Index value. /// Old object value. /// New object value. TODO: Describe what custom processing this method does before inserting a new item in the collection Index value. /// Object value. Stores the grid cell view style in array list. Specific cell information. Indicating whether the control has to be invalidated. Gets or sets the '' item at the specified index position. The zero-based index of the entry to locate in the collection. The entry at the specified index of the collection. Implements strongly typed enumerator for '' Initializes the new instances of the class. A collection of objects. Determines whether the enumerator moves to the next element of the collection True if next element exists; False otherwise. Determines whether the enumerator moves to the next element of the collection true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. The collection was modified after the enumerator was created. Sets the enumerator to the first element in the collection Sets the enumerator to the first element in the collection Gets the current element from the collection (strongly typed) Gets the current element from the collection The type converter for objects. is a . It overrides the default behavior of the method and adds support for design-time code serialization. Initializes the new instances of the class. Determines whether this converter can convert the object to the specified type, using the specified context. Format context. The type you want to convert to. true if this converter can perform the conversion; otherwise, false. Converts the given value object to the specified type, using the specified context and culture information. Format context. Current culture information. The object to convert. The type to convert the value parameter to. An that represents the converted value. A collection of properties for a specified type. Format context. The type of array for which to get properties. A list of System.Atribute objects that will be used as a filter. A collection of properties. Implements a collection of objects in the . On the , you access the through the property. The uses standard and methods to manipulate the collection. Use the Contains method to determine if a specific cell type exists in the collection. TODO: Show how to register cell types. Implements the abstract base class for objects that are associated with a Initializes the new instances of class. Initializes the new instances of class with a NULL pointer. Disposes the unmanaged resources. This is called after the model has been de-serialized from the implementation of . The source of the event. Reference to the this object is associated with. Initiates calls to method. The source of the event. Reference to the this object is associated with. Initializes a new instance of with a reference to a . Reference to the this object is associated with. Sets the reference to the grid model.Used internally. Gets the this object is associated with. Initializes a new instances of class. Initializes an empty instances of and associates it with a . The that owns this collection of cell types. Disposes the unmanaged resources. Initializes a new iinstance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. This is called after the model has been de-serialized from the implementation of . The source of the event. Reference to the this object is associated with. Creates a copy of this object using . An exact copy of this object. Raises the event. A that contains the event data. Returns an enumerator that can iterate through the cell model dictionary. An that can iterate through the string dictionary. Removes the entry with the specified cellTypeName from the cell model dictionary. The cellTypeName of the entry to remove. Copies the cell model dictionary values to a one-dimensional instance at the specified index. The one-dimensional that is the destination of the values copied from the . The index in the array where copying begins. Determines if the contains a specific value. The value to locate in the . if the contains an element with the specified value; otherwise, . Determines if the contains a specific cellTypeName. The cellTypeName to locate in the . if the contains an entry with the specified cellTypeName; otherwise, . Removes all entries from the . Adds cell model with the specified cellTypeName into the . The cellTypeName of the entry to add. The cell model of the entry to add. Gets or sets the default cell type to be used for cells where a specific cell type could not be loaded. Gets a collection of values in the . Gets an object that can be used to synchronize access to the . Gets a collection of cellTypeNames in the . Gets or sets the for the specific cell type name. Gets a value indicating whether access to the is synchronized (thread-safe). Gets the number of cellTypeName-and-value pairs in the . Implements a collection editor that is tailored to adding, removing, and changing column styles from the . Initializes a new instance of class with a type to create instances for collection items. Type for collection item. Gets the data type that this collection contains. The data type of the items in the collection, or an if no Item property can be located on the collection. Determines whether original members of the collection can be removed. The value to remove. true if it is permissible to remove this value from the collection; otherwise, false. The default implementation always returns true. Creates a new instance of the specified collection item type. The type of item to create. A new instance of the specified object. Edits the value of the specified object using the specified service provider and context. An that can be used to gain additional context information. A service provider object through which editing services can be obtained. The object to edit the value of. The new value of the object. If the value of the object has not changed, this should return the same object it was passed. provides conversion routines for cell values to convert them to another type and routines for formatting cell values. Initializes the new instances of the class. Implements a for the property in . Determines whether this converter can convert an object of the given type to the type of this converter, using the specified context. Format context. The type you want to convert from. true if this converter can perform the conversion; otherwise, false. Converts the given object to the type of this converter, using the specified context and culture information. Format context. Current culture information. The to convert. An that represents the converted value. Converts the given value object to the specified type, using the specified context and culture information. Format context. Current culture information. The to convert. The type to convert the value parameter to. An that represents the converted value. Returns a collection of standard values for the data type this type converter is designed for when provided with a format context. An that provides a format context that can be used to extract additional information about the environment from which this converter is invoked. This parameter or properties of this parameter can be null. A that holds a standard set of valid values, or null if the data type does not support a standard set of values. Determines whether the collection of standard values returned from is an exclusive list of possible values, using the specified context. Format context. returns False. Determines whether this object supports a standard set of values that can be picked from a list, using the specified context. Format context. returns True. Initializes the new instances of the class. Implements the interface to compare the two objects. Compares the two objects. Implements a collection of items with information about column hidden state. Returns a string that represents the current object. A string that represents the current object. Initializes a new empty collection of class. Initializes a new empty collection of class. Initializes a new instances of class. Adds multiple GridColHidden items. The Array with elements that should be added to the end of the collection. The array and its elements cannot be NULL references (Nothing in Visual Basic). Raises the event. A that contains the event data. Raises the event. A that contains the event data. Determines whether the specified is equal to the current . The to compare with the current . true if the specified is equal to the current ; otherwise, false. Serves as a hash function for a particular type. A hash code for the current object. Compares each element with the element of another collection. The collection to compare to. True if all elements are equal and in the same order; False otherwise. Determines if the element belongs to this collection. The Object to locate in the collection. The value can be a NULL reference (Nothing in Visual Basic). True if item is found in the collection; otherwise, False. Returns the zero-based index of the occurrence of the element in the collection. The element to locate in the collection. The value can be a NULL reference (Nothing in Visual Basic). The zero-based index of the occurrence of the element within the entire collection, if found; otherwise, -1. Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array. The one-dimensional Array that is the destination of the elements copied from ArrayList. The Array must have zero-based indexing. The zero-based index in array at which copying begins. Returns an enumerator for the entire collection An IEnumerator for the entire collection. Enumerators only allow reading the data in the collection. Enumerators cannot be used to modify the underlying collection. Inserts a GridColHidden element into the collection at the specified index. The zero-based index at which the element should be inserted. The element to insert. The value must not be a NULL reference (Nothing in Visual Basic). Removes the specified GridColHidden element from the collection. The GridColHidden to remove from the collection. If the value is NULL or the element is not contained in the collection the method will do nothing. Adds an object to the collection. The element to be added to the end of the collection. The value must not be a NULL reference (Nothing in Visual Basic). The new Count. Removes the element at the specified index of the collection. The zero-based index of the element to remove. Disposes the object and collection items. Removes all elements from the collection. Inserts an item to the System.Collections.IList at the specified index. The zero-based index at which value should be inserted. The object to insert into the . Removes the first occurrence of a specific object from the System.Collections.IList. The object to remove from the System.Collections.IList. Determines whether the System.Collections.IList contains a specific value. The object to locate in the System.Collections.IList. true if the System.Object is found in the System.Collections.IList; otherwise false. Determines the index of a specific item in the System.Collections.IList. The object to locate in the System.Collections.IList. The index of value if found in the list; otherwise, -1. Adds an item to the System.Collections.IList. The object to add to the System.Collections.IList. The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection. Copies the elements of the System.Collections.ICollection to an System.Array, starting at a particular System.Array index. The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. The System.Array must have zero-based indexing. The zero-based index in array at which copying begins. Returns an enumerator that iterates through a collection. An System.Collections.IEnumerator object that can be used to iterate through the collection. Gets or sets a value indicating whether the collection is modified from its default state. Gets or sets the element at the zero-based index. Gets a value indicating whether the collection is Read-only. Gets a value indicating whether collection has no fixed size. Normally false since this collection has no fixed size. Only when it is Read-only IsFixedHide returns True. Gets a value indicating whether is Synchronized. Returns false. Gets the number of elements contained in the collection. Gets or sets the element at the specified index. The zero-based index of the element to get or set. The element at the specified index. Gets an object that can be used to synchronize access to the System.Collections.ICollection. Enumerator class for elements of a . Initializes the new instances of and attaches it to the collection. The parent collection to enumerate. Sets the enumerator to its initial position, which is before the first element in the collection. Advances the enumerator to the next element of the collection. True if the enumerator was successfully advanced to the next element; False if the enumerator has passed the end of the collection. Gets the current element in the collection. Gets the current element in the collection. ColHiddens are managed by the . Initializes a new instance of class. Initializes a new instance of class. Returns a string that represents the current object. A string that represents the current object. Initializes a new instance of class. The column index to be hidden. Determines whether the specified is equal to the current . The to compare with the current . true if the specified is equal to the current ; otherwise, false. Serves as a hash function for a particular type. A hash code for the current object. Gets or sets the ColIndex. Implements the type converter for objects. is a . It overrides the default behavior of the method and adds support for design-time code serialization. Initializes a new instance of class. Determines whether this converter can convert the object to the specified type, using the specified context. Format context. A Type object that represents the type you want to convert to. true if this converter can perform the conversion; otherwise, false. Converts the given value object to the specified type, using the specified context and culture information. Format context. Current culture information. The to convert. The type to convert the value parameter to. An that represents the converted value. Implements the interface to compare the two objects. Compares the two objects. Implements a collection of items with information about column widths. Returns a that represents the current . A that represents the current . Initializes a new empty collection of class. Initializes a new empty collection of class. Adds multiple GridColWidth items. The Array with elements that should be added to the end of the collection. The array and its elements cannot be NULL references (Nothing in Visual Basic). Raises the event. A that contains the event data. Raises the event. A that contains the event data. Determines whether the specified is equal to the current . The to compare with the current . true if the specified is equal to the current ; otherwise, false. Serves as a hash function for a particular type. A hash code for the current object. Compares each element with the element of another collection. The collection to compare to. True if all elements are equal and in the same order; False otherwise. Determines if the element belongs to this collection. The Object to locate in the collection. The value can be a NULL reference (Nothing in Visual Basic). True if item is found in the collection; otherwise, False. Returns the zero-based index of the occurrence of the element in the collection. The element to locate in the collection. The value can be a NULL reference (Nothing in Visual Basic). The zero-based index of the occurrence of the element within the entire collection, if found; otherwise, -1. Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array. The one-dimensional Array that is the destination of the elements copied from ArrayList. The Array must have zero-based indexing. The zero-based index in array at which copying begins. Returns an enumerator for the entire collection. An IEnumerator for the entire collection. Enumerators only allow reading the data in the collection. Enumerators cannot be used to modify the underlying collection. Inserts a GridColWidth element into the collection at the specified index. The zero-based index at which the element should be inserted. The element to insert. The value must not be a NULL reference (Nothing in Visual Basic). Removes the specified GridColWidth element from the collection. The GridColWidth to remove from the collection. If the value is NULL or the element is not contained in the collection, the method will do nothing. Adds an object to the collection. The element to be added to the end of the collection. The value must not be a NULL reference (Nothing in Visual Basic). The new count. Removes the element at the specified index of the collection. The zero-based index of the element to remove. Disposes the object and collection items. Removes all elements from the collection. Inserts an item to the System.Collections.IList at the specified index. The zero-based index at which value should be inserted. The object to insert into the . Removes the first occurrence of a specific object from the System.Collections.IList. The object to remove from the System.Collections.IList. Determines whether the System.Collections.IList contains a specific value. The object to locate in the System.Collections.IList. true if the System.Object is found in the System.Collections.IList; otherwise false. Determines the index of a specific item in the System.Collections.IList. The object to locate in the System.Collections.IList. The index of value if found in the list; otherwise, -1. Adds an item to the System.Collections.IList. The object to add to the System.Collections.IList. The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection. Copies the elements of the System.Collections.ICollection to an System.Array, starting at a particular System.Array index. The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. The System.Array must have zero-based indexing. The zero-based index in array at which copying begins. Returns an enumerator that iterates through a collection. An System.Collections.IEnumerator object that can be used to iterate through the collection. Gets or sets a value indicating whether the collection is modified from its default state. Gets or sets the element at the zero-based index. Gets a value indicating whether the collection is Read-only. Gets a value indicating whether this collection has no fixed size. Returns normally False since this collection has no fixed size. Only when it is Read-only IsFixedSize returns True. Gets a value indicating whether IsSynchronized. Returns false. Gets the number of elements contained in the collection. Gets or sets the element at the specified index. The zero-based index of the element to get or set. The element at the specified index. Gets an object that can be used to synchronize access to the System.Collections.ICollection. Enumerator class for elements of a . Initializes the new instances of and attaches it to the collection. The parent collection to enumerate. Sets the enumerator to its initial position, which is before the first element in the collection. Advances the enumerator to the next element of the collection. True if the enumerator was successfully advanced to the next element; False if the enumerator has passed the end of the collection. Gets the current element in the collection. Gets the current element in the collection. ColWidths are managed by the . Initializes a new instance of class. Initializes a new instance of class. Returns a string that represents the current object. A string that represents the current object. Initializes a new instance of class. Column index. Initializes the new instances of class. Column index. Width for the column. Determines whether the specified is equal to the current . The to compare with the current . true if the specified is equal to the current ; otherwise, false. Serves as a hash function for a particular type. A hash code for the current object. Gets or sets the col width. Gets or sets the ColIndex. implements the type converter for objects. is a . It overrides the default behavior of the method and adds support for design-time code serialization. Initializes a new instance of class. Returns whether this converter can convert the object to the specified type, using the specified context. Format context. The type you want to convert to. true if this converter can perform the conversion; otherwise, false. Converts the given value object to the specified type, using the specified context and culture information. Format context. Current culture information. The to convert. The type to convert the value parameter to. An that represents the converted value. A collection of properties for a specified type. Format context. Type information. A list of System.Attribute objects that will be used as a filter. A collection of properties. Implements a class that encapsulates a command to be executed at a later point in time. The method is overridden in specialized command classes and performs the command that is saved in this command. Initializes the new instances of the class. Initializes the new instances of the class. Initializes a new and associates it with a . The this command is executed on. Changes the description of this command. The new description text. Gets a description for the command. Gets the this command is executed on. Implements a collection of objects that should all be executed together as one command when the or of a grid is called. The of a object will create a object and redirect subsequent commands into the current object until is called. Initializes a new instance of class and associates it with a . Initializes a new instance of class and associates it with a . The this command should be executed on. Initializes a new instance of class and associates it with a and sets a description text. The this command should be executed on. The description text for this command. Executes the command. Adds a new command to the current transaction. The Command. Returns a reference to the latest command in the stack and leaves the command on the stack. A reference to the latest command. Returns a reference to the latest command in the stack and removes the command from the stack. A reference to the latest command. Gets a description for the command. Gets a reference to the stack with all commands that belong to this transaction. Holds undo information about a previous operation. The method will call with information stored in this object and scroll the affect range into the current grid view. Initializes the new instances of with information how to execute a command at a later time. The this command is associated with. A that specifies the range of cells. The array of objects that holds cell information. A that specifies the style operation to be performed. A that indicates if the operation was successful. Executes the command. Holds undo information about the selection state at a previous operation. A is created by the of . Initializes a new with information about current cell position and selected ranges. The this command is associated with. The row index of current cell. The column index of current cell. The currently selected ranges. Executes the command. Holds undo information about the current cells value. The method will call and then set the associated renderer's . Initializes a new with information about current cell position and selected ranges. The this command is associated with. The row index of current cell. The column index of current cell. The current cells value. This method will call and then set the associated renderer's . Holds undo information about a previous or operation on a property in a instance. The method will call with information stored in this object and scroll the affect range into the current grid view. Initializes the with information how to execute a method at a later time. A reference to the object. The list with ranges that should be changed. True if ranges should be made covered; False if covered ranges should be removed. Executes the command. Holds undo information about a previous or operation on a property in a instance. The method will call with information stored in this object and scroll the affect range into the current grid view. Initializes the new instances of with information how to execute a method at a later time. A reference to the object. The list with ranges that should be changed. True if ranges should be made bannered; False if bannered ranges should be removed. Executes the command. Holds undo information about a previous operation. The method will call with information stored in this object and scroll the affect range into the current grid view. Initializes the new instances of with information how to execute a command at a later time and associates it with a instance. The this command is associated with. The row or column where cells should be inserted. The number of rows or columns to insert. Holds additional information for command such as cell contents, row, and column sizes, hidden state, and covered cells state. Executes the command. Holds undo information about a previous operation. The method will call with information stored in this object and scroll the affect range into the current grid view. Initializes the new instances of with information how to execute a command at a later time and associates it with a instance. The this command is associated with. The first row or column. The number of rows or columns to move. The target row or column. Executes the command. Holds undo information about a previous operation. The method will call with information stored in this object and scroll the affect range into the current grid view. Initializes the new instances of with information how to execute a command at a later time and associates it with a instance. The this command is associated with. The first row or column. The last row or column. Executes the command. Initializes the new instances of the class. The this command is associated with. Default size. Executes the command. Implements a class that encapsulates a command to be executed at a later point in time. Initializes the new instances of the class. The this command is associated with. Header counts of grid table. Implements the storage for covered cells in the grid and allows a fast way to look up if a specific cell is part of a covered range. Initializes a new instance of class. Initializes a new instance of class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Resets spanned cells in the specified range. Resets spanned cells in the specified range. The range to be reset. True if changes were made; False if there were no covered ranges. Resets spanned cells in the specified range. The range to be reset. True if only covered cells should be reset that are contained in the True if changes were made; False if there were no covered ranges. Saves the covered cell's information for a specific range. The covered cell's range to be saved. True if successful; False if there was an error or a range was already existing. if is Null or cells not in the range. Determines the covered range information for a cell specified with row and column index. The row index. The column index. A place holder where covered cell's range information is returned. True if a covered cell was found; False otherwise. Clears all covered ranges from this pool. Initializes the pool with covered range information from a range list. The range list with all covered cells. Implements the functionalities to hold the information about position of current cell, current cell renderer, and last active grid control. Initializes a new instance of with position of current cell, current cell renderer, and last active grid control. Last active grid control. Current cell renderer. Row index. Column index. Gets or sets the last active grid control. Gets or sets the current cell renderer. Gets or sets the row index. Gets or sets the column index. Implement this class to hold StyleInfoStore objects with cell specific style properties. Rows and columns are allocated on demand and only for cells that have actual contents will a StyleInfoStore object be allocated. GridData also holds information about row, column, and table styles and row and column headers. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Runs when the entire object graph has been de-serialized. The object that initiated the callback. The functionality for this parameter is not currently implemented. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Initializes a new instance of the class. Initializes a new instance of the class. Resets the flag. Resets the row and column count to zero and clears all cells. Insert a specified number of rows at a specified row index. The starting row index where new rows should be inserted. The number of rows to insert. True if successful; False otherwise. Insert a specified number of columns at a specified column index. The starting column index where new columns should be inserted. The number of columns to insert. true if successful; false otherwise. Removes a specified number of rows at a specified row index. The starting row index where rows should be removed. The number of rows to remove. True if successful; False otherwise. Removes a specified number of columns at a specified column index. The starting column index where columns should be removed. The number of columns to remove. True if successful; False otherwise. Moves a specified number of rows to a new position. The starting row index of rows to be moved. The number of rows to move. The new position for the rows. True if successful; False otherwise. Moves a specified number of columns to a new position. The starting column index of columns to be moved. The number of columns to move. The new position for the columns. True if successful; False otherwise. Copies cell contents from a given range of cells to another range of cells. The original range of cells that hold cell contents to be copied. The target range where contents will be copied to. True if successful; False otherwise. Moves cell contents from a given range of cells to another range of cells. The original range of cells that holds cell contents to be moved. This range cell contents will be cleared after the move operation is complete. The target range where contents will be moved to. True if successful; False otherwise. Tests if the cell at the specified row and column index has been initialized. The row index. Can be 0 for column headers and -1 for column styles. The column index. Can be 0 for row headers and -1 for row styles. True if an element is at the specified co-ordinates. Sorts the data object by a specified column. Sorts the data object ascending by the specified column. The column that holds the key for sorting this object. This method shows how to sort a specified column with the given column index. this.gridControl1.Model.Data.SortByColumn(2); Me.gridControl1.Model.Data.SortByColumn(2) Sorts the data object by the specified column. The column that holds the key for sorting this object. The sort direction: ascending or descending. This example shows how to sort a specific column with the given column index considering the sort direction. this.gridControl1.Model.Data.SortByColumn(2,ListSortDirection.Descending); Me.gridControl1.Model.Data.SortByColumn(2,ListSortDirection.Descending) Sorts the data object by the specified column. The column that holds the key for sorting this object. The sort direction: ascending or descending. You should pass in GridModel.Rows.HeaderCount to specify if there are additional headers displayed in the grid that should not be sorted. Sorts the data object by the specified column. The column that holds the key for sorting this object. The sort direction: ascending or descending. A custom comparer class that implements a CompareTo method as shown in the example. Sorts the data object by the specified column. The column that holds the key for sorting this object. The sort direction: ascending or descending. You should pass in GridModel.Rows.HeaderCount to specify if there are additional headers displayed in the grid that should not be sorted. A custom comparer class that implements a CompareTo method as shown in the example. Sorts the data object by the specified range. The column that holds the key for sorting this object. The sort direction: ascending or descending. A custom comparer class that implements a CompareTo method as shown in the example. Used to get the range list Gets a value indicating whether the dictionary was modified. Gets or sets the row count in the table. The row count does not include headers and column styles. If you set the row count to be 2, there will be one column header, one column style, and two grid rows with cells. Gets or sets the column count in the table. The column count does not include headers and row styles. If you set the column count to be 2, there will be one row header, one row style, and two grid columns with cells. Gets or sets a custom object or tag to be saved with the object. Clipboard copy / paste will for example store covered ranges information in ExtendedInfo. Gets or sets the cell contents at the specified row and column index. The row index. Can be 0 for column headers and -1 for column styles. The column index. Can be 0 for row headers and -1 for row styles. A with the specified cell's data. Can be NULL if cell has not been initialized for the specified position. Gets or sets access to table styles data. Gets access to column styles data. Gets access to row styles data. Gets access to row styles data. Implements the methods to compare the objects. Initializes the new instances of the class. Column index. holds direction of the sort operation. List to sort. Initializes the new instances of the class. Column index. holds direction of the sort operation. List to sort. Object of . Compares the two objects to sort. Holds the value to be compared. Holds the value to be compared. Returns the sort direction. Compares the two objects to sort. Holds the value to be compared. Holds the value to be compared. Returns the sort direction. Compares the style of two objects. holds the style data of first object. Holds the style information of second object. Implements access to row styles data. You access this object using the property of a instance. Gets or sets the with style information at the given index. Implements access to column styles data. You access this object using the property of a instance. Gets or sets the with style information at the given index. For internal use. Initializes the new instances of the class. Determines whether this converter can convert an object of the given type to the type of this converter, using the specified context. An that provides a format context. A that represents the type you want to convert from. true if this converter can perform the conversion; otherwise, false. Converts the given object to the type of this converter, using the specified context and culture information. An that provides a format context. The to use as the current culture. The to convert. An that represents the converted value. Returns whether this converter can convert the object to the specified type, using the specified context. An that provides a format context. A that represents the type you want to convert to. true if this converter can perform the conversion; otherwise, false. Converts the given value object to the specified type, using the specified context and culture information. An that provides a format context. A . If null is passed, the current culture is assumed. The to convert. The to convert the parameter to. An that represents the converted value. Used internally. Derives from and provides a strongly-typed method and a strongly typed indexer (). Initializes a new instance of the class that is empty and has the default initial capacity. Initializes a new instance of the class that contains elements copied from the specified collection and that has the same initial capacity as the number of elements copied. The whose elements are copied to the new list. Creates a deep copy of the . A deep copy of the . Appends a object to the list. The object to be added. The index of the new object. Gets or sets a for the specified index. row index of the Implements a two-dimensional table that holds an array of arrays with items.

This is a memory efficient way to represent a table where values can remain empty. Only rows that actually contain data will allocate a and the array only holds as many objects as the specific row contains columns.

When you access data that are out of range, an empty () object will be returned. If you set data that are out of range, an exception will be thrown. If you set data for a row that was empty, the row will be allocated before the value is stored.

GridRowCollection provides methods that let you insert, remove, or rearrange columns or rows in the table.

Initializes a new instance of the class from the specified instances of the and classes. An instance of the class containing the information required to serialize the new instance. An instance of the class containing the source of the serialized stream associated with the new instance. This constructor implements the interface for the class. Returns the data needed to serialize the . A object containing the information required to serialize the object. A object containing the source and destination of the serialized stream. Initializes a new instance of the class. Initializes a new instance of the class that is empty. Initializes a new instance of the class from an existing table. References to cell objects will be copied into this table from the original table. The original table. For each row in the original table, a is added to this GridRowCollection and the references to the cell objects will be copied into the new . Creates an empty . An empty . Creates a deep copy of the where each row and cell object is cloned. A deep copy of the . Removes the at the specified row index. Index of the value to be removed. Inserts a at the specified row index. Row index. Value to insert. Removes the from the array. Value to remove Determines if the array contains the specified . Value to search. true if [contains] [the specified value]; otherwise, false. Determines the index of the specified in the array. The value whose index needs to be retrieved. returns Index. Adds a to the array. Value to add. The position into which the value was inserted Copied references of row elements to the specified array, starting at a particular index. The target collection. The starting index. Returns an enumerator for the list of rows. An enumerator. Gets or sets a object at the specified coordinates in the . The zero-based row index. The zero-based column index. If you query for an element and the coordinates are out of range, an empty () object will be returned. If you set an element and the coordinates are out of range, an exception is thrown. Gets a value indicating whether the array is Read-only. Gets or sets the element at the specified index. The zero-based index of the element to get or set. The element at the specified index. Gets or sets a object at the specified row index. The zero-based row index. Gets a value indicating whether IsFixedSize. Always false. Gets a value indicating whether access to the collection is synchronized. Gets the number of row elements in this array. Gets not supported. Implements the functionalities to define the delayed range of the grid. Creates the copy of the grid. Ensures the row capacity of delayed ranges. Inserts the row at specified index. At which the row to be inserted. First row index of delayed range. last row index of delayed range. Appends the rows in grid delayed range. First row index of delayed range. last row index of delayed range. Removes the row at specified index. At which the row to be inserted. Resolves ranges of the grid delayed ranges. object holds the ranges of the grid cell. Top row index.Out parameter. Bottom row index.Out parameter. Clears the last row and first row values. Represents a class that supports cloning new instances for the same value as existing instance. Initializes the new instances of the class. Clears the delayed ranges. Add the items to delayed ranges. Calculates the delay range for the given range info. A object holds the ranges of the grid cell. Splits the delayed range. object holds the ranges of the grid cell. Sets the row counts of the grid. Maximum row count. Sets the column count. Maximum column count. Copies the delayed ranges of the grid. Represents a method that handles cancelable events associated with a specific cell. The source of the event. An that contains the event data. Represents a method that handles events associated with a specific cell. The source of the event. An that contains the event data. For internal use. For internal use. Initializes a new instance of class. For internal use. holds the cell layout ranges. Gets Range. For internal use. Implements a collection with index / value pairs stored in a and lets you insert, remove, or move values in the collection and indexes will be updated. and store row, column sizes, and hidden states in a . Gets the hash table. Used internally. returns Hash table. Initializes a new instance ofclass. Initializes a new instance of and specifies the type of values this collection holds. The type of values this collection holds. Initializes a new instance and specifies the hash table and type of values this collection holds. The inner hash table to be associated with this . The type of values this collection holds. Initializes a new instance from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Creates a new object that is a copy of the current instance. A new object that is a copy of this instance. Creates an exact copy of this . A with all values copied over. Adds an index / value pair. The index for the value. The value. Checks if the collection has an entry at the specified index. The index for the value. True if a value exists at the index; False otherwise. Copies the values to a one-dimensional instance at the specified index. The one-dimensional that is the destination of the values copied from the . The index in the array where copying begins. Removes the value at the specified index. The Index. Inserts a specified number of values at a specific index and adjusts the index for subsequent values. The index where to start inserting values. The number of values to insert. Removes a specified number of values at a specific index and adjusts the index for subsequent values. The index where to start removing values. The number of values to remove. Moves a specified number of values to a new index and adjusts the indexes of subsequent values. The index where to start moving values. The number of values to move. The destination index. Checks the minimum and maximum value of dictionary. Checks the minimum and maximum value of dictionary. Key value. Invoked when the Key and value pair inserted into the dictionary. Key value. Corresponding value of that key. Invoked when the Key and value pair removed from the dictionary. Key value. Corresponding value of that key. Sets the new value. Validates the key,value pair in the dictionary. if is Negative. Checks if a value is stored at a specific index and returns its value. Determines if a value is stored at a specific index and returns its value. The index to look up. The value at the specified index. True if value exists; False otherwise. Determines if a value is stored at a specific index and returns its value. The index to look up. The value at the specified index. True if value exists; False otherwise. Determines if a value is stored at a specific index and returns its value. The index to look up. The value at the specified index. True if value exists; False otherwise. Gets the MemberType. Used internally. Gets or sets the value at the specified index. Gets the smallest index in the collection. Gets the largest index in the collection. Returns a graphics context when needed and raises a event to initialize the graphics object. Initializes a new empty instance ofclass. Initializes a new instance of with a object. The control that will be used for creating the graphics object.. Disposes the unmanaged resources. Raises the event. A that contains the event data. Occurs after a new object was created and gives a handler a chance to initialize the graphics context. Gets or creates a cached graphics object. Provides an interface for an object that handles events raised by objects. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. See in the class for information. This is the class that holds all data information about a grid and provides methods to completely initialize a grid and attach it later to a so that its contents can be rendered to the screen. A holds all data for a grid. You can initialize a and then attach it to one or more controls. If you share the same model among several controls, changes in the model will be automatically reflected in all associated controls. If the user makes changes in one control, e.g. row heights or cell contents, the changes will be stored in the GridModel and events are raised that notify all associated controls about changes in the model so that each view can update its contents. This follows the Model-View-Controller pattern where data is separated from view. offers many events that you can subscribe to and modify the default behavior of the grid. Typically, methods that are sent before the action is carried out allows you to adjust certain parameters or cancel the operation. These events usually end with an "ing" suffix, like "Changing". Events that are raised after the data in the model have been changed inform associated controls about the success of the operation. For example, if a receives a event, it will redraw the affected cells. Most of these events have a property that indicates if the operation finished successfully or failed to complete. A holds a that holds models for all cell types used in the grid. If a cell queries for a new cell type that is not found in the cell model collection, it tries to instantiate a object for the specific cell type. A event is raised to allow you to create custom cell types on demand. But you can also instantiate cell models for custom cell types at initialization and add them to . There is also a class that combines both and into one class. This gives you easier access to all methods of if you are working on a grid that does not need to support several views sharing the same model. Provides the interface that holds the volatile data cache of the grid. Releases all the resources used by this component. Clears all cell formatting. Clears all cell formatting in the object. This method is supposed to be called only from the GridGroupingControl. When used with regular grids there might be event listeners setup by the GridControlBase object that is attached to the GridModel and replace the GridModelOptions might cause memory leaks in such case. A object that provides properties to adjust the look and feel of grid. Raises the event. An that contains the event data. Raises the event. A that contains the event data. Used internally. Initiates calls to method. Raises the event. A that contains the event data. Used internally. Initiates calls to method. Raises the event. A that contains the event data. Used internally. Initiates calls to method. Raises the event. A that contains the event data. Used internally. Initiates calls to method. Raises the event. A that contains the event data. Used internally. Sets the default parse common formats. that contains the event data. Raises the event. A that contains the event data. Used internally. initiates calls to method. An that contains the event data. Raises the event. A that contains the event data. Used internally. initiates calls to method. An that contains the event data. Raises the event. A that contains the event data. Used internally. Raises the event. A that contains the event data. Used internally. Raises the event. A that contains the event data. Used internally. Raises the event. A that contains the event data. Used internally. Raises the event. A that contains the event data. Used internally. Raises the event. A that contains the event data. Used internally. Raises the event. A that contains the event data. Used internally. Raises the event. A that contains the event data. Used internally. Raises the event. A that contains the event data. Used internally. Raises the event. A that contains the event data. Used internally. Raises the event. A that contains the event data. Used internally. Raises the event. A that contains the event data. Used internally. Raises the event. A that contains the event data.// Events Raises the event. A that contains the event data. Initiates calls to method. An that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. Event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event An that contains the event data. This is used in GridCurrentCell to record the current cell movement for undo and redo playback. Row index. Column index. Suspends the painting of associated grid controls until the method is called. Suspends the painting of associated grid controls until the method is called. When many paints are made to the appearance of a control, you should invoke the BeginUpdate method to temporarily freeze the drawing of the control. This results in less distraction to the user, and a performance gain. After all updates have been made, invoke the EndUpdate method to resume drawing of the control. Pass BeginUpdateOptions if you do not want to do a complete Refresh of the control and instead want to have certain regions of your control be invalidated or scroll the contents of control. If you call BeginUpdate() and then later EndUpdate(), the control will know if a paint is pending and only refresh the control if a paint is pending. A call to ShouldPrepareUpdate, Invalidate, or a WM_PAINT message during the BeginUpdate EndUpdate block will signal the control that a paint is pending. This method will raise a event. Each attached listens to this event and calls for the current control. Suspends the painting of associated grid controls until the method is called. Specifies the painting support during the BeginUpdate, EndUpdate batch. Suspends the painting of associated grid controls until the method is called and records a command description why painting is suspended. Specifies the painting support during the BeginUpdate, EndUpdate batch. A description of the command. Resumes the painting of the control suspended by calling the BeginUpdate method. When many paint are made to the appearance of a control, you should invoke the BeginUpdate method to temporarily freeze the drawing of the control. This results in less distraction to the user, and a performance gain. After all updates have been made, invoke the EndUpdate method to resume drawing of the control. This method will raise a event. Each attached listens to this event and call for the current control. Cancel any pending BeginUpdate calls. Resumes the painting of the control suspended by calling the BeginUpdate method and allows you to specify whether current pending paint operations should be discarded. Specifies whether current pending paint operations should be discarded. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Suspends raising change events. Resumes raising change events. Suspend logging undo information. Resume logging undo information. Triggers a call to the method which raises event Contains Grid cell range information. Triggers a call to the method which raises event An that contains the event data. Triggers a call to the method which raises event Contains Grid cell range information. Triggers a call to the method which raises event An that contains the event data. Implements of the interface. Implements of the interface. Creates the control. The control. Force all views to be refreshed. Force all views to invalidate a specified range of cells. The range of cells to be repainted. Options that indicate if method should enlarge the affected range of cells to include covered and floating cells. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Override this event if you want to customize the graphics context before a grid control draws to it. The following example changes the of a object to : e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; Raise a event. Graphics object. Returns a display object for this grid. You must dispose this object after use. The method will return null if is null. In such case the method is recommended. A object. Raises a event. The following shows how to use this method. IGraphicsProvider graphicsProvider = this.GetGraphicsProvider(); // It is important to hold onto this object as long ad Graphics context is needed! Graphics g = graphicsProvider.Graphics; // Do not dispose this object! It is a cached Display Device context. // If nested method calls do call GetGraphicsProvider and get a graphics context the // same cached graphics context can be returned. Dim graphicsProvider as IGraphicsProvider = this.GetGraphicsProvider() ' It is important to hold onto this object as long ad Graphics context is needed! Dim g as Graphics = graphicsProvider.Graphics ' Do not dispose this object! It is a cached Display Device context. ' If nested method calls do call GetGraphicsProvider and get a graphics context the ' same cached graphics context can be returned. Returns a temporarily cached object. The object creates a Graphics object on demand and raises a event. The graphics object gets automatically disposed once the IGraphicsProvider itself goes out of scope. Do not dispose this object yourself. Graphics provider. Initializes a new instance of class. The Type value. Initializes a new instance of . Initializes a new instance of . Initializes a new from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Runs when the entire object graph has been de-serialized. The source of the method. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. This method is called the first time and no has been associated with the before. A object. Raises the BaseStylesMapChanged event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. This method is called the first time and no has been associated with the before. A object. Raises the event. An that contains the event data. Triggers a call to the method which raises event A that contains the event data. Recreates a object from a file that holds data in SOAP format. The full pathname of the file. The recreated object. Recreates a object from a with data in SOAP format. Recreates a object from a with data in SOAP format. A with data in SOAP format. The recreated object. Load the SOAP format of the Grid model. object. SOAP stream. Saves the current object to a file in SOAP format. The filename can be specified with . Saves the current object in SOAP format to a file with the specified filename. File name. Saves the current object to a stream in SOAP format. Stream object. Recreates a object from a file that holds data in binary format. Recreates a object from a file that holds data in binary format. The full pathname of the file. The recreated object. Recreates a object from a with data in binary format. A with data in binary format. The recreated object. Saves the current object to a file in binary format. The filename can be specified with . Saves the current object in binary format to a file with the specified filename. File name. Saves the current object to a stream in binary format. Stream object. Returns the column index for a column that can be identified by the specified name. The name of the column. The column index; or -1 if column could not be resolved. The default behavior is that the name is recognized if in format C# (e.g. C10). If a is attached to the grid (e.g. a when using a ), the name can be the fieldname in the underlying table. The following collections allow you to pass in names as identifiers: ItemsDescriptions of the and collection. of and collection. of and of collection. Returns the row index for a row that can be identified by the specified name. The name of the row. The row index; or -1 if row could not be resolved. The default behavior is that the name is recognized if in format R# (e.g. R10). The following collections allow you to pass in names as identifiers: ItemsDescriptions of the and collection. of and collection. of and of collection. Raises the RowHeightsChanged event. A GridRowColSizeChangedEventArgs that contains the event data. Triggers a call to the method which raises event An that contains the event data. Raises the RowHeightsChanging event. A that contains the event data. Raises the ColWidthsChanged event. A that contains the event data. Raises the ColWidthsChanging event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raise the QueryRowHeight event. A that contains the event data. Raise the QueryRowHeight event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raise the QueryColWidth event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Sets the row heights,used internally. Row heights of the grid model. Determines if values in the collection were modified. True if modified; False otherwise. Resets values in the collection. Sets the column widths for grid model. Used internally. Resets values in the collection. Determines if values in the collection were modified. true if modified; false otherwise. Determines if values in the collection were modified. True if modified; False otherwise. Resets values in the collection. Determines if values in the collection were modified. True if modified; False otherwise. Resets values in the collection. Calculates the preferred size of the cell based on its contents, including margins and any buttons. The context of the canvas. The row index. The column index. The object that holds cell information. Vertical or horizontal. The optimal size of the cell. Creates a GridBorder object generated using Options.DefaultGridBorderStyle and Properties.GridLineColor Grid border. Creates a GridBorder object generated using Options.DefaultGridBorderStyle and Properties.FixedLinesColor Grid border. Calculates the preferred size of the cell based on its contents, including margins and any buttons. The context of the canvas. The row index. The column index. Vertical or horizontal. The optimal size of the cell. Raises the event. An that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Used internally. Used internally. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event. A that contains the event data. Gets a table that represents a range of cells. A that specifies the range of cells. A object that holds contents for all the cells. Changes the contents for a range of cells in one batch. Changes the contents for a range of cells in one batch. A that specifies the range of cells. A object that holds contents for all the cells. Changes the contents for a range of cells in one batch. A that specifies the range of cells. A object that holds contents for all the cells. If True, the method will not raise the event. If True, the method will try to assign the style object directly. This is only possible if the existing cell was empty before or if modifyType is . Otherwise it will apply the object as specified in modifyType. Apply array of styles to the specified range of cells. Row index. Column index. The objects that holds cell information. Calls the method to get style data from GridData. Row index. Column index. The objects that holds cell information. Raises the event. An that contains the event data. GetCellInfo raises a event to fill style contents and gets style data (the ) from GridData. Row index. Column index. The style object that will receive data. Always true. If did not set e.Handled, the method gets the style data (the ) from GridData and applies its data to the style object. Existing data of the style parameter previously initialized with will be preserved. IGridVolatileDataContainer.GetCellInfo calls GetCellInfo to return style information for a cell to the GridVolatileData cache. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Determines whether changes the cell contents at a specific row and column index. Determines whether changes the cell contents at a specific row and column index. The row index. The column index. The object that holds cell information. A that specifies the style operation to be performed. A that indicates if the operation was successful. is more low-level than using or . It provides a faster solution to change cell contents compared to changing cells with or . It will not repaint any cells and also not try to generate undo information. Determines whether changes the cell contents at a specific row and column index and allows you to suppress raising events and also avoid copying the style objects. The row index. The column index. The object that holds cell information. A that specifies the style operation to be performed. A that indicates if the operation was successful. If True, the method will not raise the event. If True, the method will try to assign the style object directly. This is only possible if the existing cell was empty before or if modifyType is . Otherwise it will apply the object as specified in modifyType. Fixes the type for cell value. The object holds the cell information. Type of cell value. Resets the volatile data cache. Call this method if you want to refresh the grid and force grid cells that are visible at the moment to reload all their data from data source. Also, the row and column count will be requeried. Determines whether the property descriptor is a relation. The object holds property. Returns boolean value. Gives you an easy way to copy data from any given datasource that implements the IList interface or is an Array to a specified range of cells in the grid. The destination range. A data source that implements the IList interface or is an Array. PopulateValues uses the low-level method to populate date from the given data source. This makes it a much faster way to fill grid cells instead of using or . It will not generate undo information. The grid display will be refreshed after the method finishes. If you want to fill the grid with large amount of data and give the user a chance to abort the operation, you should assign a to the model's . . This example shows how to populate the grid with values for a specified range from the data source. // Populating DataSource DataTable dataTable = new DataTable("Sample"); dataTable.Columns.Add("Column 1"); dataTable.Columns.Add("Column 2"); dataTable.Columns.Add("Column 3"); dataTable.Columns.Add("Column 4"); dataTable.Rows.Add("Row1", "Row2", "Row3", "Row4"); //Populating the values to grid this.gridControl1.PopulateValues(GridRangeInfo.Cells(1, 1, dataTable.Rows.Count, dataTable.Columns.Count), dataTable); ' Populating DataSource Dim dataTable As New DataTable("Sample") dataTable.Columns.Add("Column 1") dataTable.Columns.Add("Column 2") dataTable.Columns.Add("Column 3") dataTable.Columns.Add("Column 4") dataTable.Rows.Add("Row1", "Row2", "Row3", "Row4") 'Populating the values to grid Me.gridControl1.PopulateValues(GridRangeInfo.Cells(1, 1, dataTable.Rows.Count, dataTable.Columns.Count), dataTable) Sets the cell styles. The destination range. The collection of property descriptor. Items to be populated. Sets the cell styles. Row index. Column index. Items to be populated. Gives you an easy way to copy column headers or names from any given data source that implements the IList interface or is an Array to a specified range of cells in the grid. The destination range. A data source that implements the IList interface or is an Array. . This example shows how to populate the headers with the specified range and the data source. // Populating DataSource DataTable dataTable = new DataTable("Sample"); dataTable.Columns.Add("Column 1"); dataTable.Columns.Add("Column 2"); dataTable.Columns.Add("Column 3"); dataTable.Columns.Add("Column 4"); dataTable.Rows.Add("Row1", "Row2", "Row3", "Row4"); // Populating the headers this.gridControl1.PopulateHeaders(GridRangeInfo.Cells(0, 1, 0, 4), dataTable); ' Populating DataSource Dim dataTable As New DataTable("Sample") dataTable.Columns.Add("Column 1") dataTable.Columns.Add("Column 2") dataTable.Columns.Add("Column 3") dataTable.Columns.Add("Column 4") dataTable.Rows.Add("Row1", "Row2", "Row3", "Row4") ' Populating the headers Me.gridControl1.PopulateHeaders(GridRangeInfo.Cells(0, 1, 0, 4), dataTable) Sets the Header cell styles. The destination range. The collection of property descriptor. Sets the header styles. Row index. Column index. Cell value. Analyzes specified cells for attributes that are equal among the cells. Analyzes specified cells for attributes that are equal among the cells. A that specifies the range of cells. The object that holds all attributes that were equal among cells. The following example determines if is enabled for a range of cells: GridStyleInfo style = GetCombinedStyle(GridRangeInfo.Cells(2, 2, 4, 8)); bool isBold = style.Font.Bold; Analyzes specified cells for attributes that are equal among the cells. A that specifies the ranges of cells. The object that holds all attributes that were equal among cells. Records current selection state - current cell and selected ranges. Will be used for restoring selections when performing undo / redo, The row index of current cell. The column index of current cell. The current list of selected ranges. Scrolls the specifies range into view of the active grid view. The to be made visible. The reason for scrolling the current cell into view (e.g. KeyPress, GridFocus etc.) This will only affect the active grid view. See . Applies a text to the specified range of cells. Determines whether can applies an array of styles to the specified range of cells. A that specifies the range of cells. The array of objects that holds cell information. A that specifies the style operation to be performed. A that indicates if the operation was successful. will reset volatile data cache, generate undo information, force recalculation of floating cells, and raise and method. When you change cells directly with an indexer, this results in a call to with modifyType set to . The following example assigns a previously created style with a bold font to a cell: GridStyleInfo boldFontStyle = new GridStyleInfo(); boldFontStyle.TextColor = Color.FromArgb(238, 122, 3); boldFontStyle.Font = boldFont; model[rowIndex, 1].Text = "Interior"; model.ChangeCells(GridRangeInfo.Cell(rowIndex, 1), boldFontStyle); Dim boldFontStyle As New GridStyleInfo() boldFontStyle.TextColor = Color.FromArgb(238, 122, 3) boldFontStyle.Font = boldFont model(rowIndex, 1).Text = "Interior" model.ChangeCells(GridRangeInfo.Cell(rowIndex, 1), boldFontStyle) Determines whether can applies a text to the specified range of cells. A that specifies the range of cells. The text to be saved in cells. A that indicates if the operation was successful. This example shows how to change the cells with the specified range and text values.public bool ChangeCells(GridRangeInfo range, GridStyleInfo cellInfo) // The target range to set the text. GridRangeInfo range = GridRangeInfo.Cols(1, 2); //Setting the "SampleData" text to target range. this.gridControl1.Model.ChangeCells(range, "SampleData"); ' The target range to set the text. Dim range As GridRangeInfo = GridRangeInfo.Cols(1, 2) 'Setting the "SampleData" text to target range. Me.gridControl1.Model.ChangeCells(range, "SampleData") Determines whether can applies a style to the specified range of cells. A that specifies the range of cells. The object that holds cell information. A that indicates if the operation was successful. This example shows how to change the cells with the specified range and it's style. // Defining the new cell styles. GridStyleInfo newStyle = new GridStyleInfo(); newStyle.CellType = GridCellTypeName.ComboBox; // Setting the styles of range of cells to new style. this.gridControl1.Model.ChangeCells(GridRangeInfo.Rows(1, 2), newStyle); ' Defining the new cell styles. Dim newStyle As New GridStyleInfo() newStyle.CellType = GridCellTypeName.ComboBox ' Setting the styles of range of cells to new style. Me.gridControl1.Model.ChangeCells(GridRangeInfo.Rows(1, 2), newStyle) Determines whether can applies a style to the specified range of cells. A that specifies the range of cells. The object that holds cell information. A that specifies the style operation to be performed. A that indicates if the operation was successful. This example shows how to change the cells with the specified range and it's style. // Defining the new cell styles. GridStyleInfo newStyle = new GridStyleInfo(); newStyle.CellType = GridCellTypeName.ComboBox; // Setting the styles of range of cells to new style. this.gridControl1.Model.ChangeCells(GridRangeInfo.Rows(1, 2), newStyle, Syncfusion.Styles.StyleModifyType.Changes); ' Defining the new cell styles. Dim newStyle As New GridStyleInfo() newStyle.CellType = GridCellTypeName.ComboBox ' Setting the styles of range of cells to new style. Me.gridControl1.Model.ChangeCells(GridRangeInfo.Rows(1, 2), newStyle, Syncfusion.Styles.StyleModifyType.Changes) Determines whether can applies an array of styles to the specified range of cells. A that specifies the range of cells. The array of objects that holds cell information. A that indicates if the operation was successful. This example shows how to change the cells with the specified range and it's style from the array of values. GridStyleInfo style1 = new GridStyleInfo(); style2 = new GridStyleInfo(); style2.BackColor = Color.Red; GridStyleInfo[] styles = { style1, style2 }; GridRangeInfo range = GridRangeInfo.Rows(6, 7); this.gridControl1.Model.ChangeCells(range, styles); Dim style1 As New GridStyleInfo() style1.TextColor = Color.Blue Dim style2 As New GridStyleInfo() style2.BackColor = Color.Red Dim styles() As GridStyleInfo = { style1, style2 } Dim range As GridRangeInfo = GridRangeInfo.Rows(6, 7) Me.gridControl1.Model.ChangeCells(range, styles) Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. True if the operation is successful. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Returns the cell contents for a range of cells and stores them in an array. Returns the cell contents for a range of cells and stores them in an array. A that specifies the range of cells. An array of object with cell information. Returns the cell contents for a range of cells and stores them in an array. A that specifies the range of cells. A to provide feedback during time-consuming operations or to abort an operation. An array of that allows progress feedback. May be NULL. Determines if a range of cells is selected or if the grid has a current cell which contents can be cleared. True if clearing cells with is possible; False otherwise. Use this to enable a "Clear" menu item or gray it out. Determines whether can clears all ranges in the current user selection. True if you want to clear all cell information; False if you only want to clear text. A that indicates if the operation was successful. Clears a specified range of cells. Determines whether can clears a specified range of cells. The GridRangeInfo True if you want to clear all cell information; False if you only want to clear text A that indicates if the operation was successful. Determines whether can clears specified ranges of cells. A that holds cells to be cleared. True if you want to clear all cell information; False if you only want to clear text. A that indicates if the operation was successful. Resets information about position of current cell, current cell renderer, and last active grid control. Confirm pending changes in current cell. Raises the event. A that contains the event data. Set to True if you can't confirm pending changes and want to abort the current operation. Some operations cannot be aborted, however. Determines whether confirms any pending changes, raises the event, and calls the current cells method. True if this action is successfully completed; False otherwise. Calls for the current cell. Called after the object was created. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Not implemented yet. The Last row. The Last column. Raises the event. A that contains the event data. Used internally. Raises the event. A that contains the event data. Used internally. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Determines if bannered ranges have been added. returns boolean value to determines if bannered ranges have been added Clears all bannered ranges. Determines if covered ranges have been added. returns boolean value to determines if covered ranges have been added. Clears all covered ranges. Determines spanned cell information for a given row and column. Spanned cells can be covered cells or floated cells. The row index. The column index. A that specifies the range of cells. A that indicates if a spanned range existed at the specified cell. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. An that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Temporarily saves the state of floating cells, called from GridPrintDocument.OnBeginPrint before printing. Restores the state of floating cells that has been saved before with . Called from GridPrintDocument.OnEndPrint after printing. Raises the event. An that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. An that contains the event data. Triggers a call to the method which raises event A that contains the event data. Raises the event. A that contains the event data. Triggers a call to the method which raises event A that contains the event data. Removes border margins from a given cell rectangle. The borders are determined from a specified style with cell content information. Removes border margins from a given cell rectangle. The borders are determined from a specified style with cell content information. The with the cell bounds. The object that holds cell information. Indicates if grid is in RightToLeft mode. The with the cell bounds excluding its borders. Removes border margins from a given cell rectangle. The borders are determined from a specified style with cell content information. The with the cell bounds. The object that holds cell information. The with the cell bounds excluding its borders. Adds border margins to given cell client area size. The borders are determined from a specified style with cell content information. The with the cell size. The object that holds cell information. The with the cell size including its borders. Extracts information from a . The object that holds cell information. The object with border margins. Raises the event. A that contains the event data. Calls and raises a event. Good for synchronizing current cell movements in splitter panes. The row index. The column index. This is called from GridDropDownGridListControlCellModel to initialize datasource on demand. Override this method to calculate the datasource on demand only when it is needed and not every time in QueryStyleInfo. Default behavior is to return style.ChoiceList if not empty. If style.ChoiceList is empty, style.DataSource is returned. The style object that holds the binding information. Style datasource. Returns GridStyleInfo.PropertyDescriptor. The style object A PropertyDescriptor Returns a TypeConverter with type information about the style.CellValue. The style object A TypeConverter Returns a list with standard values / possible choices for the specified TyepConverter and Type. Helper routined for . The TypeConverter The Type property A list with standard values / possible choices. Gets or sets that defines an interface that utilizes to query cell contents and base styles, look up cell types, and save changes back to the grid. Gets a value indicating whether true if object is executing method call. Gets a value indicating whether object has been disposed. Gets or sets GridModelEventsTarget. Redirects events defined in to the specified object. Each event will first be called on before the actual event handler in this object is called. Gets or sets a collection of objects. This collection is a wrapper collection for cells in the object. It provides support for code serialization at design-time. Gets or Sets the StringCollection value to the RecordFilterCollection. Gets or Sets the StringCollection value to the SortedColumns. Gets or Sets the StringCollection value to the Column list. Gets or sets a collection of objects. This collection is a wrapper collection for cells in the object. It provides support for modifying cells through a CollectionEditor and code serialization at design-time. Gets or sets the user-definable data for the current object. Gets a that allows you to adjust behavior and appearance of the grid. Gets a reference to a . Gets IGridModelSource interface. Returns this. Gets or sets a feedback handler for the grid model to give visual feedback about time-consuming operations. Default handler for visual feedback are and . If you want to provide visual feedback about progress of time-consuming operations you should assign feedback listener to . This could be done in your forms constructor or your derived classes constructor. See for more in-depth discussion about operation feedback. The following example initializes a as listener. Syncfusion.Windows.Forms.DelayedStatusDialog handler = new Syncfusion.Windows.Forms.DelayedStatusDialog(); handler.Delay = 1000; handler.ShowDialogPercentRule = 25; //default handler.ShowMousePercentRule = 75; //default values this.gridControl1.Model.OperationFeedbackListener = handler; Occurs when the reference for in has changed. Occurs when has changed. Occurs when has changed. Occurs when has changed. Occurs after the contents of a specified range of cells have changed. See for more detailed discussion about this event. Occurs before the contents of a specified range of cells are being changed. See for more detailed discussion about this event. Occurs when any changes in the grid should be confirmed. This event is raised as a result of a method call. Set True if you cannot commit pending changes. Occurs when Refresh is called. See for more detailed discussion about this event. Occurs when the first BeginUpdate was called for the grid model. See for more detailed discussion about this event. Occurs when EndUpdate was called for the grid model. See for more detailed discussion about this event. Occurs when the model is about to save style information about a specific cell. If you made changes to you should also set to True. The grid will check this flag to see whether the style has been changed from its original settings. See DataBoundGrid source code for example. The intention of this event is to store data. See for the related UI event after changes were made to the data store. See for further discussion about this event. Occurs when the model is about to save style information about a specific cell and a (e.g. ) has been specified. This is similar to the event. Is called before GridModelDataBinder.SaveCellInfo is called and gives you a chance to modify style data before they are saved in underlying data source. If you made changes to , you should also set to True. The grid will check this flag to see whether the style has been changed from its original settings. The intention of this event is to store data. See for the related UI event after changes were made to the data store. See and for further discussion about this event. Occurs for each cell when text is pasted from a buffer into several cells. This event allows you to customize how to handle text pasted into a cell at run-time on demand. If you do not wish the grid to make any changes to the cell, set to True. The grid will check this flag to see whether it should make changes to the cell. If you do wish the grid to abort the current paste operation (in case several cells are pasted), set the flag to True. The GridPasteCellTextEventArgs members, e.ColIndex and e.RowIndex, specify column and row of the cell. The e.Style member holds the GridStyleInfo object for the cell. Occurs each time the is called to get the raw string that represents the underlying cell's value. This event allows you to customize how to represent a cell's value as string at run-time on demand. If you do want to customize the grid's default conversion, you should assign the result string to and set to True. The grid will check this flag to see whether it should return or use a default conversion. If you need identity information about the cell such as row and column index, you can get that information by querying of the object. Occurs each time the is called to set the unformatted string that represents the underlying cell's value. This event allows you to customize how to parse the unformatted text into a cell value at run-time on demand. If you do want to customize the grid's default parsing behavior, you should assign the resulting value to the of the object and set to True. The grid will check this flag to see whether it should accept your modification or use a default parsing routine. If you need identity information about the cell such as row and column index, query the of the object. See the event for further discussion since these two events are very similar. Often you will need to handle both events in your code in the same way. Occurs when an undo or redo command has been added to the command stack. Check GridModelCommandManager.UndoStack or GridModelCommandManager.RedoStack to see the list of commands on the stack. Occurs each time the is called to get the formatted string that represents the underlying cell's value considering . This event allows you to customize how to format a cell's value as string at run-time on demand based on . If you do want to customize the grid's default formatting, you should assign the resulting string to and set to True. The grid will check this flag to see whether it should return or use a default formatting routine. If you need identity information about the cell such as row and column index, you can get that information by querying the of the object. Occurs each time the is called to parse the formatted string that represents the underlying cell's value considering and . This event allows you to customize how to parse the formatted text into a cell value at run-time on demand. If you do want to customize the grid's default parsing behavior, you should assign the resulting value to the of the object and set to True. The grid will check this flag to see whether it should accept your modification or use a default parsing routine. If you need identity information about the cell such as row and column index, you can get that information by querying the of the object. This event is normally called from within , which is called when the user enters text into a text box or when text is assigned to . ApplyFormattedText method checks if there are event handlers for and if the is not set, they try to convert the input text into the type specified with . If this conversion fails, will check . If it is True, an exception is thrown which itself results in a warning message displayed to the user at the time from . If you set to False, will not throw an exception and simply store the text as . If you need a more specialized customization of this behavior, you should handle the event. This lets you parse the text input and change the cells at run-time. See the attached example. This example parses the text input and changes the cell's CellValueType at run-time if the input does not match the current CellValueType. void InitializeComponent() { // initialize code // ... this.gridControl1.SaveCellText += new Syncfusion.Windows.Forms.Grid.GridCellTextEventHandler(this.gridControl1_SaveCellText); this.gridControl1.QueryCellFormattedText += new Syncfusion.Windows.Forms.Grid.GridCellTextEventHandler(this.gridControl1_QueryCellFormattedText); this.gridControl1.SaveCellFormattedText += new Syncfusion.Windows.Forms.Grid.GridCellTextEventHandler(this.gridControl1_SaveCellFormattedText); this.gridControl1.QueryCellText += new Syncfusion.Windows.Forms.Grid.GridCellTextEventHandler(this.gridControl1_QueryCellText); } private void gridControl1_QueryCellFormattedText(object sender, Syncfusion.Windows.Forms.Grid.GridCellTextEventArgs e) { } private void gridControl1_QueryCellText(object sender, Syncfusion.Windows.Forms.Grid.GridCellTextEventArgs e) { } private void gridControl1_SaveCellText(object sender, Syncfusion.Windows.Forms.Grid.GridCellTextEventArgs e) { ParseText(e); } private void gridControl1_SaveCellFormattedText(object sender, GridCellTextEventArgs e) { ParseText(e); } void ParseText(GridCellTextEventArgs e) { // By default, the grid will display a warning message box informing the user // the entered value is not valid and the user will have to change the value. // // In this event handler, we change the grid default's behavior such that // when the user enters a value that does not fit the cell's CellValueType, // the input text is accepted and no warning message is shown. if (e.Handled) return; System.Globalization.CultureInfo ci = e.Style.CultureInfo; System.Globalization.NumberFormatInfo nfi = ci != null ? ci.NumberFormat : null; try { e.Style.CellValue = GridCellValueConvert.Parse(e.Text, e.Style.CellValueType, nfi, e.Style.Format); } catch (Exception ex) { if (ex is FormatException || ex.InnerException is FormatException) { e.Style.CellValue = e.Text; // possibly could also change CellValueType here e.Style.CellValueType = typeof(string); // - or - // you could also further analyze the input text and assign a type // that fits the input text, e.g. // e.Style.CellValueType = typeof(datetime); // - or - // e.Style.CellValueType = typeof(decimal); // etc. } else throw; } e.Handled = true; } Private Sub InitializeComponent() ' Initalize code ' ... AddHandler Me.gridControl1.SaveCellText, AddressOf Me.gridControl1_SaveCellText AddHandler Me.gridControl1.QueryCellFormattedText, AddressOf Me.gridControl1_QueryCellFormattedText AddHandler Me.gridControl1.SaveCellFormattedText, AddressOf Me.gridControl1_SaveCellFormattedText AddHandler Me.gridControl1.QueryCellText, AddressOf Me.gridControl1_QueryCellText End Sub 'InitializeComponent Private Sub gridControl1_QueryCellFormattedText(sender As Object, e As Syncfusion.Windows.Forms.Grid.GridCellTextEventArgs) End Sub 'gridControl1_QueryCellFormattedText Private Sub gridControl1_QueryCellText(sender As Object, e As Syncfusion.Windows.Forms.Grid.GridCellTextEventArgs) End Sub 'gridControl1_QueryCellText Private Sub gridControl1_SaveCellText(sender As Object, e As Syncfusion.Windows.Forms.Grid.GridCellTextEventArgs) ParseText(e) End Sub 'gridControl1_SaveCellText Private Sub gridControl1_SaveCellFormattedText(sender As Object, e As GridCellTextEventArgs) ParseText(e) End Sub 'gridControl1_SaveCellFormattedText Sub ParseText(e As GridCellTextEventArgs) ' By default, the grid will display a warning message box informing the user ' the entered value is not valid and the user will have to change the value. ' ' In this event handler we change the grid default's behavior such that ' when the user enters a value that does not fit the cell's CellValueType, ' the input text is accepted and no warning message is shown. If e.Handled Then Return End If Dim ci As System.Globalization.CultureInfo = e.Style.CultureInfo Dim nfi As System.Globalization.NumberFormatInfo = Nothing If (Not (ci Is Nothing)) Then nfi = ci.NumberFormat Try e.Style.CellValue = GridCellValueConvert.Parse(e.Text, e.Style.CellValueType, nfi, e.Style.Format) Catch ex As Exception If TypeOf ex Is FormatException OrElse TypeOf ex.InnerException Is FormatException Then e.Style.CellValue = e.Text ' possibly could also change CellValueType here ' e.Style.CellValueType = typeof(string); ' - or - ' you could also further analyze the input text and assign a type ' that fits the input text, e.g. ' e.Style.CellValueType = typeof(datetime); ' - or - ' e.Style.CellValueType = typeof(decimal); ' etc. Else Throw End If End Try e.Handled = True End Sub 'ParseText Use this event to provide support for parsing the formatted string and convert it into the the underlying cell's value considering and . This event is raised from GridCellModelBase.ApplyFormattedText after was raised. The event is raised only if the SaveCellFormattedText did not set e.Handled. The grid has built-in support for parsing the Percent format (Format = "P") and Hexadecimal format (Format = "X"). You should handle this event if you want to add support for other formats. GridCellTextEventArgs has information about the style settings of the cell. You can inspect that style to get information about Format and CellValueType of the cell. Occurs when the is called on the component of a . This event lets you provide your own customized paste behavior. If you do not wish the grid to proceed with default behavior for this method, set to True. The grid will check this flag to see whether it should proceed. If you set it to True, the calling method will return as return value. If you want the grid to proceed with default behavior, do not change . You can specify if you want the standard Paste method to ignore the current cell. If the user has selected a range of cells and paste is called, you can force the clipboard contents to be pasted into the selected range and not at the current cell's position. Occurs when the is called on the component of a . This event lets you provide your own customized paste behavior. If you do not wish the grid to proceed with default behavior for this method, set to True. The grid will check this flag to see whether it should proceed. If you set it to True, the calling method will return as return value. If you want the grid to proceed with default behavior, do not change . You can specify if you want the standard Paste to method ignore the current cell. If the user has selected a range of cells and paste is called, you can force the clipboard contents to be pasted into the selected range and not at the current cell's position. Occurs after the was called on the component of a and text was pasted into the grid. This event is called to inform you that text or cells have been pasted. Occurs when the when the user releases the mouse over a cell at the end of an OLE drag-and-drop operation and before the data are applied to the grid. This event lets you provide your own customized paste data behavior. If you do not wish the grid to proceed with default behavior for this method, set to True. The grid will check this flag to see whether it should proceed. If you set it to True, the calling method will check as indication if the operation was successful. If you want the grid to proceed with default behavior, do not change . Occurs after the user releases the mouse over a cell at the end of an OLE drag-and-drop operation and the data were applied to the grid. Occurs when the is called on the component of a . This event lets you provide your own customized paste behavior. If you do not wish the grid to proceed with default behavior for this method, set to True. The grid will check this flag to see whether it should proceed. If you set it to True, the calling method will return as return value. If you want the grid to proceed with default behavior, do not change . You can specify if you want the standard Cut method to ignore the current cell. If the user has selected a range of cells and paste is called, you can force the clipboard contents to be pasted into the selected range and not at the current cell's position. Occurs when the is called on the component of a . This event lets you provide your own customized paste behavior. If you do not wish the grid to proceed with default behavior for this method, set to True. The grid will check this flag to see whether it should proceed. If you set it to True, the calling method will return as return value. If you want the grid to proceed with default behavior, do not change . You can then specify if you want the standard Cut method to ignore the current cell. If the user has selected a range of cells and paste is called, you can force the clipboard contents to be pasted into the selected range and not at the current cell's position. Occurs when the is called on the component of a . This event lets you provide your own customized paste behavior. If you do not wish the grid to proceed with default behavior for this method, set to True. The grid will check this flag to see whether it should proceed. If you set it to True, the calling method will return as return value. If you want the grid to proceed with default behavior, do not change . You can then specify if you do want the standard Copy method to ignore the current cell. If the user has selected a range of cells and paste is called, you can force the clipboard contents to be pasted into the selected range and not at the current cell's position. Occurs when the is called on the component of a . This event lets you provide your own customized paste behavior. If you do not wish the grid to proceed with default behavior for this method, set to True. The grid will check this flag to see whether it should proceed. If you set it to True, the calling method will return as return value. If you want the grid to proceed with default behavior, do not change . You can then specify if you want the standard Copy method to ignore the current cell. If the user has selected a range of cells and paste is called, you can force the clipboard contents to be pasted into the selected range and not at the current cell's position. Occurs when the text copies to buffer This event lets you to modify the text which is being copied to the buffer. Occurs when the is called on a . This event lets you provide your own customized clear cells behavior. If you do not wish the grid to proceed with default behavior for this method, set to True. The grid will check this flag to see whether it should proceed. If you set it to True, the calling method will return as return value. If you want the grid to proceed with default behavior, do not change . Occurs when a user starts dragging a range of selected cells using OLE drag-and-drop. This event lets you supply your own clipboard formats or add support for pasting additional clipboard content. If you do not wish the grid to proceed with default behavior for this method, set to True. The grid will check this flag to see whether it should proceed. If you set it to True, the calling method will return as return value. If you want the grid to proceed with default behavior, do not change . You can specify if you want the standard Copy method to ignore the current cell or change for more advanced options. This event lets you customize the OLE Data Source behavior of an OLE drag-and-drop operation. See the interface for customizing the OLE DropTarget part of an OLE drag-and-drop operation. Occurs when the user drops data onto another control using OLE drag-and-drop and does not press the Control Key. Set e.Cancel = True for this event if you do not want the grid to clear cell contents of the dragged cells. Occurs when the model queries for style information about a specific cell. This event allows you to customize cell contents at run-time on demand, just before the cell is drawn or programmatically accessed through , , , or . If you made changes to you should also set to true. The grid will check this flag to see whether the style has been initialized. If the event has been marked as handled, the grid will not access cell information from its own data store . In the default case when the event is not marked as handled, the grid will locate cell information by calling . See for further discussion about this event. Occurs when the model queries for style information about a specific cell and a (e.g. ) has been specified. This event allows you to customize cell contents at run-time on demand, just before the of the is called. If you make changes to you should also set to True. The grid will check this flag to see whether the style has been initialized. If the event has been marked as handled, the grid will not access cell information from its own data store or from . In the default case when the event is not marked as handled, the grid will locate cell information by calling and . See and for further discussion about this event. Occurs when the model queries information about covered cells at a specific cell. This event allows you to specify covered ranges at run-time, e.g when you have a large grid with repeating patterns of covered ranges. If the specified row and column index is part of a covered cells range, you should assign the coordinates of the covered cell to and set to True. indicates that you supplied data from your event handler and no further querying for data about covered range information for this cell is necessary. See the VirtualGrid sample for an example how to use this event. Occurs when the model queries information about a bannered range at a specific cell. This event allows you to specify bannered ranges at run-time, e.g when you have a large grid with repeating patterns of bannered ranges. If the specified row and column index is part of a bannered cells range you should assign the coordinates of the bannered cell to and set to True. indicates that you supplied data from your event handler and no further querying for data about bannered range information for this cell is necessary. See the BannerCells sample for an example how to use this event. Occurs before the column count is returned from the model. See for a more detailed discussion. Occurs before the row count is returned from the model. See for a more detailed discussion. Occurs before the column count is changed in the model. See for a more detailed discussion. Occurs before the row count is changed in the model. See for a more detailed discussion. Occurs when the is querying for the and the cell type is not found in the GridCellModelCollection. The GridModel has a table with all cell types used in the grid. Whenever the grid encounters a new cell type that it cannot find in the table it will raise a event. The identifies the name of the cell type. The should receive the new instance of the associated cell object. This object will be stored in the table together with its name and reused among cells with the same . You should process this event if you want to add custom cell types and initialize these cell types on demand when associated cells are accessed the first time. Occurs when the CellModels collection is changed. Gets or sets the active grid view. If there are several views associated with this model, only one can be active. Changing the active view will result in calls to and for the involved controls. Gets the painting support during the BeginUpdate, EndUpdate batch. Gets a value indicating whether has been called. Gets a value indicating whether raising events has been suspended. Gets a value indicating whether undo information should be logged. Gets a value indicating whether was called. Occurs when is called for the . Gets a with all cells in the grid, excluding row and column headers. Gets a with all cells in the grid, excluding frozen rows and columns. Occurs before the grid draws to or uses a context. Typical places where this event is raised are: of the and . Raises a event. Occurs when an operation takes a longer time and the user should be notified about its status and have a chance to abort. See for more detailed discussion about this event. Gets or sets a value indicating whether GridModel should use the newer as the default volatile data store. This works only with .NET Framework 2.0 or higher and offers improved performance especially with virtual mode scenarios. Gets or sets the that is associated with this . This example shows to use the BaseStyleMap property. // Cell value for all the grid cells will be changed as "Sample" this.gridControl1.Model.BaseStylesMap["Standard"].StyleInfo.CellValue = "Sample"; // Backcolor for all the header cells (Row and Column) will be changed as "Red" this.gridControl1.Model.BaseStylesMap["Header"].StyleInfo.BackColor = Color.Red; ' Cell value for all the grid cells will be changed as "Sample" Me.gridControl1.Model.BaseStylesMap("Standard").StyleInfo.CellValue = "Sample" ' Backcolor for all the header cells (Row and Column) will be changed as "Red" Me.gridControl1.Model.BaseStylesMap("Header").StyleInfo.BackColor = Color.Red Gets or Sets whether the RichtextBox is in EditMode. Gets or sets the rich text style row. Gets or sets the rich text style column. Gets or sets the rich text box control. Used Inyternally. Gets a value indicating whether has been associated with this . Gets the string value. Gets or sets a object that saves cell contents and row and column headers for the . A event is raised if you replace the . Gets a value indicating whether has been initialized. Gets a value indicating whether was specified. Gets or sets a value indicating whether the modified state of the grid. A event is raised when this property is changed. Gets or sets the filename for saving the next time you call . Gets Selected Ranges. Used internally. Occurs after row heights for a specified range of rows have been changed. See for more detailed discussion about this event. Occurs before row heights for a specified range of rows are changed. See for more detailed discussion about this event. Occurs after column widths for a specified range of columns have been changed. See for more detailed discussion about this event. Occurs before column widths for a specified range of columns are changed. See for more detailed discussion about this event. Occurs before the size of a column is returned from the dictionary. See for more detailed discussion about this event. Occurs when the size of a row is retrieved. See for more detailed discussion about this event. Occurs when the total size of several rows is retrieved. See for more detailed discussion about this event. Occurs before the size of a column is stored in the dictionary. See for more detailed discussion about this event. Occurs before the size of a row is stored in the dictionary. See for more detailed discussion about this event. Gets row heights for the grid. Gets or sets a collection of objects. This collection is a wrapper collection for values in the object. It provides support for modifying values through a CollectionEditor and code serialization at design-time. Gets column widths for the grid. Gets or sets a collection of objects. This collection is a wrapper collection for values in the object. It provides support for modifying values through a CollectionEditor and code serialization at design-time. Gets or sets a collection of objects. This collection is a wrapper collection for values in the object. It provides support for modifying values through a CollectionEditor and code serialization at design-time. Gets or sets a collection of objects. This collection is a wrapper collection for values in the object. It provides support for modifying values through a CollectionEditor and code serialization at design-time. Occurs after a range of columns was hidden. See for more detailed discussion about this event. Occurs before a range of columns is hidden. See for more detailed discussion about this event. Occurs after a range of rows was hidden. See for more detailed discussion about this event. Occurs before a range of rows is hidden. See for more detailed discussion about this event. Occurs before the hidden state of a column is returned from the dictionary. See for more detailed discussion about this event. Occurs before the hidden state of a column is stored in the dictionary. See for more detailed discussion about this event. Occurs before the hidden state of a row is returned from the dictionary. See for more detailed discussion about this event. Occurs before the hidden state of a row is stored in the dictionary. See for more detailed discussion about this event. Gets hidden rows in the grid. This example shows how to use the HideRows property. // Hiding the first row. this.gridControl1.Model.HideRows[1] = true; // Removing the first row from hidden. this.gridControl1.Model.HideRows [3] = false; ' Hiding the first row. Me.gridControl1.Model.HideRows(1) = True ' Removing the first row from hidden. Me.gridControl1.Model.HideRows (3) = False Gets hidden columns in the grid. // Hiding the first column. this.gridControl1.Model.HideCols[1] = true; // Removing the second column from hidden. this.gridControl1.Model.HideCols[4] = false; ' Hiding the first column. Me.gridControl1.Model.HideCols(1) = True ' Removing the second column from hidden. Me.gridControl1.Model.HideCols(4) = False Gets undo and redo in the grid. This example shows how to use the CommandStack property. // Undo the actions in the grid. this.gridControl1.Model.CommandStack.Undo(); //Redo the actions in the grid. this.gridControl1.Model.CommandStack.Redo(); // Getting the current command mode of the grid. GridCommandMode commandMode = this.gridControl1.Model.CommandStack.Mode; ' Undo the actions in the grid. Me.gridControl1.Model.CommandStack.Undo() 'Redo the actions in the grid. Me.gridControl1.Model.CommandStack.Redo() ' Getting the current command mode of the grid. Dim commandMode As GridCommandMode = Me.gridControl1.Model.CommandStack.Mode Occurs before the default row height is changed. See for more detailed discussion about this event. Occurs after the default row height has been changed. See for more detailed discussion about this event. Occurs before the default column width is changed. See for more detailed discussion about this event. Occurs after the default column width has been changed. See for more detailed discussion about this event. Occurs after the header row count has been changed. See for more detailed discussion about this event. Occurs before the header row count is changed. See for more detailed discussion about this event. Occurs after the frozen row count has been changed. See for more detailed discussion about this event. Occurs before the frozen row count is changed. See for more detailed discussion about this event. Occurs after a range of rows is moved. See for more detailed discussion about this event. Occurs before a range of rows is moved. See for more detailed discussion about this event. Occurs after a range of rows has been removed. See for more detailed discussion about this event. Occurs before a range of rows is removed. See for more detailed discussion about this event. Occurs before a range of rows is inserted. See for more detailed discussion about this event. Occurs after a range of rows has been inserted. See for more detailed discussion about this event. Occurs after the header column count has been changed. See for more detailed discussion about this event. Occurs before the header column count is changed. See for more detailed discussion about this event. Occurs after the frozen column count has been changed. See for more detailed discussion about this event. Occurs before the frozen column count is changed. See for more detailed discussion about this event. Occurs after a range of columns is moved. See for more detailed discussion about this event. Occurs before a range of columns is moved. See for more detailed discussion about this event. Occurs after a range of columns has been inserted. See for more detailed discussion about this event. Occurs before a range of columns is removed. See for more detailed discussion about this event. Occurs before a range of columns is inserted. See for more detailed discussion about this event. Occurs after a range of columns has been inserted. See for more detailed discussion about this event. Gets row operations for the grid. Allows you to insert, move, remove rows, and more. Gets column operations for the grid. Allows you to insert, move, remove columns, and more. Gets the Base styles for grid model. Gets the header row count of the grid. Gets the header counts of the grid. Gets or sets a one-stop place to subscribe to row count, column count, and QueryCellInfo events. You should implement if you want to receive , , , and events. The methods in this interface are called before the named events are raised and thus give you a chance to control the event's behavior before other subscribers can handle it. You should assign a reference of your object to in order to receive the method calls. Occurs when the property has changed. Gets or sets RecursionLevel. If you handle the event and access other cells of the grid, there is a danger that you start an infinite recursion when you access the same cell in the grid for which was called. checks the recursion level. If the level is greater than , an exception is thrown. The default is 6. Gets or sets a value indicating whether the the CellValue should be converted to a specified CellValueType at the time CellValueType is set if CellValue is assigned to a cell before the CellValueType. Default is true for 4.1 and later. If this flag is not set the CellValueType will not be enforced on a previously set CellValue. Gets or sets the style information of a cell. The indexer provides you with a very simple way to query and change cell contents. The following example make some changes to the grid using the indexer: model[2, 2].Text = "Grid Demo"; model[2, 2].Font.Bold = true; model[2, 2].Font.Size = 16; model[2, 2].HorizontalAlignment = GridHorizontalAlignment.Center; model[2, 2].VerticalAlignment = GridVerticalAlignment.Middle; model[2, 2].CellType = "Static"; model[2, 2].Borders.All = new GridBorder(GridBorderStyle.Solid, Color.FromArgb(100, 238, 122, 3)); model[2, 2].Interior = new BrushInfo(GradientStyle.PathEllipse, Color.FromArgb(100, 57, 73, 122), Color.FromArgb(237, 240, 247)); If you query for specific attributes in a cell and these attributes have not been explicitly set for the cell, the object that is returned by the indexer is smart enough to query base styles for queried information. GridStyleInfo standard = model.BaseStylesMap["Standard"].StyleInfo; standard.TextColor = Color.FromArgb(0, 21, 84); Color color = model[1, 1].TextColor; // model[1, 1].TextColor will return Color.FromArgb(0, 21, 84)); Gets column styles. Individual cells will inherit attributes from the corresponding column style. This example shows how to use the ColStyles property. // Setting whole column's styles. this.gridControl1.Model.ColStyles[1].BackColor = Color.Red; this.gridControl1.Model.ColStyles[1].Font.Facename = "Segoe UI"; this.gridControl1.Model.ColStyles[1].Font.Bold = true; ' Setting whole column's styles. Me.gridControl1.Model.ColStyles(1).BackColor = Color.Red Me.gridControl1.Model.ColStyles(1).Font.Facename = "Segoe UI" Me.gridControl1.Model.ColStyles(1).Font.Bold = True Gets row styles. Individual cells will inherit attributes from the corresponding row style. This example shows how to use the RowStyles property. // Setting whole Row�s styles. this.gridControl1.Model. RowStyles[1].BackColor = Color.Red; this.gridControl1.Model. RowStyles[1].Font.Facename = "Segoe UI"; this.gridControl1.Model. RowStyles[1].Font.Bold = true; ' Setting whole Row�s styles. Me.gridControl1.Model.RowStyles(1).BackColor = Color.Red Me.gridControl1.Model.RowStyles(1).Font.Facename = "Segoe UI" Me.gridControl1.Model.RowStyles(1).Font.Bold = True Gets or sets the table style. Individual cells will inherit attributes from the table style. This example shows how to use the TableStyle property. this.gridControl1.Model.TableStyle.TextColor = Color.Red; this.gridControl1.Model.TableStyle.Font.Facename = "Segoe UI"; this.gridControl1.Model.TableStyle.Font.Size = 15; Me.gridControl1.Model.TableStyle.TextColor = Color.Red Me.gridControl1.Model.TableStyle.Font.Facename = "Segoe UI" Me.gridControl1.Model.TableStyle.Font.Size = 15 Gets or sets information about position of current cell, current cell renderer, and last active grid control. Gets a value indicating whether information about current cell is available. Gets the for the current cell. Gets clipboard operations for the grid. Gets style data exchange for the grid. Lets you copy style information to a stream or clipboard and recreate the styles at a later time. Gets text data exchange for the grid. Lets you copy cell text to a stream or clipboard and recreate the cell text at a later time. Gets or sets the number of rows in the grid. You can provide this value at run-time if you handle the or events. Gets or sets the number of columns in the grid. You can provide this value at run-time if you handle the or events. Gets or sets a value indicating whether to DiscardReadOnly. Use IgnoreReadOnly instead. Occurs when has changed. Gets or sets a value indicating whether the grid is in Read-only state. Gets or sets a value indicating whether the grid is in Browse-only state. To check the BrowseOnly state of Grid internally Gets or sets a value indicating whether IsReadOnly. Internal only. just for compatibility... Gets or sets a value indicating whether to make changes to Read-only cells. Set this True if you want to be able make changes to Read-only cells. Gets range selections in the grid. Occurs before the model updates internal data structures when the model in the process of selecting a range of cells as a result of a . The will raise a event before it updates its internal data structures and a event afterwards. A grid listens to this event and outlines the selected range of cells. You can disallow the selection of specific cells at run-time when you assign true to . You can also modify the to include additional cells. Occurs after the model updates its internal data structures when the model in the process of selecting a range of cells as a result of a . The will raise a event before it updates its internal data structures and a event after afterwards. A grid listens to this event and outline the selected range of cells. Occurs before the grid model will clear its list of selected ranges when the user selects a new range of cells or when was called. The will raise a event before it updates its internal data structures. A grid listens to this event and repaints the selected range of cells. Occurs before the model changes the current selection. This event is raised by the model to notify all associated views that there has been a change to the current selection in the grid and all associated views should redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically. See for further discussion about this event. Gets bannered ranges in the grid. Gets covered ranges in the grid. This example shows how to use the CoveredRanges property. // Defining the covered range. GridRangeInfo coveredRange = GridRangeInfo.Cells(1, 2, 5, 5); // Adding the range to be covered. this.gridControl1.Model.CoveredRanges.Add(coveredRange); //Finding range of covered cells. GridRangeInfo range = this.gridControl1.Model.CoveredRanges.FindRange(e.RowIndex, e.ColIndex); // Check whether the current cell is covered or not. GridRangeInfo range; if(this.gridControl1.Model.CoveredRanges.Find(e.RowIndex,e.ColIndex,out range)) { // TODO // TODO } ' Defining the covered range. Dim coveredRange As GridRangeInfo = GridRangeInfo.Cells(1, 2, 5, 5) ' Adding the range to be covered. Me.gridControl1.Model.CoveredRanges.Add(coveredRange) 'Finding range of covered cells. Dim range As GridRangeInfo = Me.gridControl1.Model.CoveredRanges.FindRange(e.RowIndex, e.ColIndex) 'Check whether the current cell is covered or not. Dim range As GridRangeInfo If Me.gridControl1.Model.CoveredRanges.Find(e.RowIndex,e.ColIndex,range) Then ' TODO ' TODO End If Gets or sets whether the grid's combobox controls should contain GridListControl. The default value is false. Gets / sets the Legacy styles Occurs before covering is applied or reset for a range of cells. See for more detailed discussion about this event. Occurs after covering was applied or reset for a range of cells. See for more detailed discussion about this event. Occurs before bannered range is applied or reset for a range of cells. See for more detailed discussion about this event. Occurs after bannered range was applied or reset for a range of cells. See for more detailed discussion about this event. Gets floating cells in the grid. Occurs after floating state was changed for a range of cells. See for more detailed discussion about this event. Gets merge cells in the grid. Occurs after merge state was changed for a range of cells. See for more detailed discussion about this event. Occurs when grid compares the contents of two cells to determine if they should be merged. Set to True if you want to provide a customized comparison for cell contents. Gets cell types for the grid. This example shows how to use the CellModels property. //Specify the cell model to be added in the grid model with cell type name. this.gridControl1.CellModels.Add("SampleCellType", new GridHeaderCellModel(this.gridControl1.Model)); // Set the added cell type to the cell. this.gridControl1.Model.ColStyles[1].CellType = "SampleCellType"; 'Specify the cell model to be added in the grid model with cell type name. Me.gridControl1.Model.CellModels.Add("SampleCellType", New GridHeaderCellModel(Me.gridControl1.Model)) 'Set the added cell type to the cell Me.gridControl1.Model.ColStyles(1).CellType = "SampleCellType" Gets DragDrop Data. Used internally. Gets or sets more options for the grid. Printing related. Also manages colors for grid background, grid lines, and more. Implements the temporary data during OLE drag-and-drop operation. Implementation specific and will change in future versions. Used internally. Used internally. Used internally. Used internally. Used internally. Used internally. Used internally. Used internally. Used internally. Used internally. Used internally. Used internally. Used internally. Used internally. Used internally. Default Constructor. Implements the functionality to create the command stack filter. Initializes the new instances of the class. Get the range of cell in the grid True if the filer is in working True if clear the filter Gets the IsClear value. Gets the range of cells. Gets the filter value. Implements the functionality to create the Command Stack Grouping. Initializes the new instances of the class. Used to get the range of cells Used to filter the cells Used for grouping Gets the grouping value. Gets the range of cells. Gets the filter value. Internal only. Internal only. Internal only.Gets the property descriptor values. An array of objects to find in the collection as bindable. This can be null. The that represents the properties on each item used to bind data. Internal only.Gets the List name. An array of objects, for which the list name is returned. This can be null. The name of the list. Gets the maximum length of the string.Internal only. The format. The CultureInfo. returns max length Adds the values to base collections.Internal only. The to be added to the end of the . The value can be null. The index at which the has been added. Adds the values to base collections. Internal only. Clears the base collections.Internal only. Adds the value at specified index.Internal only. At which the value need to be inserted. The to be inserted to the . The . Add the collection at specified index.Internal only. Removes a value from Arraylist.Internal only. Removes the specified value from Array list.Internal only. Removes the collection of items from ArrayList.Internal only. Gets or sets the value of ,Internal only. Internal only. Initializes a new instances of PropertyDescriptor and attaches it to a FieldDescriptor. A reference to . Proprety name. Property type. Determines a value indicating whether the value of this property needs to be persisted. The component with the property to be examined for persistence. true if the property should be persisted; otherwise, false. Sets the value of the component to a different value. The component with the property value that is to be set. The new value. Resets the value for this property of the component to the default value. The component with the property value that is to be reset to the default value. Gets the current value of the property on a component. The component with the property for which to retrieve the value. The value of a property for a given component. Returns whether resetting an object changes its value. The component to test for reset capability. true if resetting the component changes its value; otherwise, false. Returns the hash code for this object. The hash code for this object. Compares this to another object to see if they are equivalent. The object to compare. true if the values are equivalent; otherwise, false. Gets the type of the property. Gets a value indicating whether this property is read-only. Gets the type of the component this property is bound to. Gets a value indicating whether the member is browsable. Implements the functionalities to design value editor for bannered ranges of GridModel. Edit bannered range values. The object holds contextual information about component. An System.IServiceProvider that this editor can use to obtain services. The object to edit. The new value of the object. If the value of the object has not changed, this should return the same object it was passed. Gets the edit style from . The object holds contextual information about component. Determines whether the painting value is supported. The object holds contextual information about component. Returns false. Implements the functionalities to manage bannered cell ranges for a grid. You access this class from a grid with the property of a instance. Bannered ranges are saved in two separate collections. The first collection is , which allows quick enumeration through all bannered cell ranges in the grid. This is good when bannered ranges need to be recalculated because rows or column have been inserted, moved, or removed. The second collection is , which is optimized to look up if a specific cell is part of a bannered range. The event in a lets you provide customized bannered cells ranges at run-time. For example you might want to have a pattern of bannered ranges. This allows you to customize the grid's default behavior and manage bannered ranges by your own code and not with the class. Initializes a new instances of from a serialization stream. Initializes a new instances of class and associates it with a . A reference to the parent . Initializes a new instances of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Adds a bannered range cell. Cell range. Adds multiple bannered range cells. The list of ranges to add Removes bannered cells that are contained in the specified range. The range that you want to clear from bannered cells. Adds or removes a bannered range. The affected range that indicates a new bannered cell or the range of cells where bannered cells should be removed. True if you want to add a bannered; False if range should be cleared. Resets all bannered ranges. Adds or removes one or multiple bannered range. The list that holds range with new bannered cells or ranges where bannered cells should be removed. True if you want to add bannered cells; False if ranges should be cleared. Returns an enumerator for stepping through all bannered ranges. The enumerator for the collection. Copies all range objects into an array of starting at specified index. The array of where the values should be copied to. The starting index in the destination array. Clears the Bannered ranges. Determines a object that indicates the bannered range for the specified cell position or False if there is no bannered range for the given cell position. The row index. The column index. The where the found bannered range is returned. True if a bannered range is at the specified cell position; False if not. Determines whether the current cell is bannered cell. The row index. The column index. The where the found bannered range is returned. True if a bannered range is at the specified cell position; False if not. Returns a object that indicates the bannered range for the specified cell position or if there is no bannered range for the given cell position. The row index. The column index. A reference to the bannered range is at the specified cell position or if not. Combines all bannered ranges that intersect into one outer range that spans over all found ranges. The original range. The with the outer range. Synchronizes the . The pool will be emptied and initialized with ranges specified in the collection. Synchronizes the bannered ranges after rows have been inserted in the grid. The starting row index where new rows should be inserted. The number of rows to insert. Synchronizes the bannered ranges after columns have been inserted in the grid. The starting column's index where new columns should be inserted. The number of rows to insert. Determines whether synchronize the bannered ranges after rows have been removed from the grid. The first row index. The last row index. True if any bannered ranges were affected; False if no range needed to be changed. Determines whether synchronize the bannered ranges after columns have been removed from the grid. The first column index. The last column index. True if any bannered ranges were affected; False if no range needed to be changed. Synchronizes the bannered ranges after rows have been moved within the grid. The first row index. The last row index. The target row. The current row count in the grid. Synchronizes the bannered ranges after columns have been moved within the grid. The first column index. The last column index. The target row. The current column count in the grid. Raises the Changed event. A GridRowColSizeChangedEventArgs that contains the event data. Raises the Changing event. A GridRowColSizeChangingEventArgs that contains the event data. return boolean value to indicate changing Gets the and lets you enumerate through all bannered ranges managed by this instance. Gets the number of ranges in the . Gets NULL. Gets a value indicating whether IsSynchronized. Returns False. Implements the User interface editor for Grid. Gets the edit styles of the grid model. The object holds contextual information about component. Edits the specified object's value using the editor style. The object holds contextual information about component. An System.IServiceProvider that this editor can use to obtain services. The object to edit. The new value of the object. If the value of the object has not changed, this should return the same object it was passed. Implements GridColumn style editor from . Implements GridRow style editor from . Implements the Grid collection editor. Required designer variable. Initializes the new instances of the class. Initializes the new instances of the class. Collection values. An object. Clean up any resources being used. Required method for Designer support - do not modify the contents of this method with the code editor. Invoked when list box selected index value has been changed. The Source of the event. An that contains the event data. Updates the list box selection when selected index changed. Called from method. Invoked when value has been changed. Wires the events. Unwires the events. Invoked before is closed. The source of the event. An that contains the event data. Gets a value indicating whether the GridCollection editor has to be invalidated. Implements the methods to access the GridCollectionEditor node. Initializes the new instances of the class. Value of collection editor. Returns the text value. Text value. Gets the GridCollectionEditor node object. Implements the methods to manage undo and redo commands for a grid. You access this class from a grid with the property of a instance. Initializes a new instances of and associates it with a . A reference to the parent . Creates a with information about the grid's current selection state. The has an internal dirty flag that this method will reset. Only when the user moves the current cell or changes the current selection, will the dirty flag be set. If the dirty flag was reset and there were no changes to selection, this method will return NULL. If the dirty flag was True, this method will return the current selection state and reset the dirty flag. A with information about the grid's current selection state. Pushes a command onto the undo stack. Pushes a command onto the undo stack. The with undo information. When the grid is performing an , the command will be pushed onto the redo stack. Otherwise, commands are pushed onto the undo stack. Pushes a command together with selection state onto the undo stack. The with undo information. The command object with selection information created by a call. Returns the object at the top of the without removing it. The at the top of the . Removes and returns the object at the top of the . The removed from the top of the System.Collections.Stack. Empties both the undo and redo stack. Execute the latest command from the undo stack. The redo stack will be cleared. If a is found this will also be executed so that selection state will be restored to the same state as it was when the undo command was recorded. Execute the latest command from the redo stack. If a is found, this will also be executed so that selection state will be restored to the same state as it was when the undo / redo command was recorded. Executes the stack commands. Represents . if stack is inTransaction(performing undo or redo operations). Starts a transaction that combines several subsequent commands into one transaction. A description for the transaction. This text can appear for example as "Undo" information in a menu to give feedback to the user about command on the undo stack. When you call , a is created and the is switched into a special mode where new commands will not be pushed onto the undo stack. Instead all new commands will be pushed into the current instance. When you call , the current command will be pushed onto the undo stack and the will switch back to its default behavior where new commands are pushed onto the undo stack. When you call , an internal counter will increase but no additional is created. Only once you call as many times as you have called will the transaction will be considered complete and the current command will be pushed onto the undo stack. That means nested transactions are supported. But when you or a transaction, all nested transaction will be treated as one single transaction. Ends a transaction that was started with a previous call. See for discussion about transaction in a grid. Rolls back a transaction in progress that was started with a previous call. All commands since a call will be undone. Gets a value indicating whether has been called. Gets the while the transaction is recorded. If was not called, this will be NULL. Gets the push stack. Gets the pull stack. Gets or sets the current undo mode that indicates if the grid is in a regular operation or performing an undo or rollback. Gets or sets a value indicating whether the grid should record undo information or if no undo information should be recorded. Gets a value indicating whether a grid operation should generate undo information or if undo is temporarily suspended. You should call this method from your command if you add operations to the grid that you want to be able to undo. The following example checks before it pushes saved state onto the undo stack: if (OnDefaultSizeChanging(new GridDefaultSizeChangingEventArgs(value))) { bool success = false; int savedValue = DefaultSize; try { defaultSize = value; success = true; if (model.CommandStack.ShouldGenerateUndoInfo) model.CommandStack.Push(new GridModelSetDefaultSizeCommand(this, savedValue)); } finally { OnDefaultSizeChanged(new GridDefaultSizeChangedEventArgs(savedValue, success)); } } Gets a value indicating whether grid is in the default mode that records undo information. Gets the stack with undo commands. Gets the stack with redo commands. Implements the GridModelCovered ranges editor using . Edit covered range values. The object holds contextual information about component. An System.IServiceProvider that this editor can use to obtain services. The object to edit. The new value of the object. If the value of the object has not changed, this should return the same object it was passed. Gets the edit style from . The object holds contextual information about component. Determines whether the painting value is supported. The object holds contextual information about component. Returns false. Implements the functionalities to manage covered cell ranges for a grid. You access this class from a grid with the property of a instance. Covered ranges are saved in two separate collections. The first collection is that allows quick enumeration through all covered cell ranges in the grid. This is good when covered ranges need to be recalculated because rows or column have been inserted, moved, or removed. The second collection is that is optimized to look up if a specific cell is part of a covered range. The event in a lets you also provide customized covered cell ranges at run-time. For example, you might want to have a pattern of covered ranges. This allows you to customize the grid's default behavior and manage covered ranges by your own code and not with the class. Initializes a new instances of from a serialization stream. Initializes a new instances of class and associates it with a . A reference to the parent . Initializes a new instances from a serialization stream. An object that holds all the data needs to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Adds a covered range cell. A range to add. Adds multiple covered cell ranges. The list of ranges to add Removes covered cells that are contained in the specified range. The range that you want to clear from covered cells. Adds or removes a covered range. The affected range that indicates a new covered cell or the range of cells where covered cells should be removed. True if you want to add a covered; False if range should be cleared. Resets all covered ranges. Adds or removes one or multiple covered ranges. The list that holds range with new covered cells or ranges where covered cells should be removed. True if you want to add covered cells; False if ranges should be cleared. Returns an enumerator for stepping through all covered ranges. The enumerator for the collection. Copies all range objects into an array of starting at specified index. The array of where the values should be copied to. The starting index in the destination array. Resets the cache. Determines a object that indicates the covered range for the specified cell position or False if there is no covered range for the given cell position. The row index. The column index. The where the found covered range is returned. True if a covered range is at the specified cell position; False if not. Determines whether the current cell is covered cell. The row index. The column index. The where the found bannered range is returned. True if a bannered range is at the specified cell position; False if not. Returns a object that indicates the covered range for the specified cell position or if there is no covered range for the given cell position. The row index. The column index. A reference to the covered range is at the specified cell position or if not. Combines all covered ranges that intersect into one outer range that spans over all found ranges. The original range. The with the outer range. Synchronizes the . The pool will be emptied and initialized with ranges specified in the collection. Synchronizes the covered ranges after rows have been inserted in the grid. The starting row index where new rows should be inserted. The number of rows to insert. Synchronizes the covered ranges after columns have been inserted in the grid. The starting columns index where new columns should be inserted. The number of rows to insert. Determines whether synchronize the covered ranges after rows have been removed from the grid. The first row index. The last row index. True if any covered ranges were affected; False if no range needed to be changed. Determines whether synchronize the covered ranges after columns have been removed from the grid. The first column index. The last column index. True if any covered ranges were affected; False if no range needed to be changed. Synchronizes the covered ranges after rows have been moved within the grid. The first row index. The last row index. The target row. The current row count in the grid. Synchronizes the covered ranges after columns have been moved within the grid. The first column index. The last column index. The target row. The current column count in the grid. Raises the Changed event. A GridRowColSizeChangedEventArgs that contains the event data. Raises the Changing event. A GridRowColSizeChangingEventArgs that contains the event data. returns boolean value on changing event Gets the and lets you enumerate through all covered ranges managed by this instance. Gets the number of ranges in the . Gets NULL. Gets a value indicating whether is synchronized. Returns False. Implements the methods to manage cut, copy, and paste for a grid. You access this class from a grid with the property of a instance. Initializes a new instances of and associates it with a . A reference to the parent . Determines whether if there are selected ranges that can be copied to clipboard or if the current cell's contents can be copied. True if there is information available to be copied to clipboard. Call this method for example to enable or gray out menu commands like "Copy Cells". Determines whether copies the contents of cells in selected to clipboard and the current cell's contents. True if information was available and copied to clipboard. If there are no selected ranges, the current cell's method is called. Otherwise, selected ranges will be copied. See the property how to customize the default behavior. Copies the contents of a specified range of cells to clipboard. Determines whether copies the contents of a specified range of cells to clipboard. The range with cells to be copied. True if information was available and copied to clipboard. See the property how to customize the default behavior. Copies the contents of a specified range of cells to clipboard. The range list with cells to be copied. True if information was available and copied to clipboard. Determines whether copies the formatted text of a specified range of cells to clipboard. The range list with cells to be copied. True if information was available and copied to clipboard. Determines whether copies the style information of a specified range of cells to clipboard. The range list with cells to be copied. True if information from base styles should also be copied; False if only the settings that were initialized for the cells should be copied. True if information was available and copied to clipboard. Determines whether if there are selected ranges that can be cut and copied to clipboard or if the current cell's contents can be cut and copied. True if there is information available to be cut and copied to clipboard. Call this method for example to enable or gray out menu commands like "Cut Cells". Determines whether cuts and copies the contents of cells in selected to clipboard and the current cell's contents. True if information was available and copied to clipboard. If there are no selected ranges, the current cell's method is called. Otherwise, selected ranges will be copied. See the property how to customize the default behavior. Determines whether cuts and copies the contents of a specified range of cells to clipboard. Cuts and copies the contents of a specified range of cells to clipboard. The range with cells to be cut and copied. True if you want to clear all cell information; False if you only want to clear text. True if information was available and copied to clipboard. See the property how to customize the default behavior. Determines whether cuts and copies the contents of a specified range of cells to clipboard. The range list with cells to be copied. True if you want to clear all cell information; False if you only want to clear text. True if information was available and copied to clipboard. Determines whether if there is information on the clipboard that can be pasted into the grid. True if there is information available to be pasted into the grid. Call this method for example to enable or gray out menu commands like "Paste Cells". Gets the clipboard text. Clipboard text. Determines whether paste information from the clipboard into the grid at the current selected range or current cell. True if information was available and pasted from the clipboard. If there are no selected ranges, the contents are pasted starting at the current cell's position. Otherwise, contents will be pasted into the current selected range. See the property how to customize the default behavior. Not yet implemented. The Grid Range returns boolean value. Determines whether the selected range of cells differs from the range of cells currently available on the clipboard. A value indicating whether paste operation should be canceled or not. Gets or sets various options that specify how clipboard cut, copy, and paste should be handled. You can specify here if you only want top copy or paste text and if row or column header text should be included. Represents a method that handles a , , , or event. Provides event data for the , , , or event. If you want to customize the grid's behavior, you should set to True. The grid will check this flag to see whether it should accept your modification or use a conversion. If you need identity information about the cell such as row and column index, you can get that information by querying of the object. The and events expect that you save the resulting value in of the object. The and events expect that you save the resulting string in . The is only used for and . Initializes the new instances of class. The string that represents the underlying cell value. The style object. The cell value. The textInfo is a hint where the call originated, e.g. GridCellBaseTextInfo.DisplayText. Gets or sets the string that represents the underlying cell value. Gets the style object. Gets the cell value. Gets the textInfo as a hint where the call is originated, e.g. GridCellBaseTextInfo.DisplayText. Represents the method that handles a event. The source of the event. An that contains the event data. Provides data about the event. The GridQueryCanMergeCellsEventArgs is a custom event argument class used by the event when the model tries to find out whether two neighboring cells can be merged. You can customize the default comparison behavior of the grid and set to True when cells should be merged. You should also set to True. The grid will the use the result provided through the property. Initalizes a new object. The first style object. Use the style object's to find out about row and column index of the cell. The second style object. Use the style object's to find out about row and column index of the cell. The result that should be returned to the grid. You should also set to True if you want the grid to return this result instead of doing its own comparison. Gets the first style object. Use the style object's to find out about row and column index of the cell. Gets the second style object. Use the style object's to find out about row and column index of the cell. Gets or sets a value indicating whether the result that should be returned to the grid. You should also set to True if you want the grid to return this result instead of doing its own comparison. Represents the method that handles a cancelable event. The source of the event. An that contains the event data. Provides data about the cancelable event. The GridSelectionChangingEventArgs is a custom event argument class used by the event when the model is in the process of selecting a range of cells as a result of a method call. You can disallow the selection of specific cells at run-time when you assign true to . You can also modify the to include additional cells. The will raise a event before it updates its internal data structures and a event afterwards. A grid listens to this event and outlines the selected range of cells. Initalizes a new object. Initalizes a new object. The range of cells to be selected. The current state of the user action and reason for this event (mouse, keyboard or programmatic). The range of cells to be selected when the previous range is reset. Will be set only if reason is GridSelectionReason.SetCurrentCell, GridSelectionReason.MouseDown, GridSelectionReason.MouseMove. Initializes the new instances of the class. The range of cells to be selected. The current state of the user action and reason for this event (mouse, keyboard, or programmatic). Gets or sets the range of cells to be selected. Gets the range of cells to be selected when the previous range is reset. Will be set only if reason is GridSelectionReason.SetCurrentCell, GridSelectionReason.MouseDown, GridSelectionReason.MouseMove. Gets the current state of the user action and reason for this event (mouse, keyboard, or programmatic). Represents the method that handles a event. The source of the event. A that contains the event data. Provides data about the event. The GridSelectionChangedEventArgs is a custom event argument class used by the event when the model in the process of selecting a range of cells as a result of a method call. The will raise a event before it updates its internal data structures and a event afterwards. A grid listens to this event and outlines the selected range of cells. Initializes the new instances of the class. The range of cells to be selected. A that holds all selected ranges before this user action. The origin source for this event (mouse, keyboard, or programmatic). Gets the range of cells to be selected. Gets the origin source for this event (mouse, keyboard, or programmatic). Gets a that holds all selected ranges before this user action. Represents the method that handles a event. The source of the event. A that contains the event data. Provides data about the event. The GridQueryCellModelEventArgs is a custom event argument class used by the event for querying the based on a string cellType. The GridModel has a table with all cell types used in the grid. Whenever the grid encounters a new cell type that it cannot find in the table, it will raise a event. The identifies the name of the cell type. The should receive the new instance of the associated cell object. This object will be stored in the table together with its name and reused among cells with the same . You should process this event if you want to add custom cell types and initialize these cell types on demand when associated cells are accessed the first time. Custom event argument base class used for events associated with a . Initializes a new object. Reference to the . Gets . Initializes the new instances of the class. The grid model. The cell type identifier as used in the property. Gets the cell type identifier as used in the property. Gets or sets the for the cell type. You should create a new instance of the specific cell model and save it to this property. Represents the method that handles a event which can be marked as handled. The source of the event. A that contains the event data. Provides data about the event which can be marked as handled. GridQueryCoveredRangeEventArgs is a custom event argument class used by the event to query information about covered cells at a specified cell. This event allows you to specify covered ranges at run-time, e.g when you have a large grid with repeating patterns of covered ranges. If the specified row and column index is part of a covered cell's range, you should assign the coordinates of the covered cell to and set to True. indicates that you supplied data from your event handler and no further querying for data about covered range information for this cell is necessary. See the VirtualGrid sample for an example of how to use this event. Holds row and column coordinates for events that can be marked as handled and are associated with a specific cell. No events use this class directly but it is used as a base class for several other events related to a specific cell. Initializes a new instances of class. The row index. The column index. Gets the row index. Gets the column index. Initializes the new instances of the class. Initializes the new instances of the class. The row index. The column index. Initializes the new instances of the class. The row index. The column index. A that will receive the resulting range for the covered cell. Gets or sets a that will receive the resulting range for the covered cell. Represents the method that handles a event which can be marked as handled. The source of the event. An that contains the event data. Provides data about the event which can be marked as handled. GridQueryBanneredRangeEventArgs is a custom event argument class used by the event to query information about a bannered range at a specified cell. This event allows you to specify bannered ranges at run-time, e.g when you have a large grid with repeating patterns of bannered ranges. If the specified row and column index is part of a bannered cell's range, you should assign the coordinates of the bannered cell to and set to True. indicates that you supplied data from your event handler and no further querying for data about bannered range information for this cell is necessary. See the BannerCells sample for an example how to use this event. Initializes the new instances of the class. Initializes the new instances of the class. The row index. The column index. Initializes the new instances of the class. The row index. The column index. A that will receive the resulting range for the bannered cell. Gets or sets a that will receive the resulting range for the bannered cell. Represents the method that handles a event which can be marked as handled. The source of the event. A that contains the event data. Provides data about the event which can be marked as handled. GridQueryCellInfoEventArgs is a custom event argument class used by the event to query style information concerning a specified cell. This event allows you to customize cell contents at run-time on demand, just before the cell is drawn or programmatically accessed through , , , or . If you made changes to , you should also set to True. The grid will check this flag to see whether the style has been initialized. If the event has been marked as handled, the grid will not access cell information from its own data store . In the default case when the event is not marked as handled, the grid will locate cell information by calling . In your handler for this event, normally you would set the CellValue for the GridStyleInfo object passed in with the event arguments. But you can also set other members of this GridStyleInfo object. For example, you could set BackColor to change the cell background. And, all this is done on a demand basis. There would be no BackColor value stored in any grid storage. The GridQueryCellInfoEventArgs members, e.ColIndex and e.RowIndex, specify column and row of the requested style. The e.Style member holds the GridStyleInfo object whose value this event should set provided it is a cell that you want to populate. It is possible that e.ColIndex and / or e.RowIndex may have the value of -1. A -1 indicates that a row style or column style is being requested. So, e.ColIndex = -1 and and e.RowIndex = 4 indicates the rowstyle for row 4 is being requested (GridControl.RowStyles[4]). Similarly, a positive column value with the row value = -1 would be a request for that particular columnstyle. If both values are -1, then the TableStyle property is being requested. Header rows and columns in an Essential Grid are treated the same as other rows and columns with respect to QueryCellInfo. If you have a single header row, then anytime e.ColIndex is 0, a row header is being requested. Similarly, if you have a single column header row, e.RowIndex = 0 is a request for the column header. Style information provided with QueryCellInfo is cached. This ensures this event is not hit everytime cell information is needed (e.g. when the user moves the mouse) and possibly forces a lookup in an external datasource which could be extensive depending on your implementation. If underlying data changes and you want to force a new call to QueryCellInfo, you should call for the of a grid. You should not provide information in QueryCellInfo that depends on current view context, like changing the appearance of the cells that are on the current edited row. Use the event to change the style of such cells about to be drawn. This event is fired from the cell renderer, and only reflects transient information which is not cached in the grid. is fired from , and should be used mainly to provide non-transient information for a style such as the value from an external data source in a virtual grid. is fired for every grid view and unique style settings for each view of the same model. See also the Virtual grid source code for example. private void GridQueryCellInfo(object sender, GridQueryCellInfoEventArgs e) { if(e.ColIndex > 0 && e.RowIndex > 0) { e.Style.CellValue = this.intArray[e.RowIndex - 1, e.ColIndex - 1]; e.Handled = true; } } Private Sub GridQueryCellInfo(ByVal sender As Object, ByVal e As GridQueryCellInfoEventArgs) If ((e.ColIndex > 0) AndAlso (e.RowIndex > 0)) Then e.Style.CellValue = Me.intArray(e.RowIndex - 1, e.ColIndex - 1) e.Handled = True End If End Sub Initializes the new instances of the class. The row index. The column index. The style information for the cell. Gets the style information for the cell. Represents the method that handles a event which can be marked as handled. The source of the event. An that contains the event data. Provides data about the event which can be marked as handled. GridSaveCellInfoEventArgs is a custom event argument class used by the event to save style information about at a specified cell. This event allows you to customize cell contents at run-time on demand, just before the cell is drawn or programmatically accessed through , , , or . If you made changes to you should also set to True. The grid will check this flag to see whether the style has been changed from its original settings. The GridSaveCellInfoEventArgs members, e.ColIndex and e.RowIndex, specify column and row of the cell. The e.Style member holds the GridStyleInfo object whose properties this event should change provided it is a cell that you want to save changes for. It is possible that e.ColIndex and / or e.RowIndex may have the value of -1. A -1 indicates that a row style or column style is being saved. So, e.ColIndex = -1 and and e.RowIndex = 4 indicates the rowstyle for row 4 is being saved (GridControl.RowStyles[4]). Similarly, a positive column value with the row value = -1 would be a request for that particular columnstyle. If both values are -1, the TableStyle property is being saved. Header rows and columns in an Essential Grid are treated the same as other rows and columns with respect to QueryCellInfo. If you have a single header row, anytime e.ColIndex is 0, a row header is being requested. Similarly, if you have a single column header row, e.RowIndex = 0 is a request for the column header. See DataBoundGrid source code for example. The intention of this event is to store and retrieve data. See for the related UI event after changes were made to the data store. Initializes the new instances of the class. The row index. The column index. The style information for the cell. The style operation to be applied to the cells existing style. Gets the style information for the cell. Gets the style operation to be applied to the cell's existing style. Represents the method that handles , , , and events that can be marked as handled. The source of the event. A that contains the event data. Provides data about the , , , and events which can be marked as handled. GridRowColCountEventArgs is a custom event argument class used by the , , , and events to query or save the row and column count of the grid. This event allows you to customize the grid dimensions at run-time on demand before the grid is drawn or programmatically accessed through . If you made changes to , you should also set to True. and will return as the actual number of rows or columns when the event is marked as handled. Otherwise, the grid will check its own data store . In the default case when the event is not marked as handled, the grid will locate row and column count by calling and . In and the grid will not store row and column count if you marked the event as handled. Otherwise, in the default case that the event is not marked as handled the row and column count is stored by setting the and properties. See VirtualGrid sample code for example. The intention of this event is to store and retrieve data. See and for the related UI event after changes were made to the data store. Initializes the new instances of the class. Initializes the new instances of the class. Initializes the new instances of the class. The number of rows or columns to be returned by this event. Gets or sets the number of rows or columns to be returned by this event. Changing this value will only affect and . and will ignore changes to this value. Represents the method that handles the event that can be marked as handled. The source of the event. A that contains the event data. Provides data about the event which can be marked as handled and occurs when the method of the class object is called. Initializes a new object. The first row or column. The last row or column. Maximum value for total. The total size. Gets the first row or column. Gets the last row or column. Gets the Maximum value for total. Gets or sets the result - Returns the total size. Represents the method that handles , , , and events. The source of the event. A that contains the event data. Provides data about the , , , and events which can be marked as handled. GridRowColSizeEventArgs is a custom event argument class used by the , , , and events to query or save the row and column widths of the grid. This event allows you to customize the row and column sizes at run-time on demand before the grid is drawn or programmatically accessed through . If you made changes to you should also set to True. and will return as the actual size of the row or column being queried when the event is marked as handled. Otherwise, the grid will check its own data store . In the default case when the event is not marked as handled, the grid will locate row and column widths by getting the value from . In and , the grid will not store row and column if you mark the event as handled. Otherwise, in the default case that the event is not marked as handled, the row and column width is stored by changing the property. The intention of this event is to store and retrieve data. See for the related UI event after changes are made to the data store. Initializes the new instances of the class. The row or column index. The row height or column width. If size is less than 0, the grid will use the default size for row or column widths. See . Gets the row or column index. Gets or sets the row height or column width. If size is less than 0, the grid will use the default size for row or column widths. See . Represents the method that handles , , , and events which can be marked as handled. The source of the event. An that contains the event data. Provides data about the , , , and events which can be marked as handled. GridRowColHideEventArgs is a custom event argument class used by the , , , and events to query or save if the row or column is hidden in the grid. This event allows you to customize the hidden state of row and column at run-time on demand before the grid is drawn or programmatically accessed through . If you make changes to , you should also set to True. and will return as the actual hide state of the row or column being queried when the event is marked as handled. Otherwise, the grid will check its own data store . In the default case when the event is not marked as handled, the grid will locate row and column widths by getting the value from . In and , the grid will not store row and column hidden state if you mark the event as handled. Otherwise, in the default case that the event is not marked as handled the row and column hidden state is stored by changing the property. The intention of this event is to store and retrieve data. See for the related UI event after changes were made to the data store. Initializes the new instances of the class. The row or column index. The hidden flag for the row or column. Gets the row or column index. Gets or sets a value indicating whether the hidden flag for the row or column. Represents the method that handles a cancelable event. The source of the event. A that contains the event data. Provides data about the event. GridPrepareChangeSelectionEventArgs is a custom event argument class used by the event. This event is raised by the model to notify all associated views that there has been a change to the current selection in the grid and all associated views should redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically. Initializes the new instances of the class. The previous boundaries of the selected range. The new boundaries of the selected range. Gets the previous boundaries of the selected range. Gets the new boundaries of the selected range. Represents the method that handles a event. The source of the event. An that contains the event data. Provides data about the event. GridCellsChangedEventArgs is a custom event argument class used by the event. This event is raised by the model to notify all associated views that there has been a change to the specified range of cells in the grid and all associated views should redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically by a method call. The property indicates if all changes were made to the model. If it is false, the operation is aborted. However, the view contents need to be redrawn no matter if the operation was successful or not. Initializes the new instances of the class. The range specifying the affected cells. Information about cell contents before the changes were applied to the grid. Indicates whether an operation was successful. Gets the range specifying the affected cells. Gets the Information about cell contents before the changes were applied to the grid. Represents the method that handles a event. The source of the event. A that contains the event data. Provides data about the event. GridCellsChangingEventArgs is a custom event argument class used by the event. This event is raised by the model to notify all associated views that it is the contents for the specified range of cells in the grid and all associated views are polled if they are ok with that change and prepare for redrawing the affected area of cells. The change can be originated by a mouse or keyboard input or programmatically by a method call. The event handler can abort this operation by assigning True to the property. No changes will then take place in the grid model. Initializes the new instances of the class. The range specifying the affected cells. The new contents to be stored in the cells. Can be NULL. The of the method call. Gets the range specifying the affected cells. Gets the new contents to be stored in the cells. Can be NULL. Gets the of the method call. Represents the method that handles and events. The source of the event. An that contains the event data. Provides data about the and event. GridRowColHiddenEventArgs is a custom event argument class used by the and event. This event is raised by the model to notify all associated views that there has been a change to the specified range of rows and columns in the grid and all associated views should redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically by changing . The property indicates if all changes were successfully made to the model. If it is false, this means the operation aborted. However, the view contents need to be redrawn no matter if the operation was successful or not. Initializes the new instances of the class. The first row or column index of the affected range. The last row or column index of the affected range. The previous state of the affected columns or rows. Indicates if operation was successful or aborted. Gets the first row or column index of the affected range. Gets the last row or column index of the affected range. Gets the previous state of the affected columns or rows. Represents the method that handles and events. The source of the event. A that contains the event data. Used by and events. Provides data about the and event. GridRowColHidingEventArgs is a custom event argument class used by the and event. This event is raised by the model to notify all associated views that there will be a change to the specified range of rows and columns in the grid and all associated views should prepare to redraw the affected display contents. The change can be originated by a mouse or keyboard input or programmatically by changing . The event handler can abort this operation by assigning true to the property. No changes will then take place in the grid model. Initializes the new instances of the class. The first row or column index of the affected range. The last row or column index of the affected range. The new state for the affected columns or rows. Gets the first row or column index of the affected range. Gets the last row or column index of the affected range. Gets the new state for the affected columns or rows. Represents the method that handles and events. The source of the event. A that contains the event data. Provides data about the and event. GridRowColSizeChangedEventArgs is a custom event argument class used by the and events. This event is raised by the model to notify all associated views that there has been a change to the specified range of rows and columns in the grid and all associated views should redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically by changing . The property indicates if all changes were successfully made to the model. If it is false, the operation was aborted. However, the view contents need to be redrawn no matter if the operation was successful or not. Initializes the new instances of the class. The first row or column index of the affected range. The last row or column index of the affected range. The previous size of the affected columns or rows. Indicates if operation was successful or aborted. Gets the first row or column index of the affected range. Gets the last row or column index of the affected range. Gets the previous size of the affected columns or rows. Represents the method that handles the and events. The source of the event. A that contains the event data. Provides data about the and events. GridRowColSizeChangingEventArgs is a custom event argument class used by the and events. This event is raised by the model to notify all associated views that it is about to change the size for the specified range of rows and columns in the grid and all associated views should prepare to redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically by changing . The event handler can abort this operation by assigning True to the property. No changes will then take place in the grid model. Initializes the new instances of the class. The first row or column index of the affected range. The last row or column index of the affected range. The new size of the affected columns or rows. Gets the first row or column index of the affected range. Gets the last row or column index of the affected range. Gets the new size of the affected columns or rows. Represents the method that handles the , , , and events. The source of the event. A that contains the event data. Provides data about the , , , and events. GridCountChangedEventArgs is a custom event argument class used by the , , , and events. This event is raised by the model to notify all associated views that there has been a change to the specified range of rows and columns in the grid and all associated views should redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically by changing or . The property indicates if all changes were successfully made to the model. If it is false, the operation was aborted. However, the view contents need to be redrawn no matter if the operation was successful or not. Initializes the new instances of the class. The previous number of frozen or header rows or columns (depending on event). Indicates if operation was successful or aborted. Gets the previous number of frozen or header rows or columns (depending on event). Represents the method that handles the , , , and events. The source of the event. A that contains the event data. Provides data about the , , , and events. GridCountChangingEventArgs is a custom event argument class used by the , , , and events. This event is raised by the model to notify all associated views that it is about to change the specified range of rows and columns in the grid and all associated views should prepare to redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically by changing or . The event handler can abort this operation by assigning True to the property. No changes will then take place in the grid model. Initializes the new instances of the class. The new number of frozen or header rows or columns (depending on event). Gets the new number of frozen or header rows or columns (depending on event). Represents the method that handles the and events. The source of the event. A that contains the event data. Provides data about the and events. GridDefaultSizeChangedEventArgs is a custom event argument class used by the and events. This event is raised by the model to notify all associated views that it has changed the default row height or column width of the grid and all associated views should redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically by changing . The property indicates if all changes were successfully made to the model. If it is false, the operation was aborted. However, the view contents need to be redrawn no matter if the operation was successful or not. Initializes the new instances of the class. The previous default row height or column width Indicates if the operation was succesful or aborted. Gets the previous default row height or column width. Represents the method that handles the and events. The source of the event. A that contains the event data. Provides data about the and events. GridDefaultSizeChangingEventArgs is a custom event argument class used by the and events. This event is raised by the model to notify all associated views that it is about to change the default row height or column width of the grid and all associated views should prepare to redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically by changing . The event handler can abort this operation by assigning True to the property. No changes will then take place in the grid model. Initializes the new instances of the class. The new default row height or column width. Gets the new default row height or column width. Represents the method that handles the and events. The source of the event. A that contains the event data. Provides data about the and events. GridRangeInsertedEventArgs is a custom event argument class used by the and events. This event is raised by the model to notify all associated views that it has inserted the specified number of rows or column into its data store and all associated views should redraw affected display contents. The change can be originated programmatically by a method call to . The property indicates if all changes were successfully made to the model. If it is False, the operation was aborted. However, the view contents need to be redrawn no matter if the operation was successful or not. Initializes a new instances of class. The row or column index where the cells should be inserted before. The number of rows or columns. Information about the cells to be inserted such as cell contents, row, and column sizes and more. Indicates whether an operation was successful. Gets the row or column index where the cells should be inserted before. Gets the number of rows or columns. Gets the Information about the cells to be inserted such as cell contents, row, and column sizes and more. A that holds information about the cells to be inserted such as cell contents, row, and column sizes and more. Represents the method that handles the and events. The source of the event. A that contains the event data. Provides data about the and events. GridRangeInsertingEventArgs is a custom event argument class used by the and events. This event is raised by the model to notify all associated views that it is about to insert the specified number of rows or column into its data store and all associated views should prepare to redraw affected display contents. The change can be originated programmatically by a method call to . The event handler can abort this operation by assigning True to the property. No changes will then take place in the grid model. Initializes a new instances ofclass. The row or column index where the cells should be inserted before. The number of rows or columns. Information about the cells to be inserted such as cell contents, row, and column sizes and more. Gets the row or column index where the cells should be inserted before. Gets the number of rows or columns. Gets the Information about the cells to be inserted such as cell contents, row, and column sizes and more. A that holds information about the cells to be inserted such as cell contents, row, and column sizes and more. Represents the method that handles and events. The source of the event. A that contains the event data. Provides data about the and events. GridRangeMovedEventArgs is a custom event argument class used by the and events. This event is raised by the model to notify all associated views that it has rearranged the specified rows or columns in its data store and all associated views should redraw affected display contents. The change can be originated programmatically by a method call to . The property indicates if all changes were successfully made to the model. If it is False, the operation was aborted. However, the view contents need to be redrawn no matter if the operation was successful or not. Initializes the new instances of the class. The index of the first row or column that was moved. The number of rows or columns that was moved. The row or column index where the cells were inserted before. Indicates whether an operation was successful. Gets the index of the first row or column that was moved. Gets the index of the last row or column that was moved. Gets the row or column index where the cells were inserted before. Represents the method that handles the and events. The source of the event. A that contains the event data. Provides data about the and events. GridRangeMovingEventArgs is a custom event argument class used by the and events. This event is raised by the model to notify all associated views that it is about to rearrange the specified rows or columns in its data store and all associated views should prepare to redraw affected display contents. The change can be originated programmatically by a method call to . The event handler can abort this operation by assigning True to the property. No changes will then take place in the grid model. Initializes the new instances of the class. The index of the first row or column to be moved. The number of rows or columns to be moved. The row or column index where the cells should be inserted before. Gets the index of the first row or column to be moved. Gets the index of the last row or column to be moved. Gets the row or column index where the cells should be inserted before. Represents the method that handles and events. The source of the event. A that contains the event data. Provides data about the and events. GridRangeRemovedEventArgs is a custom event argument class used by the and events. This event is raised by the model to notify all associated views that it has rearranged the specified rows or columns in its data store and all associated views should redraw affected display contents. The change can be originated programmatically by a method call too . The property indicates if all changes were successfully made to the model. If it is false, the operation was aborted. However, the view contents need to be redrawn no matter if the operation was successful or not. Initializes the new instances of the class. The index of the first row or column that was removed. The index of the last row or column that was removed. Provides information about the cells that have been removed such as row heights, column widths, and hidden state of rows or columns. Indicates whether an operation was successful. Gets the index of the first row or column that was removed. Gets the index of the last row or column that was removed. Gets the information about the cells that have been removed such as row heights, column widths, and hidden state of rows or columns. A that holds information about the cells that have been deleted such as cell contents, row, and column sizes and more. If undo generation is enabled for the grid InsertRangeOptions will also contain information about the cells that have been deleted. Represents the method that handles the and events. The source of the event. A that contains the event data. Provides data about the and events. GridRangeRemovingEventArgs is a custom event argument class used by the and events. This event is raised by the model to notify all associated views that it is about to remove the specified rows or columns from its data store and all associated views should prepare to redraw affected display contents. The change can be originated programmatically by a method call too . The event handler can abort this operation by assigning True to the property. No changes will then take place in the grid model. Initializes the new instances of the class. The index of the first row or column to be removed. The index of the last row or column to be removed. Gets the index of the first row or column to be removed. Gets the index of the last row or column to be removed. Represents the method that handles the event. The source of the event. An that contains the event data. Provides data about the cancelable event. GridCoveredRangesChangingEventArgs is a custom event argument class used by the event. This event is raised by the model to notify all associated views that it is about to make a range(s) of cells appear as covered cells or reset the covering for a list of ranges. This event is raised to make sure all associated views prepare to redraw affected display contents. The change can be originated programmatically by a method call to or . The event handler can abort this operation by assigning True to the property. No changes will then take place in the grid model. Initializes the new instances of the class. A with a list of affected ranges. Specifies whether the specified ranges should be made covered ranges or if covering should be removed. Gets a with a list of affected ranges. Gets a value indicating whether the specified ranges should be made covered ranges or if covering should be removed. True if covered ranges; False is covering should be removed. Represents the method that handles a event. The source of the event. A that contains the event data. Provides data about the event. GridCoveredRangesChangedEventArgs is a custom event argument class used by the event. This event is raised by the model to notify all associated views that the grid model changed a range(s) of cells to appear as covered cells or reset the covering for a list of ranges. This event is raised to make sure all associated views redraw affected display contents. The change can be originated programmatically by a method call to or . The property indicates whether all changes were successfully made to the model. If it is False, the operation was aborted. However, the view contents need to be redrawn no matter if the operation was successful or not. Initializes the new instances of the class. A with a list of affected ranges. Specifies whether the specified ranges should be made covered ranges or if covering should be removed. Indicates whether an operation was successful. Gets a with a list of affected ranges. Gets a value indicating whether the specified ranges should be made covered ranges or if covering should be removed. True if covered ranges; False is covering should be removed. Represents the method that handles the event. The source of the event. A that contains the event data. Provides data about the cancelable event. GridBanneredRangesChangingEventArgs is a custom event argument class used by the event. This event is raised by the model to notify all associated views that it is about to make a range(s) of cells appear as bannered cells or reset the bannering for a list of ranges. This event is raised to make sure all associated views prepare to redraw affected display contents. The change can be originated programmatically by a method call to or . The event handler can abort this operation by assigning True to the property. No changes will then take place in the grid model. Initalizes a new instances ofclass. A with a list of affected ranges. Specifies whether the specified ranges should be made bannered ranges or if bannering should be removed. Gets a with a list of affected ranges. Gets a value indicating whether the specified ranges should be made bannered ranges or if bannering should be removed. True if bannered ranges; False if bannering should be removed. Represents the method that handles the event. The source of the event. A that contains the event data. Provides data about the event. GridBanneredRangesChangedEventArgs is a custom event argument class used by the event. This event is raised by the model to notify all associated views that the grid model changes a range(s) of cells to appear as bannered cells or resets the bannering for a list of ranges. This event is raised to make sure all associated views redraw affected display contents. The change can be originated programmatically by a method call to or . The property indicates if all changes were successfully made to the model. If it is False, the operation was aborted. However, the view contents need to be redrawn no matter if the operation was successful or not. Initializes the new instances of the class. A with a list of affected ranges. Specifies whether the specified ranges should be made bannered ranges or if bannering should be removed. Indicates whether an operation was successful. Gets a with a list of affected ranges. Gets a value indicating whether the specified ranges should be made bannered ranges or if bannering should be removed. True if bannered ranges; False if bannering should be removed. Represents the method that handles the event. The source of the event. A that contains the event data. Provides data about the event. GridFloatingCellsChangedEventArgs is a custom event argument class used by the event. This event is raised by the model to notify all associated views that the grid model changed a range(s) of cells to appear as a floating cell or reset the floating for a range. This event is raised to make sure all associated views redraw affected display contents. The change is normally originated by a user typing text into the cell that is larger than the current cell size. The grid checks the preferred cell width of the cell and if it is larger than the current size and the neighboring cell supports floating, the cell will changed to a floating cell. The property indicates if all changes were successfully made to the model. If it is False, the operation was aborted. However, the view contents need to be redrawn no matter if the operation was successful or not. Initializes the new instances of the class. A with a list of affected ranges. Indicates whether an operation was successful. Gets the affected cells range. Represents the method that handles the event. The source of the event. A that contains the event data. Provides data about the event. GridMergeCellsChangedEventArgs is a custom event argument class used by the event. This event is raised by the model to notify all associated views that the grid model changed a range(s) of cells to appear as a merge cell or reset the merge for a range. This event is raised to make sure all associated views redraw affected display contents. The property indicates if all changes were successfully made to the model. If it is False, the operation was aborted. However, the view contents need to be redrawn no matter if the operation was successful or not. Initializes the new instances of the class. A with a list of affected ranges. Indicates whether an operation was successful. Gets the affected cell's range. Represents a method that handles the event. The source of the event. A that contains the event data. Provides data about the event. GridFloatingCellsChangedEventArgs is a custom event argument class used by the event. This event is raised by the model when is programmatically called and there are no pending calls. When there are several calls, you have to call as many times EndUpdate as you called BeginUpdate before this event is raised. This event is raised to make sure all associated views update their display contents by completing any pending paint operations. Initializes the new instances of the class. Initializes the new instances of the class. Initializes the new instances of the class. The value of the originating call. Gets or sets a value indicating whether the value of the originating call. True if display should be updated immediately; False if pending paint operations should be discarded. Provides data about the : and events. GridCutPasteEventArgs is a custom event argument class used by the operations in a . This event lets you supply your own clipboard formats or add support for pasting additional clipboard content. Initializes a new instances of class. Ignore the current cell position. The value that the called method should return. Customize behavior of default clipboard operations. You can save here a list of ranges that have been copied. Gets or sets a value indicating whether to ignore the current cell. This property will only be checked by the calling method if you do not set to True. Gets or sets a value indicating whether the return value the called method should return when you set to True. Gets or sets the DataObject to be used for further clipboard operations. This property will only be checked by the calling method if you do not set to true. Can be NULL. Gets or sets customize behavior of default clipboard operations. This property will only be checked by the calling method if you do not set to True. Allows you to specify if text or styles should be copied or if row or column headers should be included. Gets or sets range list. You can save here a list of ranges that have been copied. This property will only be checked for the Copy operation. Can be NULL. Provides data about the : events. ClipboardCopyToBufferEventArgs is a custom event argument class used by the operations in a . This event lets you modify the text which is being copied to the buffer Initializes a new instances of class. You can modify the text that have been copied. You can set the range to copy the text into certain range. Gets or sets a string value which will replace the text being copied Gets or sets a string value which will replace the text being copied Provides data about the events. GridCutPasteEventArgs is a custom event argument class used by the operations in a . This event lets you supply your own clipboard formats or add support for pasting additional clipboard content. Initializes the new instances of the class. Gets / sets a list of ranges to be cleared out. True if all cell style information should be cleared; False if only text should be cleared. Specifies the return value the called method should return when you set to True. Gets or sets a list of ranges to be cleared out. Gets or sets a value indicating whether cell style information should be cleared. True if all cell style information should be cleared; False if only text should be cleared. Gets or sets a value indicating whether the return value the called method should return when you set to True. Provides data about the event. GridQueryOleDataSourceDataEventArgs is a custom event argument class used by the QueryOleDataSourceData even when a user starts dragging a range of selected cells using OLE drag-and-drop. This event lets you supply your own clipboard formats or add support for pasting additional clipboard content. Initializes the new instances of the class. The data object where data for the OLE drag operation is stored. You can save here a list of ranges that have been copied. This property will only be checked for the Copy operation. Can be NULL. Lets you specify default behavior, e.g. if styles or text should be supplied, if row or column headers should be ignored. The number of rows that have been copied into the dataobject. Set this value if you modified the . The number of columns that have been copied into the dataobject. Set this value if you modified the . Gets or sets a value indicating whether to ignore the current cell. This property will only be checked by the calling method if you do not set to True. Gets or sets a value indicating whether the return value the called method should return when you set to True. Gets the data object where data for the OLE drag operation are stored. Gets or sets the range list. You can save here a list of ranges that have been copied. This property will only be checked for the Copy operation. Can be NULL. Gets or sets the behaviour. Lets you specify default behavior, e.g. if styles or text should be supplied, if row or column headers should be ignored. Gets or sets the number of rows that have been copied into the dataobject. Set this value if you modified the . Gets or sets the number of columns that have been copied into the dataobject. Set this value if you modified the . Represents the method that handles event. The source of the event. A that contains the event data. Represents the method that handles the, , events. The source of the event. A that contains the event data. Represents the method that handles the, , , , , and events. The source of the event. A that contains the event data. Represents the method that handles the event. The source of the event. A that contains the event data. Represents the method that handles the event. The source of the event. A that contains the event data. Provides data about the event. The event occurs when the user releases the mouse over a cell at the end of an OLE drag-and-drop operation and before the data is applied to the grid. This event lets you provide your own customized paste data behavior. If you do not wish the grid to proceed with default behavior for this method, set to True. The grid will check this flag to see whether it should proceed. If you set it to True, the calling method will check as indication if the operation was successful. If you want the grid to proceed with default behavior, you should not change . Initializes the new instances of the class. The Data Object with clipboard data. The target row index. The target column index. Default value for . Gets or sets the Data Object with clipboard data. Gets or sets the target row index. Gets or sets the target column index. Gets or sets a value indicating whether the result of the operation (if Handled = true is specified). Provides data about event of a . Initializes the new instances of the class. The range of cells to be repainted. Options that indicate if method should enlarge the affected range of cells to include covered and floating cells. Gets or sets the range of cells to be repainted. Gets or sets the options that indicate if method should enlarge the affected range of cells to include covered and floating cells. Represents the method that handles event. The source of the event. A that contains the event data. Represents the method that handles the event which can be marked as handled. The source of the event. A that contains the event data. Provides data about the event which can be marked as handled. GridPasteCellTextEventArgs is a custom event argument class used by the event to save text information into a specified cell. This event allows you to customize how to handle text pasted into a cell at run-time on demand. If you do not wish the grid to make any changes to the cell, set to True. The grid will check this flag to see whether it should make changes to the cell. If you wish that the grid aborts the current paste operation (in case several cells are pasted), set the flag to True. The GridPasteCellTextEventArgs members, e.ColIndex and e.RowIndex, specify column and row of the cell. The e.Style member holds the GridStyleInfo object for the cell. Initializes a new instances of class. The row index. The column index. The style information for the cell. The text to be pasted into the cell. Specifies if operation should be aborted. Gets the row index. Gets the column index. Gets the style information for the cell. Gets or sets the text to be pasted into the cell. Gets or sets a value indicating whether operation should be aborted. Implements the methods to manage floating cell ranges for a grid. You access this class from a grid with the property of a instance. Covered ranges are saved in two separate collections. The first collection is , which allows quick enumeration through all covered cell ranges in the grid. This is good when covered ranges need to be recalculated because rows or column have been inserted, moved, or removed. The second collection is , which is optimized to look up if a specific cell is part of a covered range. The event in a lets you provide customized covered cells ranges at run-time. For example, you might want to have a pattern of covered ranges. This allows you to customize the grid's default behavior and manage covered ranges by your own code and not with the class. Initializes a new instances of class. Initializes a new instances of class and associates it with a . A reference to the parent . Initializes a new instances of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Invoked when data provider of GridModel is changed. The source of the event. An that contains the event data. Invoked when float cell mode of Grid model is changed. The source of the event. An that contains the event data. Disposes the unmanaged resources. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Raises the Changed event. A that contains the event data. Marks the specified range of cells to be re-evaluated at a later time if text is floating into neighboring cells. The range to be re-evaluated. Returns the object. The object. Inserts the rows at specified index. Specified row index. Row counts. Inserts the column at specified index. Specified column index. Column counts. Remove rows from specified index. The row index from which rows need to be removed. The row index to which the rows need to be removed. Remove columns from specified index. The column index from which columns need to be removed. The column index to which the column need to be removed. Moves the rows. The row index from which rows are need to be moved. The row index to which rows are need to be moved. Destination row index to move. Determines whether temporarily stop evaluating floating cells. returns True. Start evaluating floating cells again after LockEvaluate call. Sets the Float cells mode. The holds the mode of floating cells. Marks the specified range of cells to be re-evaluated at a later time if text is floating into neighboring cells. The range to be re-evaluated. The current column count of the grid or GridConstants.Undefined if all columns are affected. Determines the specified range to see if any cells have been previously marked with to be re-evaluated. Determines the specified range to see if any cells have been previously marked with to be re-evaluated. The range to be re-evaluated. True if floating state for any cell in the given range was changed. Determines the specified range to see if any cells have been previously marked with to be re-evaluated and returns a range that holds all affected cells. The range to be re-evaluated. The range with all affected cells including ranges that intersected with . True if floating state for any cell in the given range was changed. Determines the specified range to see if any cells have been previously marked with to be re-evaluated. The range to be re-evaluated. The range with all affected cells including ranges that intersected with . True if floating state for any cell in the given range was changed. Determines the specified range to see if any cells have been previously marked with to be re-evaluated. Grid control. The range to be re-evaluated. Index of frozen row. Index of frozen column. Index of top row. Index of left column. Index of bottom row. Index of right column. The range with all affected cells including ranges that intersected with . True if floating state for any cell in the given range was changed. Determines whether those cells from the given range which were previously marked as delayed with DelayFloatCells. The range to be evaluated. The range with all affected cells including ranges that intersected with . True if floating state for any cell in the given range was changed. Determines whether can set the floated cells. Starting row index. Starting column index. The row index to which the float cells can be set. The column index to which the float cells can be set. Boolean value indicating whether floating cell can be set. Determines whether reset the floated cells. The range to be evaluated. True if given range contains the floated cells and whether can be reset the floated cells. Determines whether can store the floated cells. The range to be evaluated. True if given range contains the floated cells and saves the covered cell information. Determines a object that indicates the floating cell's range for the specified cell position or False if there is no floating cell's range for the given cell position. The row index. The column index. The where the found floating cell's range is returned. True if a floating cell's range is at the specified cell position; False if not. Returns a object that indicates the floating cell's range for the specified cell position or if there is no floating cell's range for the given cell position. The row index. The column index. A reference to range if a floating cell's range is at the specified cell position or if not. Combines all floating cell's ranges that intersect with a specified into one outer range that spans over all found ranges. The original range. The with the outer range. Determines if a specific cell supports floating or being flooded by a neighboring cell. The cell model The row index The column index The style info The query float cell return boolean value to determines if a specific cell supports floating. Determines the given cell is float cell. The row index. The column index. The range of given cell. True if given cell is floating cell. Determines the internal floating cells. The row index. The column index. The range to be evaluated. Returns boolean value. Updates the floated cells of the grid control. The GridControl. Last row index of floating cell. Last column index of floating cell. Old last row index of the cell. Old column index of the cell. Implements the functionalities to manage the Floating cells. Used internally. Used internally. Used internally. Initializes the new instances of the class. Used internally. Gets the index. Index of the col. returns the index Used internally. Provides functionalities for to store hidden rows and columns. Occurs when rows or columns are moved. First row or column index. Number of rows or columns. The Destination. Occurs when rows or columns are removed. First row or column index. Number of rows or columns. Occurs when rows or columns are inserted. Row or column index. Number of rows or columns. Resets the flag. The hidden state at a given row or column index. Gets a value indicating whether the dictionary was modified. Implements the functionalities that supports the type conversion from one type to another type,internal only. Initializes the new instances of the class. Internal only. Determines whether this converter can convert an object of the given type to the type of this converter, using the specified context. An that provides a format context. A that represents the type you want to convert from. true if this converter can perform the conversion; otherwise, false. Converts the given object to the type of this converter, using the specified context and culture information. Internal only. An that provides a format context. The to use as the current culture. The to convert. An that represents the converted value. Determines whether this converter can convert the object to the specified type, using the specified context. Internal only. An that provides a format context. A that represents the type you want to convert to. true if this converter can perform the conversion; otherwise, false. Converts the given value object to the specified type, using the specified context and culture information. Internal only. An that provides a format context. A . If null is passed, the current culture is assumed. The to convert. The to convert the parameter to. An that represents the converted value. Implements the method from to control the binding of a serialized object to a type. When overridden in a derived class, controls the binding of a serialized object to a type. Specifies the name of the serialized object. Specifies the name of the serialized object. The type of the object the formatter creates a new instance of. Implements the default dictionary that is used by to store hidden rows and columns. This is the default implementation for . Initialize a new instance of . Resets the flag. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Occurs when rows or columns are moved. First row or column index. Number of rows or columns. The Destination. Occurs when rows or columns are removed. First row or column index. Number of rows or columns. Occurs when rows or columns are inserted. Row or column index. Number of rows or columns. Gets InnerDictionary. Used internally. Gets a value indicating whether the dictionary was modified. Gets or sets the hidden state at a given row or column index. Implements the functionalities that manages row heights and column widths in a grid and lets you change them. Events will be raised in the grid when settings are changed. You typically access this class from a grid using the and properties of a . This class raises the following events in a : ItemsDescriptions Used internally. Used internally. The instance containing the event data. returns boolean value. Used internally. Used internally. Initializes a new instances of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Initializes a instance of and associates it with a . A reference to the parent . Resets the flag. Gets an array of . The array will have true values for rows and columns that are hidden. Rows and columns that are displayed will have a false value. First row or column. Last row or column. An array with row and column hidden settings. Resets the range of rows or columns to be displayed. First row or column index in range. Last row or column index in range. Changes the hidden state for a range of rows or columns. Changes the hidden state for a range of rows or columns. First row or column index in range. Last row or column index in range. The hidden state to be applied. The method will generate undo information and push it onto the grid's command stack. A or ) event is raised before the values are modified and gives event listeners a chance to discard the operation before any change happens. If the event did not signal to cancel any changes, the operation will go ahead, apply changes, and raise a event. The will indicate if changes were successful or not. Changes the hidden state for a range of rows or columns. First row or column index in range. Last row or column index in range. An array with hidden states to be applied. Changes the hidden state for a range of rows or columns. First row or column index in range. Last row or column index in range. An array with hidden states to be applied. True if no undo information should be generated. Sets the hidden row and columns. Used internally. Determines the hidden rows and columns. The index. returns boolean value Gets a reference to or . Gets "HideRow" or "HideColumn" string. Gets storage for all hidden row and column settings in the grid. You can replace this dictionary at run-time with a custom dictionary if you implement the interface. Gets or sets the hidden state of a row or column. Gets or sets the hidden row or column state for the specified index. Call ResetRange reset values to default. Gets a value indicating whether the dictionary was modified. Gets or sets the hidden row or column state for the row or column that matches the specified name. Call ResetRange reset values to default. Call IsDefault to check if a value is reset to default. Call IsHidden[n] to check if a row or column is hidden. Implements the functionalities to hold all information to execute the SetRange command. GridRowColHideDictionary is typically generated by the SetRange command and pushed onto the grid's command stack. Initializes a new instances of class. A reference to the object. First row or column index in range. Last row or column index in range. An array with hidden states to be applied. Executes the commands. Implements the methods that manages the row heights in a grid using by class Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes a new instance of from a serialization stream. The grid model. Overridden to call method,used internally. An that contains the event data. Overridden to method. Used internally. An that contains the event data. returns boolean value Overridden to call to method. An that contains the event data. Overridden to call to method. An that contains the event data. Gets the RowColName. Gets rows operations for the grid. Gets or sets a value indicating whether the row index can be returned for specified name. Implements the functionalities that manages column widths in a grid and lets you change them. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes a new instance of from a serialization stream. The GridModel. Overridden to call method,used internally. An that contains the event data. Overridden to call method,used internally. Used internally. An that contains the event data. returns boolean value Overridden to call method. An that contains the event data. Overridden to call method. An that contains the event data. Gets the RowColName. Gets column operations for the grid. Gets or sets a value indicating whether the column index can be returned for specified name. Implements the additional information for the command such as cell contents, row, and column sizes, hidden state, and covered cells state. A with cell contents. An array with row or column sizes. An array with hidden state of rows or columns. A with covered cells. Initializes the new instances of the class. Gets or sets with cell contents. Gets or sets an array with row or column sizes. Gets or sets an array with hidden state of rows or columns. Gets or sets a with covered cells. Implements the functionalities to manage merged cell ranges for a grid. You access this class from a grid with the property of a instance. Merged ranges are saved in two separate collections: The first collection is which allows quick enumeration through all merged cell ranges in the grid. This is good when merged ranges need to be recalculated because rows or column have been inserted, moved, or removed. The second collection is that is optimized to look up if a specific cell is part of a merged range. Initializes a new instance of class. Initializes a new instance of class and associates it with a . A reference to the parent . Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Invoked when Merge cells's mode is changed. The source of the event. An that contains the event data. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Raises the Changed event. A that contains the event data. Marks the specified range of cells to be re-evaluated at a later time. The range to be re-evaluated. Gets the mergeSpanCellPoolRowsInColumn. The object. Gets the mergeSpanCellPoolRowsInColumn. The object. Inserts the rows at specified index. The index value. Rows count. Inserts the columns at specified index. The index value. Columns count. Remove the rows. The row index from which the rows need to be removed. The row index to which the rows need to be removed. Remove the columns. The column index from which the columns need to be removed. The column index to which the columns need to be removed. Move the rows of grid table. From row index. Last row index. The destination row index to move the rows. Move the columns of grid table. From column index. Last column index. The destination column index to move the columns. Sets the merge cells mode. The holds the mode of floating cells. Marks the specified range of cells to be re-evaluated at a later time if text merges into neighboring cells. The range to be re-evaluated. The current row count of the grid or GridConstants.Undefined if all rows are affected. The current column count of the grid or GridConstants.Undefined if all columns are affected. Determines the specified range if any cells have been previously marked with to be re-evaluated. Checks the specified range if any cells have been previously marked with to be re-evaluated. The range to be re-evaluated. True if merge state for any cell in the given range was changed. Determines the specified range if any cells have been previously marked with to be re-evaluated and returns a range that holds all affected cells. The range to be re-evaluated. The range with all affected cells including ranges that intersected with . True if merge state for any cell in the given range was changed. Determines the all merged cells. The range to be re-evaluated. The range with all affected cells including ranges that intersected with . Return boolean value. Determines the merge cells of the grid. The GridControl. The range to be re-evaluated. Index of frozen row. Index of frozen column. Index of top row. Index of left column. Index of bottom row. Index of right column. The range with all affected cells including ranges that intersected with . Value indicating whether the grid contains the merge cells. Determines whether those cells from the given range which were previously marked as delayed with DelayMergedCells. The range to be evaluated. The range with all affected cells including ranges that intersected with . Returns the boolean value. Determines whether can set the merged cells. Starting row index. Starting column index. The row index to which the merge cells can be set. The column index to which the merge cells can be set. Boolean value indicating whether merge cell can be set. The direction to be merged. Determines whether reset the merged cells. The range to be evaluated. The direction to be merged. True if given range contains the merged cells and whether can be reset the merged cells. Determines whether can store the merged cells. The direction to be merged. The column index. The row index. The merged resultant column index. The merged resultant row index. True if given range contains the merged cells and saves the covered cell information. Returns a object that indicates the merge cell's range for the specified cell position or False if there are no merge cells in range for the given cell position. Specifies whether cells merged in row or column (or both) are asked for. The row index. The column index. The where the found merge cell's range is returned. True if a merge cell's range is at the specified cell position; False if not. Returns a object that indicates the merge cell's range for the specified cell position or if there are no merge cells in range for the given cell position. The row index. The column index. A reference to range if a merge cell's range is at the specified cell position or if not. Combines all merge cells' ranges that intersect into one outer range that spans over all found ranges. The original range. The with the outer range. Determines if a specific cell supports merging or being flooded by a neighboring cell. The cellModel The rowIndex The colIndex The GridStyleInfo The GridMergeCellDirection returns boolean value to indicate merge cell Determines if a specific cell supports merging by a neighboring cell. The style information of a specific cell. The style info of neighbor cell. return boolean value to determines if a specific cell supports merging. Determines the given cell is merge cell. The row index. The column index. The range of given cell. True if given cell is merged cell. Determines the merged cells in ColumnsInRow. The row index of the grid. Left column index. Right column index. The range of merge cells. True if merged cell is in ColumnInRow. Determines the merged cells in RowsInColumn. The column index of the grid. Top row index. Bottom row index. The range of merged cell. True if the merged cell is in RowsInColumn. Updates the merged cells of the grid control. The GridControl. Last row index of merged cell. Last column index of merged cell. Old last row index of the cell. Old column index of the cell. Implements properties that allow you to adjust behavior and appearance of the grid. Disposes the object. Initializes a new instance of . Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Runs when the entire object graph has been de-serialized. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Toggles the enabled state of a specific controller. A that identifies the controller. The new enabled state. Returns the enabled state of a specific controller. A that identifies the controller. A that indicates if the controller is enabled. Raises the event. A that contains the event data. Toggles the enabled state for specific data consumers. A that identifies the dataobject consumer. A that indicates if the controller is enabled. Returns the enabled state for specific data consumers. A that identifies the data object consumer. A that indicates if the controller is enabled. Raises the event. A that contains the event data. Sets the custom Metro colors to the Grid. Custom Metro Color. Custom MouseHover color. Custom PushButtonPress color. set the metro color for Grid Collection of metro color Sets the custom metro colors to the Grid. custom Metro Color. custom MouseHover color. custom MouseClick color. custom GroupBar color. Sets the customized the Office 2016 theme colors. Use the Office2016ColorfulThemeColors, Office2016DarkGrayThemeColors, Office2016BlackThemeColors, Office2016WhiteThemeColors classes to customize the colors. The Office 2016 rendering styles are derived from the Metro color styles rendering. The custom colors for Office 2016 theme. Office 2016 visual style which needs to be customized. Occurs when have changed. Occurs when have changed. 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. Gets or sets a enumeration that specifies floating cells' behavior in a . Gets or sets a enumeration that specifies merge cells behavior in a . Gets or sets a enumeration that specifies merge cells behavior in a . Occurs when the is changed. Occurs when the is changed. Occurs when settings in have changed. Gets or sets the value to be used as default for cell borders. Gets or sets a value indicating whether the frozen line should be highlighted with . the . Gets or sets or disables various options for using the grid as an OLE drop target. Gets or sets which mouse controllers should be enabled for the grid. This enumeration has a attribute that allows a bitwise combination of its member values. When you assign this enumeration value to , the grid will create or disable specified mouse controllers for the grid. Each of these mouse controllers implements the interface and gets registered with . Gets or sets which default data consumers should be enabled for the grid. A that holds the options to be applied. Gets or sets behavior for resizing rows. A enumeration with options. You can customize the mouse controller's behavior at run-time while the user is performing the action by subscribing to the and events. Gets or sets behavior for resizing columns. A enumeration with options. You can customize the mouse controller's behavior at run-time while the user is performing the action by subscribing to the and events. Gets or sets a value indicating whether to allow the user to drag selected columns by clicking on the column header. You can customize the mouse controller's behavior at run-time while the user is performing the action by subscribing to the and events. Gets or sets a value indicating whether to allow the user to drag selected rows by clicking on the row header. You can customize the mouse controller's behavior at run-time while the user is performing the action by subscribing to the and events. Gets or sets which mouse buttons can be used for dragging selected rows or columns. A that specifies options to be applied. You can customize the mouse controller's behavior at run-time while the user is performing the action by subscribing to the and events. The property lets you further customize selection behavior. Gets or sets selection behavior of the grid. A that specifies options to be applied. You can customize the mouse controller's behavior at run-time while the user is performing the action by subscribing to the and events. The property lets you decide which mouse buttons can be used for selecting cells. Gets or sets ScrollCurrentCellInView behavior of the grid. A that specifies options to be applied. You can customize the current cell's scroll behavior at run-time by subscribing to the event. The property lets you specify the mask for which reason the scrolling should happen. Gets or sets which mouse buttons can be used for selecting cells. A that specifies options to be applied. You can customize the mouse controller's behavior at run-time while the user is performing the action by subscribing to the and events. The property lets you further customize selection behavior. Gets or sets the for alpha blended cell selections. A for alpha blended cell selections. It is important to set the alpha value to be less than 255 when calling . This setting has no effect if alpha blended selections have been disabled with . Gets or sets list box-like selection behavior for the grid when the user moves the current cell. A that defines the list box-like selection behavior of the grid. 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. 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. 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. Gets or sets a value indicating whether the active selection should be outline with a selection frame. Gets or sets current cell activation behavior when moving the current cell or clicking inside a cell. A enumeration that defines when to set the focus / toggle edit mode for the current cell. Gets or sets Activate the SendKey when pressing the negative sign key. Gets or sets movement of current cell when pressing the Enter key. Gets or sets a value indicating whether grid should erase and fill background of cells or only draw cell text. True if only text should be drawn; False if cell background should be erased and filled. Gets or sets a value indicating whether to toggle display of row numbers in row headers. Gets or sets a value indicating whether to toggle display of column ids (A, B, C, ...) in column headers. Gets or sets a value indicating whether the grid should scroll immediately when the user grabs a vertical scrollbar thumb and drags it. Gets or sets a value indicating whether the grid should scroll immediately when the user grabs a horizontal scrollbar thumb and drags it. Gets or sets a value indicating whether the grid should scroll immediately when the user grabs a vertical scrollbar thumb and drags it. Gets or sets a value indicating whether the grid should display Scroll Tips when the user grabs a horizontal scrollbar thumb and drags it. Gets or sets a value indicating whether the grid should display Scroll Tips when the user grabs a vertical scrollbar thumb and drags it. Gets or sets the minimum row height when the user resizes a row with the mouse. Gets or sets the minimum column width when the user resizes a column with the mouse. 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. Gets or sets a value indicating whether the scroll behavior when user moves current cell with arrow keys into the frozen cells area. True, if current cell is at the topmost nonfrozen row, scroll the view. False, move current cell into frozen cells. If current cell is at the top row, scroll the view. 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. Gets or sets when to show current cell frame or border. Gets 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 . Gets or sets a value indicating whether current cell movements should be synchronized among attached to the same model. Gets or sets a value indicating whether to Display Empty Rows. Used internally. This boolean property can be used only in GridControl. Gets or sets a value indicating whether to Display Empty Columns. Used internally. This boolean property can be used only in GridControl. Gets 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 instead. 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. 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. Gets or sets the VisualStyles (skins) like Office2010, Office2007, Office2003 Each of the components that is incorporated into the grid control is being affected with Visual Styles. Choosing one of the options will change the look and feel of the individual grid elements. The VisualStyles can be set by assigning a enumeration value to the GridVisualStyles property this.gridControl1.GridVisualStyles = GridVisualStyles.Office2007Blue; Me.GridControl1.GridVisualStyles = GridVisualStyles.Office2007Blue Gets or sets a value indicating whether to toggle between standard and Office2007 scrollbars. Gets or sets the style of Office2007 scroll bars. Gets or sets a value indicating whether to toggle between standard and Office2007 scrollbars. Gets or sets the style of Office2010 scroll bars. Gets or sets the style of Office2016 scroll bars. Gets or sets the VisualStylesDrawing object. Gets or sets the behavior of the Excel-like selection frame. One of the enumeration that specifies the Excel-like selection behavior. The default value is Syncfusion.Windows.Forms.Grid.SelectionFrameOption.Excel2016. This settings effects if Excel-like selection have been enabled with . Gets or sets selection border brush for 2016 Excel-like selection frame. It is applicable if SelectionFrameOption.Excel2016 is used as selection frame. This settings effects if SelectionFrameOption.Excel2016 have been enabled with . Gets or sets border thickness for 2016 Excel-like selection frame. It is applicable for if SelectionFrameOption.Excel2016 is used as selection frame. This settings effects if SelectionFrameOption.Excel2016 have been enabled with . Defines behavior when ExcelLikeCurrentCell was specified and user clicked on a cell with GridStyleInfo.Enabled = false. In versions prior to 3.0 the grid would deactivate the current cell (DeactivateCurrentCell). With 3.x we changed this behavior to leave the current cell untouched (LeaveCurrentCell). Same as LeaveCurrentCell Do not deactivate current cell when ExcelLikeCurrentCell was specified and user clicked on a cell with GridStyleInfo.Enabled = false. Deactivate the current cell when ExcelLikeCurrentCell was specified and user clicked on a cell with GridStyleInfo.Enabled = false. Implements methods for row and column operations in the grid. Allows you to insert, move, remove rows, and more. See for row operations and for column operations. You typically do not derive or instantiate this class. The class instantiates objects of this class. You can access all members of this class through the and objects. Raises the or event in the object. Event data. True if operation can proceed; False if it should abort. Raises the or event in the object. Event data Used internally. returns boolean value Used internally. Used internally. returns boolean value Used internally. Raises the or event in the object. An that contains the event data. True if operation can proceed; False if it should abort. Raises the or event in the object. Event data. Updates internal structures before removing rows or columns. Event data. True if operation can proceed; False if it should abort. Raises the or event in the object. Event data. True if operation can proceed; False if it should abort. Raises the or event in the object. Event data. Raises the or event in the object. Event data. True if operation can proceed; False if it should abort. Raises the or event in the object. Event data. Initializes a new instances of and associates it with a . A reference to the parent . Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Changes the cell contents at a specific row or column index. The row (or column) index. A object that holds contents for all the cells. Changes the cell contents at a specific row or column index. The row (or column) index. A object that holds contents for all the cells. True if appending rows is allowed if data holds more rows than fit into the grid. True if appending columns is allowed if data holds more columns than fit into the grid. Gets a table that represents a range of row (or columns). The first row (or column) index. The last row (or column) index. A object that holds contents for all the cells. Gets a table that represents a range of row (or columns). The first row (or column) index. The last row (or column) index. True if row or column parent styles should be copied. True if cell contents should be copied. A object that holds contents for all the cells. Force recalculation of floating cell's state for the specified range of rows (or columns). The first row (or column) index. The last row (or column) index. Used internally. Used internally. Used internally. Gets or sets the number of header rows or columns without raising , , , and events. The new count. Specifies if , , , and events should be raised. Queries selected row or column ranges. Returns a with all selected rows (or columns). Used internally. Used internally. returns GridRangeInfo Freeze the current selected range of rows (or columns). Moves them to the start of the grid and sets . Freeze the specified range of rows (or columns). Moves them to the start of the grid and sets . The first row (or column) index. The last row (or column) index. Unfreezes a previously frozen range of rows (or columns) and moves the rows or columns back to original position. Gets or sets the number of frozen rows or columns without raising , , , and events. The new count. Specifies if , , , and events should be raised. Removes a range of rows or columns. The first row or column index. The last row or column index. checks and generates undo information if necessary. Inserts a range of rows or columns at a specified index. Inserts a range of rows or columns at a specified index. The index where rows or columns should be inserted. The number of rows or columns to insert. checks and generates undo information if necessary. Inserts a range of rows or columns at a specified index. The index where rows or columns should be inserted. The number of rows or columns to insert. Specifies cell contents, row, and columns heights, hidden state, and covered cells information. Moves a range of rows or columns. Moves a range of rows or columns. The first row or column index. The destination row or column index. checks and generates undo information if necessary. Moves a range of rows or columns. The first row or colum index. The number of rows or columns to move. The destination row or column index. Gets a reference to or . Gets a reference to or . Gets "Row" or "Col" string. Gets or sets the maximum row height (or column width). Gets or sets the default row height (or column width). Gets or sets the number of row (or column) headers. Gets a value indicating whether the grid has a current selected range that can be frozen. Gets a value indicating whether there is a frozen range of rows (or columns) that can be unfrozen. Gets or sets the number of frozen rows (or columns). Implements the functionalities for row operations.Allows you to insert,move,remove rows and more. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes a new instance of and attaches it to a . Raises event in the object. The that contains the event data. True if event is raised,otherwise false. Raises event in the object. The that contains the event data. Raises event in the object. The that contains the event data. True if event is raised,otherwise false. Raises event in the object. The that contains the event data. Raises event in the object. The that contains the event data. True if event is raised,otherwise false. Raises event in the object. The that contains the event data. Raises event in the object. The that contains the event data. True if event is raised,otherwise false. Raises event in the object. The that contains the event data. Raises event in the object. The that contains the event data. True if event is raised,otherwise false. Raises event in the object. The that contains the event data. Raises event in the object. The that contains the event data. True if event is raised,otherwise false. Raises event in the object. The that contains the event data. Gets the cells styles to . From cell index. Last cell index. Indicates range styles. Indicates cell styles. The data. /// If is true; Otherwise the exception wouldn't occur. Sets the cells of grid control. Index of the cell. The holds a table where each item is StyleInfoStore. Indicates whether rows should be extended. Indicates whether columns should be extended. Removes the range of rows. Specified index at where the rows are removed. Rows count to remove. Inserts the data range of rows. Specified index at where the rows are inserted. Rows count to insert. Moves the data range of rows. Index from where the rows are moved. Rows count to move. Target index to move the rows. Initiate calls to method. Staring index. Last index. Overridden to get From and To values of rows. The range of the cells. The starting index of the range. The ending index of the range. Overridden to create the Top and Bottom values of rows. Starting row index. Last row index. The object. Gets the selected rows range. Determines whether spanned cells should be inserted. An that contains the event data. True, if event is raised,otherwise false. Determines whether spanned cells should be moved. An that contains the event data. True, if event is raised,otherwise false. Determines whether spanned cells should be removed. An that contains the event data. True, if event is raised,otherwise false. Gets "Row" string. Gets the from the object. Gets the from the object. Implements methods for column operations in the grid. Allows you to insert, move, remove rows, and more. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes a new instance of from a serialization stream. Grid model. Raises event in the object. The that contains the event data. True if event is raised,otherwise false. Raises event in the object. The that contains the event data. Raises event in the object. The that contains the event data. True if event is raised,otherwise false. Raises event in the object. The that contains the event data. Raises event in the object. The that contains the event data. True if event is raised,otherwise false. Raises event in the object. The that contains the event data. Raises event in the object. The that contains the event data. True if event is raised,otherwise false. Raises event in the object. The that contains the event data. Raises event in the object. The that contains the event data. True if event is raised,otherwise false. Raises event in the object. The that contains the event data. Raises event in the object. The that contains the event data. True if event is raised,otherwise false. Raises event in the object. The that contains the event data. Gets the cells styles to . From cell index. Last cell index. Indicates range styles. Indicates cell styles. The data. If is true; Otherwise the exception wouldn't occur. Sets the cells of grid control. Index of the cell. The holds a table where each item is StyleInfoStore. Indicates whether rows should be extended. Indicates whether columns should be extended. Removes the range of columns. Specified index at where the columns are removed. Columns count to remove. Inserts the data range of columns. Specified index at where the columns are inserted. Columns count to insert. Moves the data range of columns. Index from where the columns are moved. columns count to move. Target index to move the columns. Initiate calls to method. Staring index. Last index. Overridden to get From and To values of column. The range of the cells. The starting index of the range. The ending index of the range. Overridden to create the Top and Bottom values of columns. Starting column index. Last column index. The object. Gets the selected columns range. Determines whether spanned cells should be inserted. An that contains the event data. True, if event is raised,otherwise false. Determines whether spanned cells should be moved. An that contains the event data. True, if event is raised,otherwise false. Determines whether spanned cells should be removed. An that contains the event data. True, if event is raised,otherwise false. Gets "Column" string. Gets the from the object. Gets the from the object. Provides the functionality for to store row heights and column widths. Occurs when rows or columns are moved. First row or column index. Number of rows or columns. The Destination. Occurs when rows or columns are removed. First row or column index. Number of rows or columns. Occurs when rows or columns are inserted. Row or column index. Number of rows or columns. Resets the flag. The row height or column with a given index. Gets a value indicating whether the dictionary was modified. Implements the functionalities that supports the type conversion from one type to another type. Internal only. Initializes the new instances of the class. Determines whether this converter can convert an object of the given type to the type of this converter, using the specified context. Internal only. An that provides a format context. A that represents the type you want to convert from. true if this converter can perform the conversion; otherwise, false. Converts the given object to the type of this converter, using the specified context and culture information. Internal only. An that provides a format context. The to use as the current culture. The to convert. An that represents the converted value. Determines whether this converter can convert the object to the specified type, using the specified context. Internal only. An that provides a format context. A that represents the type you want to convert to. true if this converter can perform the conversion; otherwise, false. Converts the given value object to the specified type, using the specified context and culture information. Internal only. An that provides a format context. A . If null is passed, the current culture is assumed. The to convert. The to convert the parameter to. An that represents the converted value. Implements the method from to control the binding of a serialized object to a type. Internal only. When overridden in a derived class, controls the binding of a serialized object to a type. Internal only. Specifies the name of the serialized object. Specifies the name of the serialized object. The type of the object the formatter creates a new instance of. Implements the default dictionary used by the to store row heights and column widths. This is the default implementation for . Initialize a new instance of class. Resets the flag. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Occurs when rows or columns are moved. First row or column index. Number of rows or columns. The Destination. Occurs when rows or columns are removed. First row or column index. Number of rows or columns. Occurs when rows or columns are inserted. Row or column index. Number of rows or columns. Gets or sets a value indicating whether the dictionary was modified. Gets InnerDictionary. Internal only. The size of a given row or column index. Implements the method that manages row heights and column widths in a grid and lets you change them. Events will be raised in the grid when settings are changed. You typically access this class from a grid using the and properties of a . This class raises the following events in a : ItemsDescriptions Used internally. Used internally. returns boolean value Used internally. Used internally. Used internally. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Initializes a new instance of and associates it with a . A reference to the parent . Resets the flag. Gets an array of row or column sizes. The array will have negative values for rows and columns that are reset default size. Hidden rows and columns are returned in their original size. First row or column. Last row or column. An array with row and column sizes. Call EvalRange to change the array and determine actual sizes for rows or or columns that are reset to default or hidden. Call EvalRange to change a given array of row and column sizes and determine actual sizes for rows or columns that are reset to default or hidden. Call EvalRange to change a given array of row and column sizes and determine actual sizes for rows or columns that are reset to default or hidden. First row or column index. The array to be evaluated. The values in the array will be changed. A reference to the values array (see param values). Call EvalRange to change a given array of row and column sizes and determine actual sizes for rows or columns that are reset to default or hidden. First row or column index. The array to be evaluated. The values in the array will be changed. An array that specifies which rows or columns are hidden. The default row or column width in the grid. A reference to the values array (see param values). if is Null. Gets the total size for the specified range of rows or columns. The first row or column. The last row or column. The total size. Gets the total size for the specified range of rows or columns. The first row or column. The last row or column. Maximum value for total. The total size. Determines if row or column at the specified index is reset to default. Row or column index. True if value is reset to default; False otherwise. Resets the row or column to default size. Row or column index. Resets the range of rows or columns to default size. First row or column index in range. Last row or column index in range. Changes the size of a range of rows or columns. Changes the size of a range of rows or columns. First row or column index in range. Last row or column index in range. The size to be applied. The method will generate undo information and push it onto the grid's command stack. A or () event is raised before the values are modified and gives event listeners a chance to discard the operation before any change happens. If the event did not signal to cancel, the operation will go ahead, apply changes and raise a or () event. The Changed event will indicate if changes were successful or not. Changes the size of a range of rows or columns. First row or column index in range. Last row or column index in range. An array with sizes to be applied. Changes the size of rows or columns in the specified range. First row or column index in range. Last row or column index in range. The sizes to be applies to the range. Set this true if you do not want undo information to be pushed onto the grid's command stack. Saves the raw size data for the given row or column. A negative value means that the size of the row or column should be reset to default. This method will not raise neither Changing nor Changed events. The row or column index. The new size of the row or column. -1 if the size of the row or column should be reset to default. Returns the raw size data for the given row or column. The row or column index. The size of the row or column. It is -1 if the size of the row or column is reset to default. Determines whether resize a range of rows or columns to optimally fit contents of the specified range of cells. Resizes a range of rows or columns to optimally fit contents of the specified range of cells. The range of cells to be analyzed. True if any changes were made; False if all sizes were already optimal. Determines whether resize the range of rows to optimally fit. The range of cells to be analyzed. True if any changes were made; False if all sizes were already optimal. Determines whether resize the range of rows to optimally fit. The range of cells to be analyzed. Get the result for the particular ResizeToFit Options. True if any changes were made; False if all sizes were already optimal. Determines whether resize the range of rows to optimally fit. The range of cells to be analyzed. get the result for the particular text option True if any changes were made; False if all sizes were already optimal. Determines whether resize a range of rows or column to optimally fit contents of the specified range of cells and given options. The range of cells to be analyzed. Specifies whether row or column headers should be included; if size can be reduced and if covered cells should be considered. True if any changes were made; False if all sizes were already optimal. Determines whether resize a range of rows or column to optimally fit The range of cells to be analyzed. Specifies whether row or column headers should be included; if size can be reduced and if covered cells should be considered. text option Determines whether the range of rows and columns should be resized to optimally fit. Used internally. returns boolean value Gets "RowHeight" or "ColumnWidth" string. Gets a reference to or . Gets a reference to or . Gets or sets storage for all row heights or column widths in the grid. You can replace this dictionary at run-time with a custom dictionary if you implement the interface. Returns or sets the row height or column width of the specified row or column. Returns or sets the row height or column width for the specified index. Hidden rows or columns will return 0. If row or column has default size, the DefaultSize is returned. Call ResetRange reset values to default. Call IsDefault to check if a value is reset to default. Call IsHidden[n] to check if a row or column is hidden. Gets a value indicating whether the dictionary was modified. Returns or sets the row height or column width for the row or column that matches the specified name. Hidden rows or columns will return 0. If row or column has default size, the DefaultSize is returned. Call ResetRange reset values to default. Call IsDefault to check if a value is reset to default. Call IsHidden[n] to check if a row or column is hidden. Implements the functionalities to hold all information to execute the SetRange command. GridModelSetRowColSizeCommand is typically generated by the SetRange command and pushed onto the grid's command stack. Initializes a new class with all the commands. A reference to the target GridModelRowColSizeIndexer. First row or column index in range. Last row or column index in range. The sizes to be applies to the range. Executes the commands. Implements the methods that manages the row heights in a grid using by class and interface. Initializes a new instances of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes a new instances of from a serialization stream. The GridModel. Overridden to call method,used internally. An that contains the event data. Overridden to method. Used internally. An that contains the event data. returns boolean value Overridden to call to method. An that contains the event data. Overridden to call to method. An that contains the event data. Overridden to call to method. An that contains the event data. Overridden to determine whether resize a range of rows or column to exactly fit contents of the specified range of cells. The range of cells to be analyzed. Specifies whether row or column headers should be included; if size can be reduced and if covered cells should be considered. text option True if any changes were made. Overridden to determine whether resize a range of rows or columns to optimally fit contents of the specified range of cells. The range of cells to be analyzed. Get the result for the particular ResizeToFit Options. True if any changes were made; False if all sizes were already optimal. Gets rows operations for the grid. Gets the RowColName. Gets or sets a value indicating whether the row index can be returned for specified name. Implements the functionalities that manages column widths in a grid and lets you change them. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes a new instance of from a serialization stream. The GridModel. Overridden to call method,used internally. An that contains the event data. Overridden to call method,used internally. Used internally. An that contains the event data. returns boolean value Overridden to call method. An that contains the event data. Overridden to call method. An that contains the event data. Overridden to determine whether resize a range of rows or column to exactly fit contents of the specified range of cells. The range of cells to be analyzed. Specifies whether row or column headers should be included; if size can be reduced and if covered cells should be considered. text option True if any changes were made. Overridden to determine whether resize a range of rows or column to optimally fit contents of the specified range of cells and given options. The range of cells to be analyzed. Specifies whether row or column headers should be included; if size can be reduced and if covered cells should be considered. True if any changes were made; False if all sizes were already optimal. Gets the columns operations for the grid. Gets the RowColName. Gets or sets a value indicating whether the column index can be returned for specified name. implements the methods that manages selected ranges in the grid. Allows you to add and remove selections, determine selection state of a specific cell, and more. Initializes a new instance of class and associates it with a . A reference to the parent . Determines a list with selected ranges or if there are no selected ranges, returns the current cell as selected range. A where selected ranges will be copied to. True if current cell should be returned as selected range if there are no other selected ranges. True if one or multiple ranges or current cell range could be returned; False otherwise. Determines if the specified cell position is found in a range list. The row index. The column index. The range list with ranges to be searched. True if cell position was found; False otherwise. Returns selected columns in the grid. True if only selected columns should be returned; False if you want to treat single range cell selections as full column selections. True if current cell should be returned as selected range if there are no other selected ranges. The with column ranges. If the user has selected the cell's range R1C2:R2C4 and the current cell is at R4C5. If you specify False for , the method will return range C2:C5. If you specify True for and also True for , the method will return range C5. Returns selected rows in the grid. True if only selected rows should be returned; False if you want to treat single range cell selections as full row selections. True if current cell should be returned as selected range if there are no other selected ranges. The with row ranges. If the user has selected the cell's range R1C2:R2C4 and the current cell is at R4C5. If you specify False for bRangeColsOnly the method will return range R1:R2;R4. If you specify True for bRangeColsOnly and also True for , the method will return range R4. Adds a to the list of selected ranges. The new selection range to be added. Removes a from the list of selected ranges. The new selection range to be added. Adds or removes a from the list of seletced ranges. The selection range to be added or removed. True if range should be added; False otherwise. Sets internal properties to simulate having clicked a particular row and col to start a shift-selection process. The grid row index. The grid column index. When you explicitly call gridControl1.Selections.SelectRange to select cells, the grid does not treat this the same as clicking on the cells to select them. When you click cells to select them, internal fields track the clicks so that the selection can be extended using additional shift+clicks. If you want your range selected by using gridControl1.Selections.SelectRange to be extendible in this manner, then you will need to make an additional call to tell the grid to set its internal fields. The code shows a simple use case. gridControl1.Selections.SelectRange(GridRangeInfo.Row(1), true); gridControl1.Selections.SetSelectClickRowCol(1, 0); Sets internal properties to simulate having clicked a particular row and col to start a shift-selection process. The grid row index. The grid column index. The mouse controller. When you explicitly call gridControl1.Selections.SelectRange to select cells, the grid does not treat this the same as clicking on the cells to select them. When you click cells to select them, internal fields track the clicks so that the selection can be extended using additional shift+clicks. If you want your range selected by using gridControl1.Selections.SelectRange to be extendible in this manner, then you will need to make an additional call to tell the grid to set its internal fields. Initiate calls to method. The selection range. Reason of Grid selection. Initiate calls to method. The selection range. Old ranges. Reason of GridSelection. Initiates calls to method. The selection range. Reason for GridSelection. True if not cancelled,otherwise false. Determines whether raises the SelectionChanging event. The selection range. Reason for GridSelection. Range of clicked cell. True if not cancelled,otherwise false. Determines whether stores the select range. The selection range. True if range should be added; False otherwise. Clears all selections. Clears all selections. Indicates if SelectionChanging and SelectionChanged should be raised. Changes an existing selection. Changes an existing selection. The range to be changed. The new boundaries of the range. The grid calls this method when you select cells with the mouse. Changes an existing selection. The range to be changed. The new boundaries of the range. Specifies if SelectionChanging and SelectionChanged events should be raised. The grid calls this method when you select cells with the mouse. Returns an enumerator for stepping through all selected ranges. The enumerator for the collection. Copies all range objects into an array of starting at specified index. The array of where the values should be copied to. The starting index in the destination array. Gets the collection with all selected ranges. Gets the number of ranges in the . Gets NULL. Gets a value indicating whether Is Synchronized. Returns False. Implements the functionalities that manages copy and paste of style objects in the grid. Allows you to add and remove selections, determine selection state of a specific cell, and more. Initializes a new instance of object and associates it with a . A reference to the parent . Determines whether to create a object and initializes it with style objects and covered cell information of a range of cells in the grid. Determines whether to create a object and initializes it with style objects and covered cell information of a range of cells in the grid. A placeholder for the object that is created by the method. The range of cells to be copied. True if information from base styles should also be copied; False if only the settings that were initialized for the cells should be copied. A with further options (currently ignored.) A placeholder where the number of copied rows is returned. A placeholder where the number of copied columns is returned. True if the operation completed successfully; False otherwise. Determines whether to create a object and initializes it with style objects and covered cell information of a range of cells in the grid. A placeholder for the object that is created by the method. A collection with ranges of cells to be copied. (currently ignored.) True if information from base styles should also be copied; False if only the settings that were initialized for the cells should be copied. (currently ignored.) A with further options. A placeholder where the number of copied rows is returned. A placeholder where the number of copied columns is returned. True if the operation completed successfully; False otherwise. Determines whether to get the clipboard style data of grid cells. The row index. The column index. The object holds the cell information. True if information from base styles should also be copied; False if only the settings that were initialized for the cells should be copied. A with further options. returns True. Determines whether to paste the cells from data objects. Initializes a given range of cells in a grid with style objects and covered ranges information from a object. The object with cell styles and covered ranges. The destination range where cell information should be copied to. True if difference in width and height of and the row and column count of should be ignored; False if a message box should be displayed. options let you specify if rows or columns can be appended See and of the class. True if operation was successful; False otherwise. Implements the functionalities that provides access to a grid column styles collection with an indexer. You typically access this class from a grid with the property of a . Initializes the new instances of the class. A reference to the parent . Returns an that can iterate through the column styles in the instance. An for the instance. Copies the elements to a one-dimensional at the specified index. The one-dimensional that is the destination of the objects copied from the instance. The must have zero-based indexing. The zero-based index in at which copying begins. Gets or sets the column style information of a column. Gets or sets the column style information of a column. The indexer provides you with a very simple way to query and change column style contents. The following example make some changes to the grid using the indexer: model.ColStyles[2].Font.Bold = true; model.ColStyles[2].Font.Size = 16; model.ColStyles[2].HorizontalAlignment = GridHorizontalAlignment.Center; model.ColStyles[2].VerticalAlignment = GridVerticalAlignment.Middle; model.ColStyles[2].CellType = "Static"; model.ColStyles[2].Borders.All = new GridBorder(GridBorderStyle.Solid, Color.FromArgb(100, 238, 122, 3)); model.ColStyles[2].Interior = new BrushInfo(GradientStyle.PathEllipse, Color.FromArgb(100, 57, 73, 122), Color.FromArgb(237, 240, 247)); If you query for specific attributes in a cell and these attributes have not been explicitly set, the object that is return by the indexer is smart enough to query base styles for queried information. model.ColStyles[1].TextColor = Color.FromArgb(0, 21, 84); Color color = model[1, 1].TextColor; // model[1, 1].TextColor will return Color.FromArgb(0, 21, 84)); Gets or sets the column style information of a column. Gets the number of columns in the grid . Gets a value indicating whether Is Synchronized. Always false. Gets a reference to the property of the . Implements the functionalities that provides access to a grid row styles collection with an indexer. You typically access this class from a grid with the property of a Returns an that can iterate through the column styles in the instance. An for the instance. Copies the elements to a one-dimensional at the specified index. The one-dimensional that is the destination of the objects copied from the instance. The must have zero-based indexing. The zero-based index in at which copying begins. Gets or sets the row style information of a row. Gets or sets the row style information of a row. The indexer provides you with a very simple way to query and change row style contents. The following example make some changes to the grid using the indexer: model.RowStyles[2].Font.Bold = true; model.RowStyles[2].Font.Size = 16; model.RowStyles[2].HorizontalAlignment = GridHorizontalAlignment.Center; model.RowStyles[2].VerticalAlignment = GridVerticalAlignment.Middle; model.RowStyles[2].CellType = "Static"; model.RowStyles[2].Borders.All = new GridBorder(GridBorderStyle.Solid, Color.FromArgb(100, 238, 122, 3)); model.RowStyles[2].Interior = new BrushInfo(GradientStyle.PathEllipse, Color.FromArgb(100, 57, 73, 122), Color.FromArgb(237, 240, 247)); If you query for specific attributes in a cell and these attributes have not been explicitly set for the cell, the object that is returned by the indexer is smart enough to query base styles for queried information. model.RowStyles[1].TextColor = Color.FromArgb(0, 21, 84); Color color = model[1, 1].TextColor; // model[1, 1].TextColor will return Color.FromArgb(0, 21, 84)); Gets or sets the row style information of a row. Gets the number of rows in the grid . Gets a value indicating whether Is Synchronized. Always false. Gets a reference to the property of the . Implements the functionalities that manages text data exchange for the grid. Lets you copy cell text to a stream or clipboard and recreate the cell text at a later time. Initializes a new instance of class and associates it with a . A reference to the parent . Determines whether to copy the text to buffer. Creates a object and initializes it with style objects and covered cell information of a range of cells in the grid. A placeholder for the string buffer that is created by the method. The list with range of cells to be copied. A placeholder where the number of copied rows is returned. A placeholder where the number of copied columns is returned. True if the operation completed successfully; False otherwise. Gets the formatted text from the specified row and column. The row index of current cell. The column index of current cell. returns formatted text Determines whether to paste text from a string buffer with tab-delimited text into a range of cells. The string buffer with tab-delimited cell's text. The destination range where text should be pasted. options let you specify if rows or columns can be appended. See and of the class. True if operation completed successfully; False otherwise. Determines whether the text could be pasted. Raises a event and calls GridStyleInfo.ApplyFormattedText for the specific cell. The row index. The column index. The text to be pasted. True if text could be pasted; False otherwise. Creates an ArrayList of rows where each row is an ArrayList of values that belong to that row from a tab-delimited input string. Tab separated values as string. Newline characters indicate a new row. The number of rows extracted from the string. The number of columns extracted from the string An OperationFeedback object. The resulting ArrayList with rows and values for each row. Determines the number of rows and columns in a tab-delimited string buffer. The tab-delimited string buffer. A placeholder where the calculated number of rows is returned. A placeholder where the calculated number of columns is returned. True if the passed in buffer is a valid tab-delimited text; False otherwise. Gets or sets the character that is used for separating columns when importing text file. Gets or sets that is used for separating columns when exporting text file. Used for XML serialization, this struct contains information relating to shared expensive properties that could be the same in various places in the grid. For example, the BackgroundImage for cells, or the grid itself. Instead of having multiple listings of the same expensive object, a object will contain the Value of the item (could be a Base64 string) and a Name, which the cells could refer to. and are a sample use of this. Initializes a new instance of with the provided name and value. Name of the object The string representation of the objects value that is stored in the object. Implements a collection that stores 'GridNamespaceGroupItem' objects. Initializes a new instance of class. Initializes a new instance of based on an already existing instance. A from which the contents is copied. Initializes a new instance of 'GridNamespaceGroupItemCollection' with an array of 'GridNamespaceGroupItem' objects. An array of 'GridNamespaceGroupItem' objects with which to initialize the collection Adds a 'GridNamespaceGroupItem' item with the specified value to the 'GridNamespaceGroupItemCollection' The to add. The index at which the new element was inserted. Adds the base64 string value to the collection, returning the Name for the item. If the base64 string already exists, the current Name for the item is returned. The base64 string to add The Name of the GridNamespaceGroupItem which contains this value Copies the elements of an array at the end of this instance of . An array of objects to add to the collection. Adds the contents of another at the end of this instance. A containing the objects to add to the collection. Gets a value indicating whether the contains the specified value. The item to locate. True if the item exists in the collection; false otherwise. Gets a value indicating whether the contains a object with the specified value. The value to find in the collection. True if the item exists in the collection; false otherwise. Copies the values to a one-dimensional System.Array instance starting at the specified array index. The one-dimensional System.Array that represents the copy destination. The index in the array where copying begins. Returns the index of a object in the collection. The object whose index will be retrieved. If found, the index of the value; otherwise, -1. Retrieves the value of the object that has the supplied name. The name of the object. Current object's value for the given name. Retrieves the name of the object that has the supplied value. The value of the object in question. Current object's name for the specified value. Inserts an existing into the collection at the specified index. The zero-based index where the new item should be inserted. The item to insert. Returns an enumerator that can be used to iterate through the 'GridNamespaceGroupItemCollection'. An enumerator. Removes a specific item from the . The item to remove from the . TODO: Describe what custom processing this method does before setting an item in the collection TODO: Describe what custom processing this method does before inserting a new item in the collection Gets or sets the item at the specified index position. The zero-based index of the entry to locate in the collection. The entry at the specified index of the collection. Implements a strongly typed enumerator for . Initializes the new instances of the class. A collection of objects. Determines whether moves the enumerator to the next element of the collection. True if next element exists. Determines whether moves the enumerator to the next element of the collection True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. The collection was modified after the enumerator was created. Sets the enumerator to the first element in the collection Sets the enumerator to the first element in the collection Gets the current element from the collection (strongly typed). Gets the current element from the collection. Implements the cache to save the style information of the grid cells. Initializes the new instance of the class. Dictionary table for Cells. Implements the cache to save the style information for grid rows. Initializes the new instance of the class. Provides the functionality to maintain volatile data. Sets the visible rows list. Used internally. GridCellTextEventArgs Sets the visible columns list.Used internally. Implements the functionalities that provides GridStyleInfo objects on demand that are returned by the grid model's indexer. GridVolatileData caches the objects and their identity information holding a weak reference to them. GridModel holds a GridData object. This object contains the plain data with style settings specific to a cell. When GridVolatileData creates a style object, it asks the grid to return the cell settings from GridData and then associate these settings with identity information. This allows access to style properties using inheritance from base styles. Identity information also ensures that changes to the style object will be written back correctly to GridData. Implements the interface for a volatile data cache to be used with the property. defines an interface that utilizes to query cell contents, base styles, look up cell types, and save changes back to the grid. Gets an array that consists of table, row, and column base styles for the specified row and column index. returns GridStyleInfo array Looks up a for a given cell type as specified with . returns GridCellModelBase Gets or sets a at a given row and column index. Gets or sets the that is stored with . Empty the cache. Clears cached value for row count. Clears cached value for column count. Resets cache for a specific cell. The cell coordinates. Gets or sets a cached value for row count. Gets a value indicating whether a value for row count has been cached. Gets or sets a cached value for column count. Gets a value indicating whether a value for column count has been cached. Saves row style information. Row identity information. The row style settings to be saved. Saves column style information. Column identity information. The column style settings to be saved. Initializes the new instance of the class. The parent grid model that will access style information through this object. Disposes the object and collection items. Looks up a for a given cell type as specified with . Cell type name. Cell model. Clears cached value for row count. Clears cached value for column count. Gets the cached style information for a specific cell. The cell coordinate. The cached GridStyleInfo; NULL if no cache entry was found. Saves style information to be cached. The cell coordinate. The GridStyleInfo to be cached. Resets cache for a specific cell. The cell coordinates. Determines whether reset the grid cache. Holds the cells information. Determines whether the cell is visible or not. Holds the cell coordinates. Resets cache for a specific cell. The cell coordinates. Empty the cache. Reset the cells list. Creates the for given cell. Holds cells information. Gets an array that consists of table, row, and column base styles for the specified row and column index. Name of the base style. The maximum number of levels to look at when walking referenced base styles. An array of table, row and column base styles. Gets an array that consists of table, row, and column base styles for the specified row and column index. Cell style information. Row index. Column index. An array of table, row and column base styles. Gets the base styles map. Gets a reference to the parent grid model. Gets or sets a cached value for row count. Gets a value indicating whether a value for row count has been cached. Gets or sets a cached value for column count. Gets a value indicating whether a value for column count has been cached. Gets or sets the at a given row and column index. Gets or sets the grid style info got particular cell position Grid Cell Gets cached row styles within GridVolatileData. Gets cached column styles within GridVolatileData Gets or sets access to a for the table style. Implements a class that have cached row styles within GridVolatileData. Gets or sets the at a given row index. Implements a class that have cached column styles within GridVolatileData. Gets or sets the at a given column index. Implements the class that specifies the constants for GridPropertyColorIndex. Implements the functionalities that holds various options that let you customize the appearance of the grid, such as window background, grid line colors, printer / page settings, and more. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Initializes a new instance of class. Resets the flag. Raises the event. Determines whether the GridLineColor value should be serialized or not. True if GridLieColor is System.GrayText. Resets GridLineColor to its default value. Determines whether the FixedLinesColor should be serialized or not. True if FixedLinesColor is SystemColors.ActiveCaption. Resets FixedLinesColor to its default value. Determines whether the ResizingCellsLinesColor should be serialized or not. True if ResizingCellsLinesColor is red. Resets ResizingCellsLinesColor to its default value. Determines whether the BackgroundColor should be serialized or not. True if BackgroundColor is SystemColors.Control. Resets BackgroundColor to its default value. Creates a deep copy of the object A duplicate of the current object. This will copy the values of the object, ignoring the references. Copies the properties from the visible attributes. Properties of the grid. Gets a value indicating whether the dictionary was modified. Occurs when any property in this object is changed. Gets the localized string. Gets the localized string. Gets the localized string. Gets the localized string. Gets the localized string. Gets or sets a value indicating whether row and column headers should appear raised or flat. Gets or sets a value indicating whether vertical lines should be displayed. Gets or sets a value indicating whether horizontal lines should be displayed. Gets or sets a value indicating whether the row header for the current cell should be highlighted. Gets or sets a value indicating whether the column header for the current cell should be highlighted. Gets or sets a value indicating whether row headers should be printed when printing the grid. Gets or sets a value indicating whether column headers should be printed when printing the grid. Gets or sets a value indicating whether switch to printing mode for the grid. Gets or sets a value indicating whether the grid should be centered horizontally on the page when printing. Gets or sets a value indicating whether the grid should be centered vertically on the page when printing. Gets or sets a value indicating whether the grid should be display column headers. Gets or sets a value indicating whether the grid should draw horizontal lines when printing. Gets or sets a value indicating whether row headers should be displayed or hidden. (Might be better to use HideCols[0] = false) instead. Gets or sets a value indicating whether the grid should draw vertical lines when printing. Gets or sets immediate repaint of Client Area. Gets or sets the page order how the grid should be printed. Gets or sets a value indicating whether the grid should print only in black and white. Gets or sets a value indicating whether the grid should print the header with theme Gets or sets a value indicating whether a frame should be drawn around the grid when printing. Gets or sets the color of grid lines. Gets or sets GridLine Color String. Internal only Gets or sets the color of frozen grid lines. Gets or sets Fixed Lines ColorString. Internal only. Gets or sets the color of the grid line marker when the user is resizing rows or columns. Gets or sets ResizingCells Lines ColorString. Internal only. Gets or sets the color of the area below the last row and right of the last column inside the grid window. Gets or sets the values to enable floating over hidden cells Gets or sets Background ColorString. Internal only. Implements a collection editor that is tailored to adding and removing objects from the collection in a . Initializes a new instance of class. The type of the collection for this editor to edit. Overridden to create a new form to display and edit the current collection. A to provide as the user interface for editing the collection. Implements a collection of objects. This collection is a wrapper collection for cells in the object. It provides support for modifying cells through a CollectionEditor and code serialization at design-time. Returns a string holding the current object. String representation of the current object. Initializes the new instance of the class. Initializes the new instance of the class. Initializes the new instance of the class. List of rows. Determines whether gets the row and column index from cell range. The object holds the cell range information. Top row index Left column index. Bottom row index. Right column index. True if range is not empty. Writes the cell styles to data list. Writes the cell styles to . Array list. Writes the cell styles to list. Range styles collection. Indicate whether the grid should be invalidated. Writes the cell styles to list. Range style of a cell. Indicate whether the grid should be invalidated. Adds multiple elements at the end of the collection. The Array with elements that should be added to the end of the collection. The array and its elements cannot be NULL references (Nothing in Visual Basic). Raises the event. A that contains the event data. Raises the event. A that contains the event data. Determines whether the specified is equal to the current . The to compare with the current . true if the specified is equal to the current ; otherwise, false. Serves as a hash function for a particular type. A hash code for the current object. Determines whether each element with the elements of another collection is equal or not. The collection to compare to. True if all elements are equal and in the same order; False otherwise. Determines if the element belongs to this collection. The Object to locate in the collection. The value can be a NULL reference (Nothing in Visual Basic). True if item is found in the collection; otherwise, False. Returns the zero-based index of the occurrence of the element in the collection. The element to locate in the collection. The value can be a NULL reference (Nothing in Visual Basic). The zero-based index of the occurrence of the element within the entire collection, if found; otherwise, -1. Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array. The one-dimensional Array that is the destination of the elements copied from ArrayList. The Array must have zero-based indexing. The zero-based index in array at which copying begins. Returns an enumerator for the entire collection. An IEnumerator for the entire collection. Enumerators only allow reading the data in the collection. Enumerators cannot be used to modify the underlying collection. Inserts a descriptor element into the collection at the specified index. The zero-based index at which the element should be inserted. The element to insert. The value must not be a NULL reference (Nothing in Visual Basic). If is Null. Removes the specified descriptor element from the collection. The element to remove from the collection. If the value is NULL or the element is not contained in the collection, the method will do nothing. Adds an object to the end of the collection. The element to be added to the end of the collection. The value must not be a NULL reference (Nothing in Visual Basic). The zero-based collection index at which the value has been added. Removes the element at the specified index of the collection. The zero-based index of the element to remove. Disposes the object and collection items. Removes all elements from the collection. Inserts an item to the System.Collections.IList at the specified index. The zero-based index at which value should be inserted. The object to insert into the . Removes the first occurrence of a specific object from the System.Collections.IList. The object to remove from the System.Collections.IList. Determines whether the System.Collections.IList contains a specific value. The object to locate in the System.Collections.IList. true if the System.Object is found in the System.Collections.IList; otherwise false. Determines the index of a specific item in the System.Collections.IList. The object to locate in the System.Collections.IList. The index of value if found in the list; otherwise, -1. Adds an item to the System.Collections.IList. The object to add to the System.Collections.IList. The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection. Copies the elements of the System.Collections.ICollection to an System.Array, starting at a particular System.Array index. The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. The System.Array must have zero-based indexing. The zero-based index in array at which copying begins. Returns an enumerator that iterates through a collection. An System.Collections.IEnumerator object that can be used to iterate through the collection. Gets or sets a value indicating whether to Allow Combine Cells. Used internally. Gets or sets a value indicating whether the collection is modified from its default state. Gets or sets the elements at the zero-based index. Gets a value indicating whether the collection is Read-only. Gets a value indicating whether collection has no fixed size. Normally False since this collection has no fixed size. Only when it is Read-only IsFixedSize returns True. Gets a value indicating whether Is Synchronized. Returns False. Gets the number of elements contained in the collection. Gets or sets the element at the specified index. The zero-based index of the element to get or set. The element at the specified index. Gets an object that can be used to synchronize access to the System.Collections.ICollection. Enumerator class for elements of a . Initalizes the enumerator and attaches it to the collection. The parent collection to enumerate. Sets the enumerator to its initial position, which is before the first element in the collection. Determines whether the enumerator moves to the next element of the collection. True if the enumerator was successfully advanced to the next element; False if the enumerator has passed the end of the collection. Gets the current element in the collection. Gets the current element in the collection. implements the functionalities to manage RangeStyles by the . Initializes a new empty instance of class. Initializes a new empty instance of class. Initializes a new instances ofclass. The Row index. The Column index. Initializes a new instance of class. The Row Index. The Column Index. Style store. Initializes a new instance of class. Top row index. Left column index. Bottom row index. Right column index. Style store. Initializes a new instances of class. The cell range. The style store. Overridden to get a string that represents the current object. A string that represents the current object. Releases all the resources used by this component. Invoked when is changed.Writes the cell styles GridRangeStyleCollection. The source of the event. An that contains the event data. Gets or sets the cell information that should be applied to the range. Gets or sets the range that the cell information should be applied to. Gets or sets RangeInfo. Used internally. Implements the type converter for objects. is a . It overrides the default behavior of the method and adds support for design-time code serialization. Initializes the new instance of the class. Determines whether this converter can convert the object to the specified type, using the specified context. Format context. The type you want to convert to. true if this converter can perform the conversion; otherwise, false. Converts the given value object to the specified type, using the specified context and culture information. Format context. Current culture information. The object to convert. The type to convert the value parameter to. An that represents the converted value. A list of properties for the specified object type. Graphics context. An object that specifies the type. An array of System.Attribute objects that will be used as a filter. A collection of properties. Implements the interface to compare the row heights of the grid. Compares the two objects. Object1. Object2. Returns the Row index. Implements a collection of items with information about row height. Returns a string that represents the current object. A string that represents the current object. Initializes the new instance of the class. Initializes the new instance of the class. Initializes the new instance of the class. Row heights. Writes the row size values to . Writes the values to . Row size values. Writes the values to . Height of a row. Writes the values to . Rows Height collection. Adds multiple GridRowHeight items. The Array with elements that should be added to the end of the collection. The array and its elements cannot be NULL references (Nothing in Visual Basic). Raises the event. A that contains the event data. Raises the event. A that contains the event data. Determines whether the specified is equal to the current . The to compare with the current . true if the specified is equal to the current ; otherwise, false. Serves as a hash function for a particular type. A hash code for the current object. Determines whether each element with the element of another collection is equal or not. The collection to compare to. True if all elements are equal and in the same order; False otherwise. Determines if the element belongs to this collection. The Object to locate in the collection. The value can be a NULL reference (Nothing in Visual Basic). True if item is found in the collection; otherwise, False. Returns the zero-based index of the occurrence of the element in the collection. The element to locate in the collection. The value can be a NULL reference (Nothing in Visual Basic). The zero-based index of the occurrence of the element within the entire collection, if found; otherwise, -1. Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array. The one-dimensional Array that is the destination of the elements copied from ArrayList. The Array must have zero-based indexing. The zero-based index in array at which copying begins. Returns an enumerator for the entire collection. An IEnumerator for the entire collection. Enumerators only allow reading the data in the collection. Enumerators cannot be used to modify the underlying collection. Inserts a GridRowHeight element into the collection at the specified index. The zero-based index at which the element should be inserted. The element to insert. The value must not be a NULL reference (Nothing in Visual Basic). Removes the specified GridRowHeight element from the collection. The GridRowHeight to remove from the collection. If the value is NULL or the element is not contained in the collection, the method will do nothing. Adds an object to the collection. The element to be added to the end of the collection. The value must not be a NULL reference (Nothing in Visual Basic). The new count. Removes the element at the specified index of the collection. The zero-based index of the element to remove. Disposes the object and collection items. Removes all elements from the collection. Inserts an item to the System.Collections.IList at the specified index. The zero-based index at which value should be inserted. The object to insert into the . Removes the first occurrence of a specific object from the System.Collections.IList. The object to remove from the System.Collections.IList. Determines whether the System.Collections.IList contains a specific value. The object to locate in the System.Collections.IList. true if the System.Object is found in the System.Collections.IList; otherwise false. Determines the index of a specific item in the System.Collections.IList. The object to locate in the System.Collections.IList. The index of value if found in the list; otherwise, -1. Adds an item to the System.Collections.IList. The object to add to the System.Collections.IList. The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection. Copies the elements of the System.Collections.ICollection to an System.Array, starting at a particular System.Array index. The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. The System.Array must have zero-based indexing. The zero-based index in array at which copying begins. Returns an enumerator that iterates through a collection. An System.Collections.IEnumerator object that can be used to iterate through the collection. Gets or sets a value indicating whether the collection is modified from its default state. Gets or sets the element at the zero-based index. Gets a value indicating whether the collection is Read-only. Gets a value indicating whether this collection is fixed size. Normally False since this collection has no fixed size. Only when it is Read-only IsFixedSize returns True. Gets a value indicating whether Is Synchronized. Returns False. Gets the number of elements contained in the collection. Gets or sets the element at the specified index. The zero-based index of the element to get or set. The element at the specified index. Gets an object that can be used to synchronize access to the System.Collections.ICollection. Implements the enumerator class for elements of a . Initalizes the enumerator and attaches it to the collection. The parent collection to enumerate. Sets the enumerator to its initial position, which is before the first element in the collection. Determines whether the enumerator moves to the next element of the collection. True if the enumerator was successfully advanced to the next element; False if the enumerator has passed the end of the collection. Gets the current element in the collection. Gets the current element in the collection. Implements the functionalities to manage RowHeights by the . Initializes a new empty instance of class. Initializes a new empty instance of class. Returns a string that represents the current object. A string that represents the current object. Initializes a new instance of class. Row index. Initializes a new instance of class. Row index. Row height. Gets or sets the row height. Gets or sets the RowIndex. Implements the type converter for objects. is a . It overrides the default behavior of the method and adds support for design-time code serialization. Initializes the new instance of the class. Returns whether this converter can convert the object to the specified type, using the specified context. Format context. The type you want to convert to. true if this converter can perform the conversion; otherwise, false. Converts the given value object to the specified type, using the specified context and culture information. Format context. Current culture information. The object to convert. The type to convert the value parameter to. An object that represents the converted value. A collection of properties for the specified type. Format context. The object specifying the type. An array of System.Attribute objects that will be used as a filter. A list of properties. Implements the interface to compare the hidden rows of the grid. Compares the two objects. Object1. Object2. Returns the Row index. Implements a collection of items with information about row hidden state. Returns a string that represents the current object. A string that represents the current object. Initializes the new instance of the class. Initializes the new instance of the class. Initializes the new instance of the class. Hidden rows. Writes the hidden rows to . Writes the values to . Hidden row indexes. Writes the values to . Hidden rows. Writes the values to . Hidden rows collection. Adds multiple GridRowHidden items. The Array with elements that should be added to the end of the collection. The array and its elements cannot be NULL references (Nothing in Visual Basic). Raises the event. A that contains the event data. Raises the event. A that contains the event data. Determines whether the specified is equal to the current . The to compare with the current . true if the specified is equal to the current ; otherwise, false. Serves as a hash function for a particular type. A hash code for the current object. Determines whether each element with the element of another collection is equal or not. The collection to compare to. True if all elements are equal and in the same order; False otherwise. Determines if the element belongs to this collection. The Object to locate in the collection. The value can be a NULL reference (Nothing in Visual Basic). True if item is found in the collection; otherwise, False. Returns the zero-based index of the occurrence of the element in the collection. The element to locate in the collection. The value can be a NULL reference (Nothing in Visual Basic). The zero-based index of the occurrence of the element within the entire collection, if found; otherwise, -1. Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array. The one-dimensional Array that is the destination of the elements copied from ArrayList. The Array must have zero-based indexing. The zero-based index in an array at which copying begins. Returns an enumerator for the entire collection. An IEnumerator for the entire collection. Enumerators only allow reading the data in the collection. Enumerators cannot be used to modify the underlying collection. Inserts a GridRowHidden element into the collection at the specified index. The zero-based index at which the element should be inserted. The element to insert. The value must not be a NULL reference (Nothing in Visual Basic). Removes the specified GridRowHidden element from the collection. The GridRowHidden to remove from the collection. If the value is NULL or the element is not contained in the collection, the method will do nothing. Adds an object to the collection. The element to be added to the end of the collection. The value must not be a NULL reference (Nothing in Visual Basic). The new Count. if is Null. Removes the element at the specified index of the collection. The zero-based index of the element to remove. Disposes the object and collection items. Removes all elements from the collection. Inserts an item to the System.Collections.IList at the specified index. The zero-based index at which value should be inserted. The object to insert into the . Removes the first occurrence of a specific object from the System.Collections.IList. The object to remove from the System.Collections.IList. Determines whether the System.Collections.IList contains a specific value. The object to locate in the System.Collections.IList. true if the System.Object is found in the System.Collections.IList; otherwise false. Determines the index of a specific item in the System.Collections.IList. The object to locate in the System.Collections.IList. The index of value if found in the list; otherwise, -1. Adds an item to the System.Collections.IList. The object to add to the System.Collections.IList. The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection. Copies the elements of the System.Collections.ICollection to an System.Array, starting at a particular System.Array index. The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. The System.Array must have zero-based indexing. The zero-based index in array at which copying begins. Returns an enumerator that iterates through a collection. An System.Collections.IEnumerator object that can be used to iterate through the collection. Gets or sets a value indicating whether the collection is modified from its default state. Gets or sets the element at the zero-based index. Gets a value indicating whether the collection is Read-only. Gets a value indicating whether collection has fixed size. Returns normally False since this collection has no fixed size. Only when it is Read-only IsFixedHide returns True. Gets a value indicating whether is synchronized. Returns False. Gets the number of elements contained in the collection. Gets or sets the element at the specified index. The zero-based index of the element to get or set. The element at the specified index. Gets an object that can be used to synchronize access to the System.Collections.ICollection. Enumerator class for elements of a . Initalizes the enumerator and attaches it to the collection. The parent collection to enumerate. Sets the enumerator to its initial position, which is before the first element in the collection. Determines the enumerator moves to the next element of the collection. True if the enumerator was successfully advanced to the next element; False if the enumerator has passed the end of the collection. Gets the current element in the collection. Gets the current element in the collection. Implements the functionalities to manage RowHiddens by the . Initializes a new empty instance of. Initializes a new empty instance of. Returns a string that represents the current object. A string that represents the current object. Initializes a new instance of. Row index. Gets or sets the RowIndex. Implements the type converter for objects. is a . It overrides the default behavior of the method and adds support for design-time code serialization. Default Constructor. Determines whether this converter can convert the object to the specified type, using the specified context. Format context. The type you want to convert to. true if this converter can perform the conversion; otherwise, false. Converts the given value object to the specified type, using the specified context and culture information. Format context. Current culture information. The value to convert. The type to convert the value parameter to. An object that represents the converted value. Implements the methods to access the spanned cells.Allows to insert,remove,move the spanned ranges. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes a new instance of class. Inserts the rows to grid. The row index at which the rows are inserted. Rows count. Removes the rows from grid. Starting row index. Last row index. Move the rows in a grid. From row index. Last row index. The destination row index to move. Inserts the column to grid. The column index at which the rows are inserted. Rows count. Removes the column from grid. Starting column index. Last column index. Move the column in a grid. From column index. Last column index. The destination column index to move. Implements the GridStyleInfo objects on demand that are returned by the grid model's indexer. GridVolatileData caches the objects and their identity information holding a weak reference to them. GridModel holds a GridData object. This object contains the plain data with style settings specific to a cell. When GridVolatileData creates a style object, it asks the grid to return the cell settings from GridData and then associate these settings with identity information. This allows access to style properties using inheritance from base styles. Identity information also ensures that changes to the style object will be written back correctly to GridData. Attaches the object to the GridModel. The parent grid model that will access style information through this object. Disposes the object and collection items. Looks up a for a given cell type as specified with . Cell type name. Cell model. Empty the cache. Clears cached value for row count. Clears cached value for column count. Gets the cached style information for a specific cell. The cell coordinate. The cached GridStyleInfo; NULL if no cache entry was found. Saves style information to be cached. The cell coordinate. The GridStyleInfo to be cached. Resets cache for a specific cell. The cell coordinates. Resets the cells list. Gets an array that consists of table, row, and column base styles for the specified row and column index. The name of the base style. The maximum number of levels to look at when walking reference base styles. An array that consists of table, row, and column base styles. Gets an array that consists of table, row, and column base styles for the specified row and column index. Cell style information. Row index. Column index. An array that consists of table, row, and column base styles. Gets the base styles map. Gets a reference to the parent grid model. Gets or sets a cached value for row count. Gets a value indicating whether a value for row count has been cached. Gets or sets a cached value for column count. Gets a value indicating whether a value for column count has been cached. Gets or sets at a given row and column index. Gets the cached row styles within GridVolatileData. Gets the cached column styles within GridVolatileData Gets or sets access to a for the table style. Implements cached row styles within GridVolatileData. Gets or sets a at a given row index. Implements the Cached column styles within GridVolatileData. Gives access to a at a given column index. Implements the IMouseController interface to be used with MouseControllerDispatcher. Any Mouse Controller needs to implement the IMouseController interface. In its implementation of MouseController.HitTest, the mouse controller should determine whether your controller wants to handle the mouse events based current context. See MouseControllerDispatcher for further discussion. Initializes a new and attaches it to a grid. The grid control MouseHoverEnter is called when this controller signaled in HitTest that it wants to handle mouse events. MouseHoverEnter is called before the first time MouseHover is called. MouseHover is called when this controller signaled in HitTest that it wants to handle mouse events. MouseHover is called after MouseHoverEnter. A holding event data. MouseHoverLeave is called when hovering ends either because user dragged mouse out of the hit-test area or when context changes (e.g. user pressed the mouse button). A holding event data. MouseDown is called when this controller signaled in HitTest that it wants to handle mouse events and the user pressed the mouse button. MouseDown is called and this controller will become the active controller and receive all subsequent mouse message until the mouse button is released or the mouse operation is cancelled. A holding event data. MouseMove is called for the active controller after a MouseDown message when the user moves the mouse pointer. A holding event data. MouseUp is called for the active controller after a MouseDown message when the user releases the mouse button. A holding event data. CancelMode is called for the active controller after a MouseDown message when the mouse operation is cancelled. HitTest is called to determine whether your controller wants to handle the mouse events based current context. The current winner of the vote is specified through the controller parameter. Your implementation of HitTest can decide if it wants to override the existing vote or leave it. A holding event data.. A that has indicated to handle the mouse event. A non-zero value if the button can and wants to handle the mouse event; 0 if the mouse event is unrelated for this button. Override this method in your and return False if it would interfere with your controller's state when the current cell would be focused and possibly scrolled into view. A (True by default) that indicates if the grid is allowed to set the focus onto the current cells . Gets the name of this mouse controller. Gets the cursor to be displayed. Defines the GridResizingCellMode. Represents None Represents Resize Row Represents Resize Column Implements the dragging of selected rows or columns in a grid control. Override this method in your and return False if it would interfere with your controller's state when the current cell would be focused and possibly scrolled into view. A (True by default) that indicates if the grid is allowed to set the focus onto the current cells . Initializes a new instance of class and attaches it to a grid. The grid control. Determines whether the grid has resize column options. Holds of the grid. True,if grid has resize column behavior.Otherwise false. Determines whether the grid has resize row options. Holds of the grid. True,if grid has resize rows behavior.Otherwise false. Invoked when pressed the left mouse. Holds the coordinates of the mouse location. An that contains the event data. Hit test value. The row index. The column index. Invoked when moved the left mouse. Holds the coordinates of the mouse location. An that contains the event data. Invoked when released the left mouse. Holds the coordinates of the mouse location. An that contains the event data. Invoked when the user double-clicks the left mouse. Holds the coordinates of the mouse location. An that contains the event data. Hit test value. The row index. The column index. Draws the invert rectangle. The object holds the size of the cell rectangle. Indicates whether the cell rectangle could be reset. Draws the Marker rectangle. The object holds the size of the cell rectangle. Indicates whether the cell rectangle could be reset. Determines whether begins resizing the cell in a grid. Row index of cell. Column index of cell. Cell resizing mode. Coordinates of cell. True if the cell could be resized. Moves the Marker. Holds size of the Marker rectangle. Coordinates of the Marker rectangle. Cancel the cell resizing. Ends the cell resizing. Size of the cell rectangle. Coordinates the cell. Updates the row heights in a grid. Starting row index. Last row index. Array of row heights. Updates the column width in a grid. Starting column index. Last column index. Array of column widths. MouseHoverEnter is called when this controller signaled in HitTest that it wants to handle mouse events. MouseHoverEnter is called before the first time MouseHover is called. MouseHover is called when this controller signaled in HitTest that it wants to handle mouse events. MouseHover is called after MouseHoverEnter. A holding event data. MouseHoverLeave is called when hovering ends either because user dragged mouse out of the hit-test area or when context changes (e.g. user pressed the mouse button). A holding event data. MouseDown is called when this controller signaled in HitTest that it wants to handle mouse events and the user pressed the mouse button. MouseDown is called and this controller will become the active controller and receive all subsequent mouse message until the mouse button is released or the mouse operation is cancelled. A holding event data. MouseMove is called for the active controller after a MouseDown message when the user moves the mouse pointer. A holding event data. MouseUp is called for the active controller after a MouseDown message when the user releases the mouse button. A holding event data. CancelMode is called for the active controller after a MouseDown message when the mouse operation is cancelled. HitTest is called to determine whether your controller wants to handle the mouse events based current context. The current winner of the vote is specified through the controller parameter. Your implementation of HitTest can decide if it wants to override the existing vote or leave it. A holding event data.. A that has indicated to handle the mouse event. A non-zero value if the button can and wants to handle the mouse event; 0 if the mouse event is unrelated for this button. Determine whether raises the columns resizing. The object holds the cell range information. Column width. The holds the reason of cell resizing. Coordinates of the cell. True,if did not cancel the resizing. Determine whether raises the rows resizing. The object holds the cell range information. Row height. The holds the reason of cell resizing. Coordinates of the cell. True,if did not cancel the resizing. Gets the . Gets the oldBoundsWindow of . Gets a value indicating whether the rows could be resized or not. Gets a value indicating whether the columns could be resized or not. Gets the name of this mouse controller. Gets the cursor to be displayed. Implements the functionalities to handle the Hit test info of ResizeCells. Initializes the new instance of the class. The values. The Grid control. Coordinates of the cells. The holds the reason of cell resizing. Implements the functionalities to manage the DragWindow. Initializes the new instance of the class. Overridden to draw the DragWindow rectangle. An that contains the event data. Shows the DragWindow. Rectangle bounds of drag window. Holds information for individual borders of a cell. Hides the drag window. Overridden to get the information needed of DragWindow. Gets or sets the borders of a cell. Implements the cell selection behavior of a grid control. Returns a string that represents the current object. A string that represents the current object. Initializes the new instance of the class. The grid control. Invoked when grid current cell is moved. The source of the event. An the that contains the event data. Invoked when grid current cell is activated. The source of the event. An the that contains the event data. Invoked when grid window is scrolled. The source of the event. An the that contains the event data. Override this method in your and return False if it would interfere with your controller's state when the current cell would be focused and possibly scrolled into view. A (True by default) that indicates if the grid is allowed to set the focus onto the current cells . Disposes the unmanaged resources. Determines whether the SelectionChanging event should be raised. The selection range of cells. The object holds the selection reason. True if event is raised.Otherwise false. Determines whether the SelectionChanging event should be raised. The selection range of cells. The object holds the selection reason. The click range. True if event is not canceled.Otherwise false. Raises the method. The selection range of cells. The object holds the selection reason. Raises the method. The selection range of cells. List of old ranges of the cells. The object holds the selection reason. Grids the current cell external move. returns boolean value Begins the cell selection. Row index of current cell. Column index of current cell. Specifies the keys and modifiers. Determines whether the selected cells could be changed. Row index. Column index. True if SelectionChanged event is raised,otherwise false. Ends the cell selection. Sets the current cell. Used internally. Overridden when this controller signaled in HitTest that it wants to handle mouse events. MouseHoverEnter is called before the first time MouseHover is called. Overridden when this controller signaled in HitTest that it wants to handle mouse events. MouseHover is called after MouseHoverEnter. A holding event data. Overrides when hovering ends either because user dragged mouse out of the hit-test area or when context changes (e.g. user pressed the mouse button). A holding event data. Overrides this method when this controller signaled in HitTest that it wants to handle mouse events and the user pressed the mouse button. MouseDown is called and this controller will become the active controller and receive all subsequent mouse message until the mouse button is released or the mouse operation is cancelled. A holding event data. Overrides this method for the active controller after a MouseDown message when the user moves the mouse pointer. A holding event data. Invoked when is raised. The source of the event. An holds the event data. Overrides this method for the active controller after a MouseDown message when the user releases the mouse button. A holding event data. Overrides this method for the active controller after a MouseDown message when the mouse operation is cancelled. Determines whether the mouse button is clicked or not. An holds the event data. True if MouseButton is clicked.Otherwise false. Overrides this method to determine whether your controller wants to handle the mouse events based current context. The current winner of the vote is specified through the controller paramter. Your implementation of HitTest can decide if it wants to override the existing vote or leave it. A holding event data.. A that has indicated to handle the mouse event. A non-zero value if the button can and wants to handle the mouse event; 0 if the mouse event is unrelated for this button. Invoked when the grid model is canceled. The source of the event. An holds the event data. Used to determine whether the operation performed by touch or mouse. Returns true if touch operation performed, otherwise returns false Gets the data. Gets or sets a value indicating whether MultiExtended Should Move CurrentCell. Used internally. Gets the name of this mouse controller. Gets the cursor to be displayed. Implements this class that holds the Mouse-clicked row and column information. Gets the Mouse-clicked cell information in string format. Mouse click information. Implements the functionalities that manages the HitTestInfo of the selection cells. Overridden to get the HitTestInfo of a cell in a string format. Returns the HitTestInfo. Initializes the new instance of the class. The GridControl. An that contains the event data. The mouse controller. Implements a range of cells in the grid. Possible range types are: Row(s), Column(s), Cell(s), Table or Empty. GridRangeInfo is immutable. Represents a with its properties left uninitialized and range type set to GridRangeInfoType.Empty. A range is defined by its coordinates and range type. If uninitialized, the range type is GridRangeInfoType.Empty Initializes a new instance of class. Initializes an empty instance of class. This constructor initializes a new object with empty range type. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Creates an exact copy of this object. The object that this method creates. Copies the all members of . Used internally. Initializes the new instance of the class. Row index. Column index. Initializes the new instance of the class. Top value. Left value. Bottom value. Right value. If ( or ) is equal to MaxValue or ( or ) is Less than zero. Initializes the new instance of the class. Range type of GridRangeInfo. From value. To value. If the from and to value is invalid, the argument exception occurs. Initializes the new instance of the class. Range type of GridRangeInfo. Row or column index. Initializes the new instance of the class. Range type of GridRangeInfo. Initializes the new instance of the class. Range type of GridRangeInfo. Top value. Left value. Bottom value. Right value. If ( or ) is Less than zero. Creates a new object with the specified bounds. The row index of the upper-left corner of the cell range. The column index of the upper-left corner of the cell range. Number of rows to span. Number of columns to span. The new that this method creates. Creates a new object for the specified row and column index. The row index. The column index. The new that this method creates. This example shows how to set the RangeInfo for specified cell. GridRangeInfo cellRange = GridRangeInfo.Cell(4, 5); this.gridControl1.Model.CoveredRanges.Add(cellRange); Dim cellRange As GridRangeInfo = GridRangeInfo.Cell(4, 5) Me.gridControl1.Model.CoveredRanges.Add(cellRange) Creates a new object with the specified bounds. The row index of the upper-left corner of the cell range. The column index of the upper-left corner of the cell range. The row index of the bottom-right corner of the cell range. The column index of the bottom-right corner of the cell range. The new that this method creates. This example shows how to set the RangeInfo for specified cells. GridRangeInfo cellRange = GridRangeInfo.Cells(3, 4, 6, 7); this.gridControl1.Model.CoveredRanges.Add(cellRange); Dim cellRange As GridRangeInfo = GridRangeInfo.Cells(3, 4, 6, 7) Me.gridControl1.Model.CoveredRanges.Add(cellRange) Creates a new object with the specified bounds. The row index of the upper-left corner of the cell range. The column index of the upper-left corner of the cell range. The row index of the bottom-right corner of the cell range. The column index of the bottom-right corner of the cell range. The new that this method creates. Creates a new object for the specified row index. The row index of the cell range. The new that this method creates. This example shows how to set the RangeInfo for specified row. GridRangeInfo cellRange = GridRangeInfo.Row(3); this.gridControl1.Model.CoveredRanges.Add(cellRange); Dim cellRange As GridRangeInfo = GridRangeInfo.Row(3) Me.gridControl1.Model.CoveredRanges.Add(cellRange) Creates a new object for the specified rows. The top row index of the cell range. The bottom row index of the cell range. The new that this method creates. This example shows how to set the RangeInfo for specified rows. GridRangeInfo cellRange = GridRangeInfo.Rows(3, 4); this.gridControl1.Model.CoveredRanges.Add(cellRange); Dim cellRange As GridRangeInfo = GridRangeInfo.Rows(3, 4) Me.gridControl1.Model.CoveredRanges.Add(cellRange) Creates a new object for the specified column. The column index of the cell range. The new that this method creates. This example shows how to set the RangeInfo for specified column. GridRangeInfo cellRange = GridRangeInfo.Col(3); this.gridControl1.Model.CoveredRanges.Add(cellRange); Dim cellRange As GridRangeInfo = GridRangeInfo.Col(3) Me.gridControl1.Model.CoveredRanges.Add(cellRange) Creates a new object for the specified columns. The left column index of the cell range. The right column index of the cell range. The new that this method creates. This example shows how to set the RangeInfo for specified columns. GridRangeInfo cellRange = GridRangeInfo.Cells(3, 4); this.gridControl1.Model.CoveredRanges.Add(cellRange); Dim cellRange As GridRangeInfo = GridRangeInfo.Cells(3, 4) Me.gridControl1.Model.CoveredRanges.Add(cellRange) Returns that is an empty range. An empty range object. Creates a new object for the whole table. The new that this method creates. Creates a new object for the specified row and column. The row index. -1 to create a range of columns or whole table. The column index. -1 to create a range of rows or whole table. If both row and column index are less than zero, a table will be created. If row index is less than zero and column index greater or equal to zero, a column range will be created. If row index is greater or equal to zero and column index less than zero, a row range will be created. Otherwise a cell range is created. The new that this method creates. This example shows how to set the range for the specified row and column. GridRangeInfo cellRange = GridRangeInfo.Auto(4, 5); this.gridControl1.Model.CoveredRanges.Add(cellRange); Dim cellRange As GridRangeInfo = GridRangeInfo.Auto(4, 5) Me.gridControl1.Model.CoveredRanges.Add(cellRange) Creates a new object for the specified rows and columns. The row index. -1 to create a range of columns or whole table. The column index. -1 to create a range of rows or whole table. Bottom row index. Right column index. If both row and column index are less than zero, a table will be created. If row index is less than zero and column index greater or equal to zero, a column range will be created. If row index is greater or equal to zero and column index less than zero, a row range will be created. Otherwise a cell range is created. The new that this method creates. This example shows how to set the range automatically depending on the specified values. GridRangeInfo cellRange = GridRangeInfo.Auto(2, 5, 4, 6); this.gridControl1.Model.CoveredRanges.Add(cellRange); Dim cellRange As GridRangeInfo = GridRangeInfo.Auto(2, 5, 4, 6) Me.gridControl1.Model.CoveredRanges.Add(cellRange) Enumerate through all cells in range object. The row index of the upper-left corner of the cell range. The column index of the upper-left corner of the cell range. This method returns the first cell in the range. This method returns the adjacent cell in the range for the given row and column index. Determines whether the adjacent cell in the range for the given row and column index. The row index. The column index. if an adjacent cell in this object coud be found; otherwise, . Determines whether the adjacent cell in the range for the given row and column index. The row index. The column index. if the range should be traversed by row; if the range should be traversed by column. if an adjacent cell in this object could be found; otherwise, . Convert column and row ranges into cell ranges with the specified bounds. (Could also be done through IntersectRange ... if nFirstRow >= nFirstCol >= 0). / Column ranges will be converted to cell ranges using nFirstRow and nRowCount. Row ranges will be converted to cell ranges using nFirstCol and nColCount. Column ranges will be converted to cell ranges using all input parameters. Row index for the first non-label cell in grid area. Column index for the first non-label cell in grid area. Last row in the grid. Last column in the grid The new that this method creates. Adjusts the location of this range by the specified amount. Amount of rows to offset the location. Amount of columns to offset the location. The new that this method creates. Finds the Range type of GridRangeInfo. The new that this method creates. Determines if this range intersects with . The range to test. The following example creates two cell ranges and tests whether they intersect: GridRangeInfo firstRange = new GridRangeInfo(1, 1, 100, 100); ... if there is any intersection. Determines if this range fully contains all of . The range to test. if range is a subset of this range. Creates a new with the intersection of itself and the specified . Creates a new with the intersection of itself and the specified . The with which to intersect. The following example creates two objects and creates a with their intersection: GridRangeInfo firstRange = new GridRangeInfo(0, 0, 100, 100); The new that this method creates. Creates a new with the intersection of two parameters. The first with which to intersect. The second with which to intersect. The following example creates two objects and creates a with their intersection: GridRangeInfo firstRange = new GridRangeInfo(0, 0, 100, 100); The new that this method creates. Creates a that represents the union of itself and another range. Creates a that represents the union of itself and another range. A range to union. The new that this method creates. Creates a that represents the union of two ranges. A range to union. A range to union with previous range. The new that this method creates. Ensures the RangeType of the GridRangeInfo. Determines whether the rows could be inserted or not. The row index where rows have been inserted. The number of rows that were inserted. Boolean value. Determines whether the columns could be inserted or not. The column index where rows have been inserted. The number of columns that were inserted. Boolean value. Determines whether the rows could be removed or not. Starting row index. Last row index. The new row count in the grid. Boolean value. Determines whether the rows to remove is within rows limit or not. The new row count in the grid. Boolean value. Determines whether the columns could be removed or not. Starting column index. Last column index. The new column count in the grid. Boolean value. Determines whether the columns to remove is within rows limit or not. The new column count in the grid. Boolean value. Determines whether the rows could be moved or not. Staring row. Last row. Destination row index to move. The new row count in the grid. Boolean value. Determines whether the columns could be moved or not. Staring column. Last column. Destination column index to move. The new column count in the grid. Boolean value. Determines whether the specified is equal to the current . The to compare with the current . true if the specified is equal to the current ; otherwise, false. Serves as a hash function for a particular type. A hash code for the current object. Determines whether the given GridRangeInfo objects are equivalent. First GridRangeInfo object to compare. Second GridRangeInfo object to compare. True if they are equivalent; False otherwise. Determines whether the specified GridRangeInfo objects are not equivalent. First GridRangeInfo object to compare. Second GridRangeInfo object to compare. True if they are not equivalent; False otherwise. Determines whether the two range objects are equal or not. The left-hand side of the operator. The right-hand side of the operator. returns boolean. Returns a string in the format "A, B, C, ... AA, AB ..." to be used for column labels. The column index. A string that contains the column label for the column index. Returns a numeric string in the format to be used for row labels. The row index. A string that contains the row label for the row index. Converts the attributes of this to a human-readable string. Converts the attributes of this to a human-readable string. The generate string will be in the format R#C#, R#, C#, T. An example for a range of cells is "R1C1:R10C20" or "R5C5". An example for a range of rows is "R1:R10" or "R6". An example for a range of columns is "C1:C10" or "C7". An example for a table range is "T". A string that contains the column and row index of the top-left and bottom-right position of this . Converts the attributes of this to a human-readable string. The to use to format the value. Is ignored. A string that contains the column and row index of the top-left and bottom-right position of this . A string that contains the column and row index of the top-left and bottom-right position of this . Converts the attributes of this to a human-readable string. The parameter ignored. A string that contains the column and row index of the top-left and bottom-right position of this . A string that contains the column and row index of the top-left and bottom-right position of this . Converts the attributes of this to a human-readable string. The parameter ignored. The to use to format the value. Is ignored. A string that contains the column and row index of the top-left and bottom-right position of this . Creates range object for . The text with text representation of the range. The . If is Invalid range. Creates a range object from a string. The text with text representation of the range. The with coordinates specified in the string. The method parses a string that was previously created with . The string should be in the format R#C#, R#, C#, T. An example for a range of cells is "R1C1:R10C20" or "R5C5". An example for a range of rows is "R1:R10" or "R6". An example for a range of columns is "C1:C10" or "C7". An example for a table range is "T". If is Invalid range. Gets the of this object. Gets a value indicating whether if this represents a table. Gets a value indicating whether if this represents a range of rows. Gets a value indicating whether if this represents a range of columns. Gets a value indicating whether if this represents a range of individual cells. Gets the row index of the upper-left corner of the cell range. Gets the column index of the upper-left corner of the cell range. Gets the row index of the bottom-right corner of the cell range. Gets the column index of the bottom-right corner of the cell range. Gets a value indicating whether this has a of Empty. if is Empty; otherwise, . Gets the width of the range defined by this . Gets the height of the range defined by this . Gets results of ToString method. Implements the methods to compare the rows in a grid. Compares the two objects. The first object value. The second object value. A signed integer that indicates the relative values of x and y. Implements the methods to compare the columns on a grid. Compares the two objects. The First object value. The second object value. A signed integer that indicates the relative values of x and y. Implements the methods that can be used to convert ranges from one data type to another. Access this class through the TypeDescriptor. Initializes the new instance of the class. Determines whether this converter can convert an object of the given type to the type of this converter, using the specified context. Format context. The type you want to convert from. True if this converter can perform the conversion; otherwise, false. Overridden to convert the given object to the type of this converter, using the specified context and culture information. Format context. Current culture information. The object to convert. An that represents the converted value. Overridden to convert the given value object to the specified type, using the specified context and culture information. Format context. Current culture information. The object to convert. The type to convert the value parameter to. An that represents the converted value. Creates an instance of the type that this is associated with, using the specified context, given a set of property values for the object. Format context. A collection of new property values. An representing the given , or null if the object cannot be created. This method always returns null. Determines whether changing a value on this object requires a call to to create a new value, using the specified context. Format context. returns true. Determines a collection of properties for the specified object type. Format context. The object that represents the type. An array of System.Attibute objects that will be used as a filter. A list of properties. Determines whether this object supports properties, using the specified context. Format context. returns true. Implements the functionalities that serializes a GridRangeInfo object into a series of CodeDOM statements. Initializes the new instance of the class. Overridden to de-serialize the specified serialized CodeDOM object into an object. A serialization manager interface that is used during the de-serialization process. A serialized CodeDOM object to de-serialize. The de-serialized CodeDOM object. Overridden to serialize the specified object into a CodeDOM object. The serialization manager to use during serialization. The object to serialize. A CodeDOM object representing the object that has been serialized. If is Not a Range value or Null. If is Null. Gets default. Internal only. Implements the functionalities for GridRangeInfoListEditor form. Initializes the new instance of the class. List of ranges. Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Overridden to get the current active control and call the method to raise the event. An that contains the event data. Invoked when GridDataBoundGrid's CurrentCellKeyDown event is raised. The source of the event. An that contains the event data. Invoked when GridDataBoundGrid's KeyDown event is raised. The source of the event. An that contains the event data. Implements the class to get the item. Initializes the new instance of the class. The object holds the cell range information. Initializes the new instance of the class. Gets the range object from a string. Gets or sets the . Implements this class to maintain in a list. Implements the data or model part of the GridRangeInfo cell. Initializes the new instance of the class. Overridden to create the cell renderer for GridRangeInfoCellModel. Grid control. Cell renderer for . Implements the renderer part of the GridRangeInfo cell. Initializes the new instance of the class. Grid control. Cell model of GridRangeInfo cell. Overridden to initialize the dropdown container and add the controls to dropdown container. Occurs when the drop-down container is about to be shown. The source of the event. An that contains the event data. Overridden to indicate that the popup child was closed. Source of the event. An that contains the event data. Determines whether specified control is part of the Popup hierarchy. A control instance. True indicates this query should be passed to the IPopupParent, if any; False indicates you should not query the popup parent. True if the control is part of the popup hierarchy; False if not. Occurs when saves the control. The source of the event. An holds the event data. Occurs when cancel the control. The source of the event. An holds the event data. Overridden to call to initialize the current cell. Specifies row id. Specifies column id. Gets the DropDownContainer. Implements the functionalities to create the dropdown user control by . Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Initializes the new instance of the class. The range of dropdown control. Invoked when PropertyGrid's property value is changed. The source of the event. An holds the event data. Invoked when user clicks the Ok button. The source of the event. An holds the event data. Invoked when user clicks the Cancel button. The source of the event. An holds the event data. Sets the Object value from a string. String value. Returns the in string format. value. Gets or sets the . Implements a collection of objects. An empty and Read-only list. Initializes a new instance of class. Initializes a new empty instance of class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Adds elements from an array to the range list. An array of objects. Adds to the end of the . The to be added to the list. The index of the new element. Inserts a at a specified position. The index where the value should be inserted. The value to be inserted. Returns the position of a specific range in the list that equals a specified range. The range to be searched for. The position of the range; - 1 if not found. Determines if the range list contains a range object that equals the specified range. The range to be searched for. True if range was found; False if not found. Removes a specific range from the range list. The range to be removed. Copies all range objects into an array of starting at specified index. Copies all range objects into an array of starting at specified index. The array of where the values should be copied to. The starting index in the destination array. Copies all range objects into an array of starting at specified index. The array of where the values should be copied to. The starting index in the destination array. Copies all range objects into a starting at specified index. The where the values should be copied to. The starting index in the destination list. Creates a new object that is a copy of the current instance. A new object that is a copy of this instance. Makes an exact copy of the current object. A with duplicated objects. Removes any empty ranges from the . Searches for ranges in the that contain a specified range. The range to be searched for. The with ranges that match the criteria. Searches for ranges in the that intersect with a specified range. The range to be searched for. The with ranges that match the criteria. Searches for ranges in the that are contained in a specified range. The range to be searched for. The with ranges that match the criteria. Returns a that spans over all ranges that intersect with a specified range. The range to be searched for. A that contains the original and the outer bounds of all ranges that intersect with . Returns a that spans within all ranges that intersect with a specified range. The range to be searched for. A that contains the original and the inner bounds of all ranges that intersect with . Determines if a range in the range list contains the specified range. The range to be searched for. True if any range contains the specified range. Determines if a range in the range list intersects with the specified range. The range to be searched for. True if any range contains the specified range. Updates the range list when rows have been inserted in the grid. The row index where rows have been inserted. The number of rows that were inserted. Updates the range list when columns have been inserted in the grid. The column index where columns have been inserted. The number of columns that were inserted. Updates the range list when rows were removed from the grid. The first row index. The last row index. The new row count in the grid. Ensures the new row count is within rows limit. The new row count in the grid. Updates the range list when columns were removed from the grid. The first column index. The last column index. The new column count in the grid. Ensures the new column count is within columns limit. The new column count in the grid. Updates the range list when rows were moved in the grid. The first row index. The last row index. The destination row index. The new row count in the grid. Updates the range list when columns were moved in the grid. The first column index. The last column index. The destination column index. The new column count in the grid. Returns a range list with ranges that match a specified . The to search for. A with ranges that match the above criteria. Creates a range list and convert column and row ranges into cell ranges with the specified bounds. Row index for the first non-label cell in grid area. Column index for the first non-label cell in grid area. Last row in the grid. Last column in the grid The with new objects that this method creates. / Column ranges will be converted to cell ranges using nFirstRow and nRowCount. Row ranges will be converted to cell ranges using nFirstCol and nColCount. Column ranges will be converted to cell ranges using all input parameters. Creates a range list with column ranges that match a specified criteria. The filter criteria. The range list with column ranges. Use rangeList.GetColRanges(GridRangeInfoType.Cells|GridRangeInfoType.Cols); if you want to get column ranges for both ranges that are cells or column ranges. Use rangeList.GetColRanges(GridRangeInfoType.Cols); if you only want to get column ranges and not cell ranges. Neighboring ranges will be combined if they intersect or have the same border (e.g. C4:C5 and C6:C7 will be combined into C4:C7). Creates a range list with row ranges that match a specified criteria. The filter criteria. The range list with row ranges. Use rangeList.GetRowRanges(GridRangeInfoType.Cells|GridRangeInfoType.Rows); if you want to get row ranges for both ranges that are cells or row ranges. Use rangeList.GetRowRanges(GridRangeInfoType.Rows); if you only want to get row ranges and not cell ranges. Neighboring ranges will be combined if they intersect or have the same border (e.g. R4:R5 and R6:R7 will be combined into R4:R7). Returns the range list from a string. The text to be parsed. The with range objects described in the string. Creates a range list from a string with comma separated range descriptions. The text to be parsed. The with range objects described in the string. The method parses a string that was previously created with . Converts the ranges of this to a comma separated human-readable string. Converts the ranges of this to a comma separated human-readable string. The generate string will be in the format R#C#, R#, C#, T. An example for a range of cells is "R1C1:R10C20" or "R5C5". An example for a range of rows is "R1:R10" or "R6". An example for a range of columns is "C1:C10" or "C7". An example for a table range is "T". Each range object will be comma separated. For example: "R3:R5,R8:R10,R14:R15". A string that contains the column and row index of the top-left and bottom-right position of this . Converts the ranges of this to a comma separated human-readable string. The to use to format the value. Is ignored. A string that contains the column and row index of the top-left and bottom-right position of this . Converts the ranges of this to a comma separated human-readable string. The string Ignored. A string that contains the column and row index of the top-left and bottom-right position of this . Converts the ranges of this to a comma separated human-readable string. The string Ignored. The to use to format the value. Is ignored. A string that contains the column and row index of the top-left and bottom-right position of this . Gets or sets the at a specific index. Gets the last range in the range list. Gets the results of ToString method. Implements the methods that can be used to convert a range list to a string or vice versa. Access this class through the TypeDescriptor. Initializes the new instance of the class. Determines whether this converter can convert an object of the given type to the type of this converter, using the specified context. Format context. The type you want to convert from. true if this converter can perform the conversion; otherwise, false. Overridden to convert the given object to the type of this converter, using the specified context and culture information. Format context. Current culture information. The object to convert. An object that represents the converted value. Defines the range type for a . Range is empty. Range of cells. Range with rows. Range with columns. Range is a whole table. GridNonImmutableRangeInfo is derived from and lets you change Top, Left, Bottom, and Right properties of the object. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a deep copy of the object. A duplicate of the current object. Returns a new based on the object. The new GridRangeInfo. Initializes an empty instance of class. Initializes a new instance of and copies data from an existing . A that holds data to be copied from. Gets or sets the GridRangeInfoType for this GridRangeInfo object. Gets or sets the top row index of the range. Gets or sets the left column index of the range. Gets or sets the bottom row index of the range. Gets or sets the right column index of the range. Implements a collection that stores '' objects. Initializes a new instance of class. Initializes a new instance of class based on an already existing instance. A class from which the contents is copied Initializes a new instance of class with an array of 'GridNonImmutableRangeInfo' objects. An array of objects with which to initialize the collection Adds a item with the specified value to the 'GridNonImmutableRangeInfoCollection' The to add. The index at which the new element was inserted. Copies the elements of an array at the end of this instance of ''. An array of '' objects to add to the collection. Adds the contents of another at the end of this instance. A containing the objects to add to the collection. Gets a value indicating whether the contains the specified value. The item to locate. True if the item exists in the collection; false otherwise. Copies the values to a one-dimensional System.Array instance starting at the specified array index. The one-dimensional System.Array that represents the copy destination. The index in the array where copying begins. Returns the index of a object in the collection. The object whose index will be retrieved. If found, the index of the value; otherwise, -1. Inserts an existing into the collection at the specified index. The zero-based index where the new item should be inserted. The item to insert. Returns an enumerator that can be used to iterate through the . An enumerator. Removes a specific item from the 'GridNonImmutableRangeInfoCollection'. The item to remove from the 'GridNonImmutableRangeInfoCollection'. TODO: Describe what custom processing this method does before setting an item in the collection TODO: Describe what custom processing this method does before inserting a new item in the collection Gets or sets the item at the specified index position. The zero-based index of the entry to locate in the collection. The entry at the specified index of the collection. Implements a strongly typed enumerator for . Initializes the new instance of the class. A list of GridNonImmutableRangeInfo objects. Determines whether the enumerator moves to the next element of the collection True if next element exists. Determines whether the enumerator moves to the next element of the collection True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. The collection was modified after the enumerator was created. Sets the enumerator to the first element in the collection Sets the enumerator to the first element in the collection Gets the current element from the collection (strongly typed) Gets the current element from the collection Implements the functionalities that provides default cursors for the grid. Initializes the new instance of the class. Gets the specified cursor. The cursor name. The object. Gets or sets cursor for resizing columns. Gets or sets cursor for resizing rows. Gets or sets cursor for selecting columns. Gets or sets cursor for selecting rows. Gets or sets cursor for selecting rows. Gets or sets cursor for dragging a selection of columns or rows. Implements the functionalities that encapsulates the painting logic for a triangle. Initializes the new instance of the class. Paints a triangle to a given graphics canvas. The context of the canvas. The with the bounds. The which indicates the sort order. Brush to paint the inner region of the triangle. Pen 1 to draw a triangle boundary. Pen 2 to draw a triangle boundary. Pen 3 to draw a triangle boundary. Specifies if the triangle should be drawn transparent. Paints a triangle to a given graphics canvas. The context of the canvas. The with the bounds. The which indicates the sort order. Brush to paint the inner region of the triangle. Pen to draw a triangle boundary. Specifies if the triangle should be drawn transparent. Paints a triangle to a given graphics canvas. The context of the canvas. The with the bounds. The which indicates the sort order. Brush to paint the inner region of the triangle. Pen to draw a triangle boundary. Creates the Triangle points. Specifies the direction of Triangle. The with the bounds. Triangle points. Creates the Offset points. Array of triangle points. X-Coordinate. Y-Coordinate. Implements the data or model part of a column header with sort indicator. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new instance of class. Initializes a new instance of class and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new instance of class from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Overridden to get the style formatted text from method. The object that holds cell information. The value to format. textInfo is a hint who is calling, default is GridCellBaseTextInfo.DisplayText. The formatted test for the gives value. Creates a renderer for this cell model. The grid control. Cell renderer. Overridden to calculate the preferred size of the cell based on its contents without margins and any buttons. The context of the canvas. The row index. The column index. The object that holds cell information. graphical bounds The optimal size of the cell. Implements the renderer part of a column header with sort indicator. The header cell is XP Themes enabled. It will be drawn themed if is True. The registers "ColumnHeaderCell" as identifier in of a cell's to associate this cell type with a cell. The sort indicator is defined through the of a cell's . The will be cast to . A renderer is created for each and . There can be several renderers associated with one if several views display the same . The following table lists some characteristics about the SortColumnHeader cell type: Item Description CellType SortColumnHeaderCell Renderer Model XP Themes Support Yes Interactive Click Only Floating Support No Base Type The cell's behavior and appearance can be customized with the following properties of the class. PropertyName Description () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () When set to , the header will be drawn with slightly raised edges typical for cell headers. If the grid is XP Themes enabled, the headers will be drawn with XP Themes look. If you specify Sunken or Raised, the header will be drawn with sunken or raised edges and not XP Themed. (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () ColumnHeaderCell (Default: Text Box) () If empty, the standard header text will be drawn as specified with the and properties in . If is not NULL, the cell value will be displayed as header text. (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () The culture information holds rules for parsing and formatting the cell's value. (Default: NULL) () Specifies if the header cell can be activated as current cell when the user clicks onto the header. Usually you do not want a header to be activated as current cell unless you want to have editing capabilities such as allowing user to rename header text in place. (You would have to implement a custom header cell for this.) (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () The font for drawing text. (Default: GridFontInfo.Default) () Gets / sets the format mask for formatting the cell value. You can specify numeric format strings, date format strings, or enumeration format strings as discussed in the section "Format Specifiers and Format Providers" of the .NET Framework Developers Guide (see ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconformatspecifiersformatproviders.htm) (Default: String.Empty) () Specifies horizontal alignment of text in the cell. (Default: GridHorizontalAlignment.Left) () Specifies how hot-key prefixes should be displayed. Hot-keys are indicated in text with an '&' (ampersand). When you enable hot-key prefix, the specific characters can be displayed underlined or regular. The '&' will not be displayed. (Default: HotkeyPrefix.Show) () Specifies an index for an image in the of a instance. (Default: -1) () The that holds a collection of images. Cells can choose images with the property in a instance. (Default: NULL) () Lets you specify a solid backcolor, gradient, or pattern style with both back and forecolor for a cell's background. If grid is XP Themes enabled, this color will be ignored and the header will be drawn with default XP Themes header background. (Default: SystemColors.Window) () Specifies merge behavior for an individual cell when merging cells' features have been enabled in a with . (Default: GridMergeCellDirection.None) () The sort indicator is defined through the of a cell's . The will be cast to . (Default: NULL) () If empty, the standard header text will be drawn as specified with the and properties in . If is not NULL, the cell value will be displayed as header text. (Default: String.Empty) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the client rectangle of the cell without borders and cell buttons. (Default: GridMarginsInfo.Default) () Specifies if cell should be drawn using Windows XP themes when has been set. (Default: True) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Specifies vertical alignment of text in the cell. (Default: GridVerticalAlignment.Top) () Specifies if text should be wrapped when it does not fit into a single line. (Default: true) Initializes a new instance of object for the given and . The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Overridden to draw the display text of header cell and draw the triangle. Points to the device context. Specifies the text rectangle. It is the cell rectangle without buttons, borders, or text margins. Specifies the row id. Specifies the column id. A reference to the style object of the cell. Overrides when user clicked inside a cell. The row index. The column index. A with data about the mouse event. Implements the methods to access the GridSort information. Internal only. Internal only. Defines the direction of a triangle when drawing triangle with . A triangle pointing up. A triangle pointing down. A triangle pointing to the left. A triangle pointing to the right. Provides a collection editor that is tailored to adding, removing, and changing base styles from the in a . The following code shows the in a dialog using the method of the class: GridControlBase grid = ActiveGrid; if (grid != null) { GridBaseStylesMap.ShowGridBaseStylesMapDialog(grid.Model, "BaseStylesMap"); grid.Model.Refresh(); } Initializes a new instances of the with a type to create instances for collection items. Type for collection item. Overrides and gets the data type that this collection contains. The data type of the items in the collection, or an if no Item property can be located on the collection. Indicates whether original members of the collection can be removed. The value to remove. IfTrueRemoves this value from the collection;Otherwise False. The default value isTrue. Overrides and creates a new instance of the specified collection item type. The type of item to create. A new instance of the specified object. Overrides and edits the value of the specified object using the specified service provider and context. An that can be used to gain additional context information. A service provider object through which editing services can be obtained. The object to edit the value of. The new value of the object. If the value of the object has not changed, this should return the same object it was passed. Gets the edited value of the object. The context. The provider. The value. GridBaseStyleMap object. Overrides and creates a new form to display and edit the current collection. A to provide as the user interface for editing the collection. Defines a class that provides a type converter to convert expandable objects to and from various other representations. Initializes anew instance of the class with the specified ExpandableObjectConverter. Overrides and gets a value indicating whether this converter can convert an object to the given destination type using the context. Format context. Target type. IfTrueConversion is possible;Otherwise False. Overrides and converts the given value object to the specified destination type using the specified context and arguments. Format context. Culture information. Value to convert. Target type. Converted object. Defines a class for the property of the class. This calls for registered base styles in the and displayed them in a drop-down list in a . Initializes a new instances of the class. Overrides and returns whether this converter can convert an object of the given type to the type of this converter, using the specified context. An that provides a format context. A that represents the type you want to convert from. IfTrueThe conversion is performed;Otherwise False. Overrides and converts the given object to the type of this converter, using the specified context and culture information. Format context. Current culture information. The object to convert. Converted value. Overrides and returns a collection of standard values for the data type this type converter is designed for when provided with a format context. An that provides a format context that can be used to extract additional information about the environment from which this converter is invoked. This parameter or properties of this parameter can be null. A that holds a standard set of valid values, or null if the data type does not support a standard set of values. Overrides and returns whether the collection of standard values returned from is an exclusive list of possible values, using the specified context. An that provides a format context. TrueIf the returned from is an exhaustive list of possible values; OtherwiseFalse for other values. Overrides and returns whether this object supports a standard set of values that can be picked from a list, using the specified context. An that provides a format context. TrueIf the should be called to find a common set of values the object supports;Otherwise False. Implements this class that provides the identity information of GridBaseStyles using . Disposes the unmanaged resources. Initializes the new instance of the class. Collection of bases styles. Returns an array with base styles for the specified style object. The style object. An array of style objects that are base styles for the current style object. Returns a that represents the current . A that represents the current . Overrides when base style of a grid is changed. A reference to the object. The that identifies the changed style property. Gets the . Gets of ToString method. Implements the functionalities that represents base styles in the grid. A base style has a name and holds the object with style information. Cells in the grid can reference a base style with . The grid has four system-defined base styles: NameDescriptions StandardHolds cell information for all cells. HeaderHolds cell information for row and column headers. Row HeaderHolds cell information specific to row headers. Column HeaderHolds cell information specific to column headers. You can format each cell in the grid individually, but settings that have not been initialized will be inherited from a base style whereas the standard style is the style that any cell will inherit information from. You can register custom base styles with the map that you can access with . Base styles themselves can be inherited from other base styles. The "Row Header" base style is derived from the "Header" base style for example. The following example shows how to modify base styles and how to add a new custom base style: GridStyleInfo standard = model.BaseStylesMap["Standard"].StyleInfo; GridStyleInfo header = model.BaseStylesMap["Header"].StyleInfo; GridStyleInfo rowHeader = model.BaseStylesMap["Row Header"].StyleInfo; GridStyleInfo colHeader = model.BaseStylesMap["Column Header"].StyleInfo; standard.TextColor = Color.FromArgb(0, 21, 84); header.Interior = new BrushInfo(GradientStyle.Vertical, Color.FromArgb(238, 234, 216), Color.FromArgb(203, 199, 184)); rowHeader.Interior = new BrushInfo(GradientStyle.Horizontal, Color.FromArgb(238, 234, 216), Color.FromArgb(203, 199, 184)); standard.Font.Facename = "Helvetica"; standard.Interior = new BrushInfo(Color.FromArgb(237, 240, 247)); GridStyleInfo customStyle = model.BaseStylesMap["Custom Style"].StyleInfo; standard.Interior = new BrushInfo(Color.Green); model[1, 1].BaseStyle = "Custom Style"; Initializes a new instance of class. Initializes a new instance of class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Initializes a new instance of with name and style information and associates it with a base styles map. The name of the base style. True if this is a system base style that cannot be deleted; False otherwise. A with style settings. The for this base style. Initializes a new instance of with name and style information. The name of the base style. True if this is a system base style that cannot be deleted; False otherwise. A with style settings. Initializes a new instance of with name and style information. The name of the base style. True if this is a system base style that cannot be deleted; False otherwise. A with style settings. Initializes a new instance of with a name. The name of the base style. True if this is a system base style that cannot be deleted; False otherwise. Disposes the unmanaged resources. Creates a new object and copies all properties from this object. The new created object. Returns a string holding the current object. String representation of the current object. Invoked when of a grid changed. The source of the event. An holds the event data. Determines whether the style info of a grid should be serialized or not. True,if style info has exist. Gets or sets the base style name. Gets a value indicating whether this system style can be removed or not. Gets or sets the this base style belongs to. Gets or sets the with style settings for this base style. The returned by this property is simply a wrapper for the settings in . Gets or sets the with style settings for this base style. Implements the functionalities that holds a collection of base styles for a grid and lets you add, remove, and change base styles. A base style has a name and holds the object with style information. Cells in the grid can reference a base style with . The grid has four system-defined base styles as discussed in overview. The method adds these system styles to the collection. You can register custom base styles with the map that you can access with . Use to let users customize base styles at run-time. The following example shows how to modify base styles and how to add a new custom base style: GridStyleInfo standard = model.BaseStylesMap["Standard"].StyleInfo; GridStyleInfo header = model.BaseStylesMap["Header"].StyleInfo; GridStyleInfo rowHeader = model.BaseStylesMap["Row Header"].StyleInfo; GridStyleInfo colHeader = model.BaseStylesMap["Column Header"].StyleInfo; standard.TextColor = Color.FromArgb(0, 21, 84); header.Interior = new BrushInfo(GradientStyle.Vertical, Color.FromArgb(238, 234, 216), Color.FromArgb(203, 199, 184)); rowHeader.Interior = new BrushInfo(GradientStyle.Horizontal, Color.FromArgb(238, 234, 216), Color.FromArgb(203, 199, 184)); standard.Font.Facename = "Helvetica"; standard.Interior = new BrushInfo(Color.FromArgb(237, 240, 247)); GridStyleInfo customStyle = model.BaseStylesMap["Custom Style"].StyleInfo; standard.Interior = new BrushInfo(Color.Green); model[1, 1].BaseStyle = "Custom Style"; Initializes a new instance of class. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Returns a that represents the current . A that represents the current . 2 Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Shows a dialog with a collection editor that allows the end-user to add and remove base styles. The instance with a property that references a . The name of the property, e.g. "BaseStylesMap". The . Shows a dialog with a collection editor that allows the end-user to add and remove base styles. The instance with a property that references a . The name of the property, e.g. "BaseStylesMap". A IServiceProvider. Can be NULL. The . Initializes a new instance of. Initializes a new instance of and copies an array of base styles. An array with styles. Creates a new instance and initializes it with all base styles from this collection. The new GridBaseStylesMap object. Disposes the unmanaged resources. Copies a base style and all base styles it depends on into an array. The name of the base style. The maximum number of levels to look at when walking referenced base styles. An array of objects with the first base style and all base styles it depends on. Performs the end update operation. Indicates whether notify the pending. invoked when style is added to GridBaseStyle. Base styles of grid. Invoked when base style of grid is changed. Base styles of grid. Invoked when removed the base style with the specified name. The name of the base style to be removed. Adds "Standard", "Header", "Row Header", and "Column Header" base styles. Gets a suggestion for a new base style name, e.g. when the user adds a new base style in the . A string for a new base style name. Adds a base style to the . The base style to be added. Removes the base style with the specified name. The name of the base style to be removed. Adds a range of base styles to the . Array of base styles. Copies the base style collection elements to a one-dimensional Array instance at the specified index. Copies the base style collection elements to a one-dimensional Array instance at the specified index. The Array. Index to copy. Copies all base styles into an array of starting at specified index. The array of where the values should be copied to. The starting index in the destination array. Returns an enumerator that can enumerate through the base styles object in this collection. An enumerator. Gets or sets the for Standard style. Gets or sets the for Header style. Gets or sets the for column header style. Gets or sets the for row header style. Gets an will cell type names as strings. Gets a value indicating whether the base style is updating or not. Gets or sets a value indicating whether to modify property(bool) Gets a value indicating whether in CollectionEditor. For internal use. Gets or sets the for the specified name. The name of the base style. Gets or sets a at the specified index. The index of the base style. Gets the number of base styles in the . Gets an object that can be used to synchronize access to base styles table. Gets a value indicating whether the base styles collection is Read-only. Gets a value indicating whether the base styles collection is synchronized. Gets the Array list values. Implements the functionalities that holds the base style information for a cell. Implements the functionalities that holds all information stored for a cell. GridStyleInfo provides user-friendly access to all properties stored in GridStyleInfoStore. It also has Identity information and can inherit properties from base styles (row styles, column styles, table style). provides a very simple way to query and change cell contents using the indexer. A cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () Gets / sets if pressing the <Enter>-Key should insert a new line into the edited text. (Default: False) () Gets / sets if the cell height should automatically increase when the edited text does not fit into the cell and is True. If is False, will affect the column width. (Default: False) () Gets / sets the image that the cell displays as background. (Default: NULL) () Indicates how the background image is displayed. (Default: GridBackgroundImageMode) () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () The cell type for this style instance. Cell types are accessed in the grid through the property of a which returns a object. To access cell renderers, use the property of a instance. (Default: Text Box) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () Specifies if cell control modifies the case of characters as they are typed when the cell's is "OriginalTextBox". (Default: CharacterCasing.Normal) () Gets / sets flat look and values that represent checked, unchecked, and indeterminate state of the check box. (Default: NULL) () Specifies items to be displayed in a drop-down list. (Default: NULL) () Specifies if the user can click on any cell button elements in this renderer. (Default: true) () A custom control you can associate with a cell. (Default: null) () The culture information holds rules for parsing and formatting the cells value. (Default: null) () A nested object with currency text box properties for a cell. (Default: GridCurrencyEditInfo.Default) () Specifies a data source that holds items to be displayed in a drop-down list. A data source can be specified instead of manually filling the choicelist with string entries. (Default: NULL) () Gets / sets the text that is shown in check box or pushbuttons. (Default: String.Empty) () Names the property in the that holds the text to be displayed in a cell that depends on a . (Default: String.Empty) () Specifies if user input is restricted to items from the or . (Default: GridDropDownStyle.Editable) () Specifies if the cell can be activated as current cell or if the cell should be skipped when moving the current cell. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () Specifies if user input is restricted to items from the or . (Default: False) () Gets / sets if text can float into the boundaries of a neighboring cell. (Default: True) () Gets / sets if this cell can be flooded by a previous cell. (Default: True) () The font for drawing text. (Default: GridFontInfo.Default) () Gets / sets the format mask for formatting the cell value. You can specify numeric format strings, date format strings, or enumeration format strings as discussed in the section "Format Specifiers and Format Providers" of the .NET Framework Developers Guide (see ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconformatspecifiersformatproviders.htm) (Default: String.Empty) () A formula tag that is associated with a cell. (Default: NULL) () Specifies horizontal alignment of text in the cell. (Default: GridHorizontalAlignment.Left) () Specifies how hot-key prefixes should be displayed. Hot-keys are indicated in text with an '&' (ampersand). When you enable hot-key prefix, the specific characters can be displayed underlined or regular. The '&' will not be displayed. (Default: HotkeyPrefix.Show) () Specifies an index for an image in the of a instance. (Default: -1) () The that holds a collection of images. Cells can choose images with the property in a instance. (Default: NULL) () Lets you specify a solid back color, gradient, or pattern style with both back and fore color for a cell's background. (Default: SystemColors.Window) () A nested object with masked edit properties for a cell. (Default: GridMaskEditInfo.Default) () Limits the number of characters the user can type into the cell. Note: When selecting text from a choice list or when pasting text, the text can be longer. Additional validation is necessary on your side. (Default: 0) () Specifies merge behavior for an individual cell when merging cells feature has been enabled in a with . (Default: GridMergeCellDirection.None) () lets you specify the step, minimum, and maximum value and if the value should start over when you reach the maximum value. (Default: NULL) () The character used to mask characters of a password in a password-entry cell. The cell's must be "OriginalTextBox". (Default: Blank) () A nested object with ProgressBar properties for a cell. Default: GridProgressBarInfo.Default) () Specifies if cell contents can be modified by the user. You can programatically change Read-only cells by setting to True. (Default: False) () Specifies when to show or display the cell buttons. Possible choices are: show the button only for the current cell, always show buttons, or never show buttons. (Default: GridShowButtons.Show) () Indicates whether an exception should be thrown in the method if the formatted text can not be parsed and converted to the type specified with . (Default: True) () A custom tag you can associate with a cell. (Default: NULL) () Gets / sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using any information. (Default: String.Empty) () Align text left of button elements (which is typical for combo boxes). Or align text right of button elements. (Default: GridTextAlign.Default) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the client rectangle of the cell without borders and cell buttons. (Default: GridMarginsInfo.Default) () Specifies if cell should be drawn using Windows XP themes when has been set. (Default: True) () Specifies if this is a Tristate check box that has an additional indeterminate state. (Default: False) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Holds validation rules for the cell value that are being checked before any user changes are committed to the grid cells style object. (Default: NULL) () Gets / sets a string that specifies the property of the data source from which to draw the value. (Default: String.Empty) () Specifies vertical alignment of text in the cell. (Default: GridVerticalAlignment.Top) () Specifies if text box should show a vertical scrollbar when text is being edited and does not fit in cell. WrapText must be initialized to True. (Default: False) () Specifies if text should be wrapped when it does not fit into a single line. (Default: True) The following example makes some changes to the grid using the indexer: model[2, 2].Text = "Grid Demo"; model[2, 2].Font.Bold = True; model[2, 2].Font.Size = 16; model[2, 2].HorizontalAlignment = GridHorizontalAlignment.Center; model[2, 2].VerticalAlignment = GridVerticalAlignment.Middle; model[2, 2].CellType = "Static"; model[2, 2].Borders.All = new GridBorder(GridBorderStyle.Solid, Color.FromArgb(100, 238, 122, 3)); model[2, 2].Interior = new BrushInfo(GradientStyle.PathEllipse, Color.FromArgb(100, 57, 73, 122), Color.FromArgb(237, 240, 247)); If you query for specific attributes in a cell and these attributes have not been explicitly set for the cell, the object that is return by the indexer is smart enough to query base styles for queried information. GridStyleInfo standard = model.BaseStylesMap["Standard"].StyleInfo; standard.TextColor = Color.FromArgb(0, 21, 84); Color color = model[1, 1].TextColor; // model[1, 1].TextColor will return Color.FromArgb(0, 21, 84)); An empty style object. Initializes the new instance of the class. Initializes the new instance of the class. Initializes the new instance of the class and copies all data from an existing style object. The style object that contains the original data. Initializes the new instance of the class and associates it with an existing . A that holds data for this . All changes in this style object will be saved in the object. Initializes the new instance of the class and associates it with an existing . A that holds the identity for this . Initializes the new instance of the class object and associates it with an existing . A that holds the identity for this . A that holds data for this . All changes in this style object will be saved in the object. Initializes the new instance of the class and associates it with an existing . A that holds the identity for this . A that holds data for this . All changes in this style object will be saved in the object. set the bool value for cacheValues Returns the for this style or NULL if style is used outside a grid model. The this style belongs to or NULL. This example shows how to get the GridModel. //Get the grid model. GridModel model = this.gridControl1.TableStyle.GetGridModel(); 'Get the grid model. Dim model As GridModel= Me.gridControl1.TableStyle.GetGridModel() Returns the for this style or NULL if style is used outside a grid model. The active for the grid model this style belongs to or NULL. Overridden to apply the specified changes to the style object. The style object to modify. Defines the style operations for the given style object. Overridden to create a product-specific identity object for the sub object. StyleInfoProperty descriptor for this sub object. Identity for the sub object. Creates a new and copies its cell and identity information from the current object. The new instance will be made offline so that changes in this style object are not be stored in the GridData A new instance. Lets a style object load base styles and default values but disables saving changes back to the grid. (see OnStyleChanged below) Determines whether the custom properties should be serialized or not. True,if Custom properties count greater than zero.Otherwise false. Overridden when identity object that a specific property was changed. The that identifies the changed style property. Override this method to return a default style object for your derived class. A default style object. Resets font information. Determines whether the font should be serialized or not. True if GridStyleInfoStore has the font property. Determines whether the style is based on row or column. The object holds the cell information. Returns boolean value. Resets the borders information. Determines whether the borders should be serialized or not. True if GridStyleInfoStore has the BordersProperty. Resets interior information. Determines whether the back color should be serialized or not. True if interior is serialized,Otherwise false. Resets the back to default. Resets text color information. Determines whether the text color should be serialized or not. True if GridStyleInfoStore has the TextColorProperty, Otherwise false. Resets Read-only information. Determines whether the read_only property should be serialized or not. True if GridStyleInfoStore has the ReadOnlyProperty, Otherwise false. Resets Read-only information. Determines whether the right to left property should be serialized or not. True if GridStyleInfoStore has the RightToLeft, Otherwise false. Resets Read-only information. Determines whether the theme should be serialized or not. True if GridStyleInfoStore has the ThemedProperty, Otherwise false. Resets the clickable information. Determines whether the clickable property should be serialized or not. True if GridStyleInfoStore has the ClickableProperty, Otherwise false. Resets the property. Determines whether the hotkey prefix property should be serialized or not. True if GridStyleInfoStore has the HotkeyPrefixProperty, Otherwise false. Resets . Determines whether the trimming property should be serialized or not. True if GridStyleInfoStore has the TrimmingProperty, Otherwise false. Resets . Determines whether the horizontal alignment should be serialized or not. True if GridStyleInfoStore has the HorizontalAlignmentProperty, Otherwise false. Resets . Determines whether the character case should be serialized or not. True if GridStyleInfoStore has the CharacterCasingProperty, Otherwise false. Resets . Determines whether the vertical alignment should be serialized or not. True if GridStyleInfoStore has the VerticalAlignmentProperty, Otherwise false. Resets . Determines whether the radio buttons should be serialized or not. True if GridStyleInfoStore has the RadioButtonAlignmentProperty, Otherwise false. Resets . Determines whether the text alignment should be serialized or not. True if GridStyleInfoStore has the TextAlignProperty, Otherwise false. Resets . Determines whether the base style should be serialized or not. True if GridStyleInfoStore has the BaseStyleProperty, Otherwise false. Resets . Determines whether the wrap text should be serialized or not. True if GridStyleInfoStore has the WrapTextProperty, Otherwise false. Resets . Determines whether the wrap rotated text should be serialized or not. True if GridStyleInfoStore has the WrapRotatedTextProperty, Otherwise false. Resets . Determines whether the vertical scroll bar should be serialized or not. True if GridStyleInfoStore has the VerticalScrollbarProperty, Otherwise false. Resets . Determines whether the auto size should be serialized or not. True if GridStyleInfoStore has the AutoSizeProperty, Otherwise false. Resets . Determines whether the allow enter property should be serialized or not. True if GridStyleInfoStore has the AllowEnterProperty, Otherwise false. Resets . Determines whether the enabled property should be serialized or not. True if GridStyleInfoStore has the EnabledProperty value, Otherwise false. Resets . Determines whether the Tristate property should be serialized or not. True if GridStyleInfoStore has the TriStateProperty value, Otherwise false. Resets . Determines whether the exclusive choice list should be serialized or not. True if GridStyleInfoStore has the ExclusiveChoiceListProperty value, Otherwise false. Resets . Determines whether the drop down style should be serialized or not. True if GridStyleInfoStore has the ExclusiveChoiceListProperty value or AutoCompleteProperty value, Otherwise false. Determines whether drop down style is in auto complete mode. Used internally. true if [is auto complete]; otherwise, false. Resets . Determines whether the auto complete should be serialized or not. True if GridStyleInfoStore has the AutoCompleteProperty value, Otherwise false. Resets . Resets . Determines whether the float cells should be serialized or not. True if GridStyleInfoStore has the FloatCellProperty value, Otherwise false. Resets . Determines whether the flood cells should be serialized or not. True if GridStyleInfoStore has the FloodCellProperty value, Otherwise false. Resets . Determines whether the merge cells should be serialized or not. True if GridStyleInfoStore has the MergeCellProperty value, Otherwise false. Resets . Determines whether the cell appearance should be serialized or not. True if GridStyleInfoStore has the CellAppearanceProperty value, Otherwise false. Resets This example shows how to reset the auto fit property. //Resets the AutoFit property. this.gridControl1.TableStyle.ResetAutoFit(); 'Resets the AutoFit property. Me.gridControl1.TableStyle.ResetAutoFit() Determines whether the auto fit should be serialized or not. True if GridStyleInfoStore has the AutoFitProperty value, Otherwise false. Resets This example shows how to reset the AutoFitChar property. //Resets the AutoFitChar property. this.gridControl1.TableStyle.ResetAutoFitChar (); 'Resets the AutoFitChar property. Me.gridControl1.TableStyle.ResetAutoFitChar () Determines whether the auto fit character should be serialized or not. True if GridStyleInfoStore has the AutoFitCharProperty value, Otherwise false. Resets . Determines whether the maximum length should be serialized or not. True if GridStyleInfoStore has the MaxLengthProperty value, Otherwise false. Resets . Determines whether the cell type should be serialized or not. True if GridStyleInfoStore has the CellTypeProperty value, Otherwise false. Resets . Determines whether the choice list should be serialized or not. True if GridStyleInfoStore has the ChoiceListProperty value, Otherwise false. Resets . Determines whether the description should be serialized or not. True if GridStyleInfoStore has the DescriptionProperty value, Otherwise false. Resets . Determines whether the format should be serialized or not. True if GridStyleInfoStore has the FormatProperty value, Otherwise false. Resets . Determines whether the display member should be serialized or not. True if GridStyleInfoStore has the DisplayMemberProperty value, Otherwise false. Resets . Determines whether the value member should be serialized or not. True if GridStyleInfoStore has the ValueMemberProperty value, Otherwise false. Resets . Determines whether the data source should be serialized or not. True if GridStyleInfoStore has the DataSourceProperty value, Otherwise false. Resets . Determines whether the PropertyDescriptor should be serialized or not. True if GridStyleInfoStore has the PropertyDescriptorProperty value, Otherwise false. Resets the property. Determines whether the text should be serialized or not. True if GridStyleInfoStore has the CellValueProperty value, Otherwise false. Resets . Determines whether the cell value should be serialized or not. True if GridStyleInfoStore has the CellValueProperty value, Otherwise false. Resets . Determines whether the cell value type should be serialized or not. True if GridStyleInfoStore has the CellValueTypeProperty value, Otherwise false. Resets Read-only information. Determines whether the images from byte array should be serialized or not. True if GridStyleInfoStore has ImageFromByteArray, Otherwise false. Resets . Determines whether the error value should be serialized or not. True if GridStyleInfoStore has ErrorProperty value, Otherwise false. Resets . Determines whether the strict value type should be serialized or not. True if GridStyleInfoStore has StrictValueTypeProperty value, Otherwise false. Resets . Determines whether the tags value should be serialized or not. True if GridStyleInfoStore has TagProperty value, Otherwise false. Resets . Determines whether the control value should be serialized or not. True if GridStyleInfoStore has ControlProperty value, Otherwise false. Resets . Determines whether the formula tags value should be serialized or not. True if GridStyleInfoStore has FormulaTagProperty value, Otherwise false. Gets the culture information from the style object or returns CultureInfo.CurrentCulture if is NULL. True if CultureInfo.CurrentUICulture should be returned when is NULL. The culture information with rules for parsing and formatting the cell's value. This example shows how to get the culture information of the grid. //Getting CultureInfo of Grid. CultureInfo cultureInfo = this.gridControl1.TableStyle.GetCulture(true); 'Getting CultureInfo of Grid. Dim cultureInfo As CultureInfo = Me.gridControl1.TableStyle.GetCulture(True) Resets . Determines whether the culture info should be serialized or not. True if GridStyleInfoStore has CultureInfoProperty value, Otherwise false. Resets . Determines whether the validate value should be serialized or not. True if GridStyleInfoStore has ValidateValueProperty value, Otherwise false. Resets CurrencyEdit state. Determines whether the currency edit values should be serialized or not. True if GridStyleInfoStore has CurrencyEditProperty value, Otherwise false. Resets property. Gets a value indicating whether the property need to be serialized or not. True if GridStyleInfoStore has CommentTipInfoProperty value, Otherwise false. Resets MaskedEdit state. Determines whether the mask edit values should be serialized or not. True if GridStyleInfoStore has MaskEditProperty value, Otherwise false. Resets ProgressBar state. Determines whether the progress bar should be serialized or not. True if GridStyleInfoStore has ProgressBarProperty value, Otherwise false. Resets . Determines whether the numeric up down values should be serialized or not. True if GridStyleInfoStore has NumericUpDownProperty value, Otherwise false. Resets . Determines whether the check box options should be serialized or not. True if GridStyleInfoStore has CheckBoxOptionsProperty value, Otherwise false. Resets . Determines whether the text margins should be serialized or not. True if GridStyleInfoStore has TextMarginsProperty value, Otherwise false. Resets . Determines whether the border margins should be serialized or not. True if GridStyleInfoStore has BorderMarginsProperty value, Otherwise false. Resets . Determines whether the buttons should be serialized or not. True if GridStyleInfoStore has ShowButtonsProperty value, Otherwise false. Resets . Determines whether the password characters should be serialized or not. True if GridStyleInfoStore has PasswordCharProperty value, Otherwise false. Resets . Determines whether the cell tip text should be serialized or not. True if GridStyleInfoStore has CellTipTextProperty value, Otherwise false. Resets . Determines whether the image index should be serialized or not. True if GridStyleInfoStore has ImageIndexProperty value, Otherwise false. Resets . Determines whether the image size mode should be serialized or not. True if GridStyleInfoStore has ImageSizeModeProperty value, Otherwise false. Resets . Determines whether the image list should be serialized or not. True if GridStyleInfoStore has ImageListProperty value, Otherwise false. Resets BackgroundImageMode state Determines whether the background image mode should be serialized or not. True if GridStyleInfoStore has BackgroundImageModeProperty value, Otherwise false. Resets BackgroundImageID state. Determines whether the background image id should be serialized or not. True if GridStyleInfoStore has BackgroundImageIDProperty value, Otherwise false. Resets BackgroundImage state. Determines whether the background image should be serialized or not. True if GridStyleInfoStore has BackgroundImageProperty value, Otherwise false. Resets . Determines whether the parse formats should be serialized or not. True if GridStyleInfoStore has ParseFormatsProperty value, Otherwise false. Return formatted text for the specified value. GridStyleInfo.CultureInfo is used for conversion to string. Return formatted text for the specified value. The value to be formatted. A string that holds the formatted text. Parses the formatted text using Format and cell value type information stored in the current style object. The text is parsed using GridStyleInfo.CultureInfo information. Determines whether parses the formatted text using Format and cell value type information stored in the current style object. The text is parsed using GridStyleInfo.CultureInfo information. The formatted text. True if the text could be parsed correctly and converted to a cell value. Return formatted text for the specified value. GridStyleInfo.CultureInfo is used for conversion to string. The value to be formatted. A hint that specifies the current action why the text is formatted. A string that holds the formatted text. Determines whether parses the formatted text using Format and cell value type information stored in the current style object. The text is parsed using GridStyleInfo.CultureInfo information. The formatted text. A hint that specifies the current action why the text is parsed. True if the text could be parsed correctly and converted to a cell value. Returns text for the specified value (ignoring any settings). CultureInfo.CurrentCulture is used for conversion to string. The value to be converted to string. A string that represents the value. Determines whether parses the text (ignoring any settings) and assigns it to CellValue. The text is parsed using CultureInfo.CurrentCulture information. The text to be parsed. True if the text could be parsed correctly and converted to a cell value. Gets or sets identity information such as row and column index for the current . Gets the object that holds all the data for this style object. Gets a collection of custom property objects that have at least one initialized value. The primary purpose of this collection is to support design-time code serialization of custom properties. Gets a with default settings. Gets the associated for this style object. Gets returns or creates a cached GDI+ font generated from font information of the object. Gets read-only font. Used internally. Gets or sets the font for drawing text. The default value for the font property is GridFontInfo.Default. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () Gets a value indicating whether font information has been initialized for the current object. Gets or sets Top, left, bottom, and right border settings. The default value for the Borders property is GridBordersInfo.Default. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () () Gets readonly readonly borders. Used internally. Gets or sets a value indicating whether the cells are derived from row and column styles. In the case that the base style that implements a specific sub-object (e.g. Borders, Font, ...) is a row style the column style would be ignored if we return here the sub-object row of the row style in the optimized ReadOnlyBorders property. Returning the normal Borders objects instead fixes this problem. Default value is true. You can set it false if you relied on previous fault behavior. This example shows how to use the FixSubObjectsDerivedFromRowandColStyle property. this.gridControl1.Model.RowStyles[row - 1].Borders.Bottom = new GridBorder(GridBorderStyle.Solid, c, GridBorderWeight.ExtraExtraThick); this.gridControl1.Model.ColStyles[col - 1].Borders.Right = new GridBorder(GridBorderStyle.Solid, c, GridBorderWeight.ExtraExtraThick); GridBordersInfo b = this.gridControl1.Model[row - 1, col - 1].ReadOnlyBorders; Console.WriteLine(b.Right); // will return Default since ReadOnlyBorders is RowStyles[row - 1].Borders which has no knowledge about ColStyles if FixSubObjectsDerivedFromRowandColStyle = false. Setting FixSubObjectsDerivedFromRowandColStyle = true fixes the problem. Gets a value indicating whether border information has been initialized for the current object. Gets or sets a solid backcolor, gradient, or pattern style with both back and forecolor for a cell's background. The default value for the Interior property is SystemColors.Window. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () () Gets a value indicating whether interior information has been initialized for the current object. Gets or sets a shortcut to get the backcolor of a cell instead of using . This example shows how to apply the back color for a cell. //Setting the back color for GridTable. this.gridControl1.TableStyle.BackColor = Color.Red; 'Setting the back color for GridTable. Me.gridControl1.TableStyle.BackColor = Color.Red Gets or sets the color for drawing the cell text. The default value for the TextColor property is SystemColors.WindowText. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () Gets a value indicating whether text color has been initialized for the current object. Gets or sets a value indicating whether cell contents can be modified by the user. You can programmatically change Read-only cells by setting to True. The default value for the Read-Only property is False. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () Gets a value indicating whether Read-only information has been initialized for the current object. Gets or sets if cell contents read from right to left. The default value for the RightToLeft property is False. Gets a value indicating whether Read-only information has been initialized for the current object. Gets or sets a value indicating whether cell types that support Windows XP themes should be drawn themed. The default value for the Themed property is True. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () () Gets a value indicating whether Read-only information has been initialized for the current object. Gets or sets a value indicating whether the user can click on any cell button elements in this renderer. The default value for the Clickable property is True. The property affects the behavior or appearance of the following cell types: () () () () () () () () Gets a value indicating whether clickable information has been initialized for the current object. Gets or sets how hot-key prefixes should be displayed. Hot-keys are indicated in text with an '&' (ampersand). When you enable the hot-key prefix, the specific characters can be displayed underlined or regular. The '&' will not be displayed. The default value for the HotkeyPrefix property is HotkeyPrefix.None. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () Gets a value indicating whether the has been initialized for the current object. Gets or sets how text is trimmed when it exceeds the edges of the cell text rectangle. The default value for the Trimming property is StringTrimming.Character. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () This example shows how the text is trimmed when it exceeds the edges of the cell text rectangle. //sets how text is trimmed when it exceeds the edges of the cell text rectangle. this.gridControl1.TableStyle.Trimming = StringTrimming.EllipsisPath; 'sets how text is trimmed when it exceeds the edges of the cell text rectangle. Me.gridControl1.TableStyle.Trimming = StringTrimming.EllipsisPath Gets a value indicating whether has been initialized for the current object. Gets or sets horizontal alignment of text in the cell. The default value for the HorizontalAlignment property is GridHorizontalAlignment.Left. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets if cell control modifies the case of characters as they are typed when the cell's is "OriginalTextBox". The default value for the CharacterCasing property is CharacterCasing.Normal. The property affects the behavior or appearance of the following cell types: () This example shows how to specify the case of characters in a text box. //Set the character case this.gridControl1.TableStyle.CharacterCasing = CharacterCasing.Upper; 'Set the character case Me.gridControl1.TableStyle.CharacterCasing = CharacterCasing.Upper Gets a value indicating whether has been initialized for the current object. Gets or sets vertical alignment of text in the cell. The default value for the VerticalAlignment property is GridVerticalAlignment.Top. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () This example shows how to specify the vertical alignment of the text in the cell. //Set the vertical alignment for text in a cell. this.gridControl1.TableStyle.VerticalAlignment = GridVerticalAlignment.Middle; 'Set the vertical alignment for text in a cell. Me.gridControl1.TableStyle.VerticalAlignment = GridVerticalAlignment.Middle Gets a value indicating whether has been initialized for the current object. Gets or sets the Alignment of the radio button elements inside the cell rectangle. The default value for the RadioButtonAlignment property is ButtonAlignment.Horizontal. The property affects the behavior or appearance of the following cell types: () Gets a value indicating whether has been initialized for the current object. Gets or sets Align text left of button elements (which is typical for combo boxes). Or align text right of button elements. See how to align text left, centered, and right inside a cell rectangle. Don't confuse this with . specifies if text should be displayed left or right of any cell button elements. The default value for the TextAlign property is GridTextAlign.Default. The property affects the behavior or appearance of the following cell types: () () () () () () () This example shows how to specify the alignment of the text. this.gridControl1.TableStyle.TextAlign = GridTextAlign.Right; Me.gridControl1.TableStyle.TextAlign = GridTextAlign.Right; Gets a value indicating whether has been initialized for the current object. Gets or sets the base style for this style instance with default values for properties that are not initialized for this style object. The default value for the BaseStyle property is String.Empty. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets a value indicating whether text should be wrapped when it does not fit into a single line. The default value for the WrapText property is True. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets the value to the WrapRotatedText Gets a value indicating whether has been initialized for the current object. Gets or sets a value indicating whether text box should show a vertical scrollbar when text is being edited and does not fit in cell. WrapText must be initialized to True. The default value for the VerticalScrollbar property is False. The property affects the behavior or appearance of the following cell types: () Gets a value indicating whether has been initialized for the current object. Gets or sets a value indicating whether the cell height should automatically increase when the edited text does not fit into the cell and is True. If is False, will affect the column width. The default value for the AutoSize property is False. The property affects the behavior or appearance of the following cell types: () () Gets a value indicating whether has been initialized for the current object. Gets or sets a value indicating whether pressing the <Enter>-Key should insert a new line into the edited text. The default value for the AllowEnter property is False. The property affects the behavior or appearance of the following cell types: () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets a value indicating whether the cell can be activated as current cell or if the cell should be skipped when moving the current cell. The default value for the Enabled property is True. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets a value indicating whether this checkbox is a Tristate check box that has an additional indeterminated state. The default value for the TriState property is False. The property affects the behavior or appearance of the following cell types: () Gets a value indicating whetherf has been initialized for the current object. Gets or sets a value indicating whether user input is restricted to items from the or . Use instead. The default value for the ExclusiveChoiceList property is False. The property affects the behavior or appearance of the following cell types: () () Gets a value indicating whether has been initialized for the current object. Gets or sets if user input is restricted to items from the or . The default value for the DropDownStyle property is GridDropDownStyle.Editable. The property affects the behavior or appearance of the following cell types: () () Gets a value indicating whether has been initialized for the current object. Gets or sets a value indicating whether user input is restricted to items from the or . Gets a value indicating whether has been initialized for the current object. Gets or sets the value whether the cell can have AutoComplete, AutoSuggest, Both and None behavior in Editable mode. Gets a value indicating whether has been initialized for the current object. Gets or sets a value indicating whether text can float into the boundaries of a neighboring cell. The default value for the FloatCell property is True. The property affects the behavior or appearance of the following cell types: () () Gets a value indicating whether has been initialized for the current object. Gets or sets a value indicating whether this cell can be flooded by a previous cell. The default value for the FloodCell property is True. The property affects the behavior or appearance of the following cell types: () () Gets a value indicating whether has been initialized for the current object. Gets or sets if cell edges shall be drawn raised, sunken, or flat (default). The default value for the MergeCell property is GridMergeCellDirection.Flat. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets if cell edges shall be drawn raised, sunken, or flat (default). The default value for the CellAppearance property is GridCellAppearance.Flat. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () () This example shows how to set the appearance of a cell. //Set the Cell Appearance. this.gridControl1.TableStyle.CellAppearance = GridCellAppearance.Sunken; 'Set the Cell Appearance. Me.gridControl1.TableStyle.CellAppearance = GridCellAppearance.Sunken Gets a value indicating whether has been initialized for the current object. Provides an option for displaying the cell with symbols when the contents in cell exceeds it's width. This example shows how to set the AutoFitOptions. //Display special characters when the contents in cell exceeds it's width. this.gridControl1.TableStyle.AutoFit = AutoFitOptions.Alphabet; this.gridControl1.TableStyle.AutoFit = AutoFitOptions.Numeric; this.gridControl1.TableStyle.AutoFit = AutoFitOptions.Both; this.gridControl1.TableStyle.AutoFit = AutoFitOptions.None; 'Display special characters when the contents in cell exceeds it's width. Me.gridControl1.TableStyle.AutoFit = AutoFitOptions.Alphabet Me.gridControl1.TableStyle.AutoFit = AutoFitOptions.Numeric Me.gridControl1.TableStyle.AutoFit = AutoFitOptions.Both Me.gridControl1.TableStyle.AutoFit = AutoFitOptions.None Gets a value indicating whether has been initialized for the current object. Obtains the desired character to be displayed in cell when the contents in cell exceeds the width. This example shows how to obtain the desired character to be displayed in cell when the contents in cell exceeds the width. //Display special characters when the contents in cell exceeds it's width. this.gridControl1.TableStyle.AutoFit = AutoFitOptions.Alphabet; //Set the character to display when the contents in cell exceeds it's width. this.gridControl1.TableStyle.AutoFitChar = 's'; 'Display special characters when the contents in cell exceeds it's width. Me.gridControl1.TableStyle.AutoFit = AutoFitOptions.Alphabet 'Set the character to display when the contents in cell exceeds it's width. this.gridControl1.TableStyle.AutoFitChar = 's'; Gets a value indicating whether has been initialized for the current object. Gets or sets Limits the number of characters the user can type into the cell. Note: When selecting a text from a choice list or when pasting text, the text can be longer. Additional validation is necessary on your side. The default value for the MaxLength property is 0. The property affects the behavior or appearance of the following cell types: () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets the cell type for this style instance. Cell types are accessed in the grid through the property of a which returns a object. To access cell renderers use the property of a instance. The default value for the CellType property is Text Box. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets items to be displayed in a drop-down list. The default value for the ChoiceList property is NULL. The property affects the behavior or appearance of the following cell types: () Gets a value indicating whether has been initialized for the current object. Gets or sets the text that is shown in check box or pushbuttons. The default value for the Description property is String.Empty. The property affects the behavior or appearance of the following cell types: () () Gets a value indicating whether has been initialized for the current object. Gets or sets the format mask for formatting the cell value. You can specify numeric format strings, date format strings, or enumeration format strings as discussed in the section "Format Specifiers and Format Providers" of the .NET Framework Developers Guide (see ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconformatspecifiersformatproviders.htm) The default value for the Format property is String.Empty. The property affects the behavior or appearance of the following cell types: () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets the Name the property in the that holds the text to be displayed in a cell that depends on a . The default value for the DisplayMember property is String.Empty. The property affects the behavior or appearance of the following cell types: () () Gets a value indicating whether has been initialized for the current object. Gets or sets a string that specifies the property of the data source from which to draw the value. The default value for the ValueMember property is String.Empty. The property affects the behavior or appearance of the following cell types: () () Gets a value indicating whether has been initialized for the current object. Gets or sets a data source that holds items to be displayed in a drop-down list. A datasource can be specified instead of manually filling the choicelist with string entries. The default value for the DataSource property is null. The property affects the behavior or appearance of the following cell types: () () Gets a value indicating whether has been initialized for the current object. Gets or sets a property descriptor that can be used by UITypeEditCell, PropertyGridCell, and StandardValuesCell cell types. Gets a value indicating whether has been initialized for the current object. Gets or sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using CultureInfo.CurrentCulture information. The default value for the Text property is String.Empty. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . The default value for the CellValue property is String.Empty. The property affects the behavior or appearance of the following cell types: TODO: Explain how to set StylePropertyInfo.IsCloneable = false and StylePropertyInfo.IsDisposable = false or implement IStyleCloneable to avoid cloning and disposing of objects assigned to Tag. () () () () () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. The default value for the CellValueType property is NULL. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets a value indicating whether cells should check whether a byte array can be converted to a image. The default value for the ImageFromByteArray property is True. Gets a value indicating whether Read-only information has been initialized for the current object. Gets or sets error information if a text could not be converted to the specified with in or setter. The default value for the Error property is String.Empty. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets a value indicating whether an exception should be thrown in the method if the formatted text can not be parsed and converted to the type specified with . The method will be called when the user enters text into a text box. The method checks if there are event handlers for . If not, it will continue with its default behavior and try to convert the input text into the type specified with . If this conversion fails, will check . If it is True, an exception is thrown which itself results in a warning message displayed to the user at the time from . If you set to False, will not throw an exception; it will simply store the text as . If you need a more specialized customization of this behavior, you should handle the event. This lets you parse the text input and change the cell's at run-time. See for an example how to do this. The default value for the StrictValueType property is True. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () () () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets a custom tag you can associate with a cell. The default value for the Tag property is NULL. The property affects the behavior or appearance of the following cell types: () TODO: Explain how to set StylePropertyInfo.IsCloneable = false and StylePropertyInfo.IsDisposable = false or implement IStyleCloneable to avoid cloning and disposing of objects assigned to Tag. Gets a value indicating whether has been initialized for the current object. Gets or sets a custom control you can associate with a cell. The default value for the Control property is NULL. The property affects the behavior or appearance of the following cell types: () Gets a value indicating whether has been initialized for the current Control. Gets or sets a formula tag that is associated with a cell. The default value for the FormulaTag property is NULL. The property affects the behavior or appearance of the following cell types: () Gets a value indicating whether has been initialized for the current FormulaTag. Gets or sets the culture information holds rules for parsing and formatting the cell's value. The default value for the CultureInfo property is NULL. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets validation rules for the cell value that are being checked before any user changes are committed to the grid cell's style object. The default value for the ValidateValue property is NULL. The property affects the behavior or appearance of the following cell types: () () () () () () () () () Gets readonly validate value. Used internally. Gets a value indicating whether has been initialized for the current object. Gets or sets CurrencyEdit state. CurrencyEdit is itself an expandable object with several properties that can be set individually and participate in style inheritance mechanism. The default value for the CurrencyEdit property is GridCurrencyEditInfo.Default. The property affects the behavior or appearance of the following cell types: () Gets a value indicating whether CurrencyEdit state has been initialized for the current object. Gets or sets the comment tip for a cell. The CommentTip is itself an expandable object with several properties that can be set individually and participate in style inheritance mechanism. The default value for the CommentTip property is GridCommentTip.Default. The property affects the behavior or appearance of the following cell types: Gets a value indicating whether the property has been initialized for the current object. Gets or sets MaskedEdit state. MaskedEdit is itself an expandable object with several properties that can be set individually and participate in style inheritance mechanism. Gets a value indicating whether MaskedEdit state has been initialized for the current object. Gets or sets ProgressBar state. ProgressBar is itself an expandable object with several properties that can be set individually and participate in style inheritance mechanism. The default value for the ProgressBar property is GridProgressBarInfo.Default. The property affects the behavior or appearance of the following cell types: () Gets a value indicating whether ProgressBar state has been initialized for the current object. Gets or sets to specify the step, minimum, and maximum value and if the value should start over when you reach the maximum value. The default value for the NumericUpDown property is NULL. The property affects the behavior or appearance of the following cell types: () Gets readonly numeric updown. Used internally. Gets a value indicating whether has been initialized for the current object. Gets or sets flat look and values that represent checked, unchecked, and indeterminated state of the check box. The default value for the CheckBoxOptions property is NULL. The property affects the behavior or appearance of the following cell types: () Gets readonly Checkbox options. Used internally. Gets a value indicating whether has been initialized for the current object. Gets or sets text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the client rectangle of the cell without borders and cell buttons. The default value for the TextMargins property is GridMarginsInfo.Default. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () Gets readonly text margins. Used internally. Gets a value indicating whether has been initialized for the current object. Gets or sets extra border margins in pixels. When drawing a cell, this specifies the area between the cell rectangle without border and the inner rectangle of the cell with cell buttons. Is most useful if you want to customize The default value for the BorderMargins property is GridMarginsInfo.Empty. The property affects the behavior or appearance of call cell types: Gets readonly border margins. Used internally. Gets a value indicating whether has been initialized for the current object. Gets or sets when to show or display the cell buttons. Possible choices are: show the button only for the current cell, always show buttons, or never show buttons. The default value for the ShowButtons property is GridShowButtons.Show. The property affects the behavior or appearance of the following cell types: () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets the character used to mask characters of a password in a password-entry cell. The cells must be "OriginalTextBox". The default value for the PasswordChar property is blank. The property affects the behavior or appearance of the following cell types: () Gets a value indicating whether has been initialized for the current object. Gets or sets ToolTip text to be displayed when user hovers mouse over cell. The default value for the CellTipText property is String.Empty. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets an image index that specifies an image inside a . The default value for the ImageIndex property is -1. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets how the image is displayed. Valid values for this property are taken from the PictureBoxSizeMode enumeration. By default, in PictureBoxSizeMode.Normal mode, the Image is placed in the upper left corner of the PictureBox, and any part of the image too big for the PictureBox is clipped. Using the PictureBoxSizeMode.StretchImage value causes the image to stretch to fit the PictureBox. Using the PictureBoxSizeMode.AutoSize value causes the control to resize to always fit the image. Using the PictureBoxSizeMode.CenterImage value causes the image to be centered in the client area. Gets a value indicating whether has been initialized for the current object. Gets or sets an that holds a collection of images. Cells can choose images with the property in a instance. The default value for the ImageList property is NULL. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () Gets a value indicating whether has been initialized for the current object. Gets or sets how the background image is displayed. Valid values for this property are taken from the GridBackgroundImageMode enumeration. By default, in BackgroundImageModeMode.Normal mode, the Image is placed in the upper left corner of the cell(s), and any part of the image too big for the cell(s) is clipped. Using the GridBackgroundImageModeMode.StretchImage value causes the image to stretch to fit the cell(s). The default value for the BackgroundImageMode property is GridBackgroundImageMode. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () () () () () Gets a value indicating whether BackgroundImageMode state has been initialized for the current object. Gets or sets the Namespace ID that contains the cell's background information id. The default value for the BackgroundImageID property is "". The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () () () () () Gets a value indicating whether BackgroundImage state has been initialized for the current object. Gets or sets the image that the cell displays as background. The default value for the BackgroundImage property is NULL. The property affects the behavior or appearance of the following cell types: () () () () () () () () () () () () () () () () () This example show how to set the back ground image for the cells. Image image = Image.FromFile(@"\...\...\FileName.jpg"); this.gridControl1.TableStyle.BackgroundImage = image; Dim image As Image = Image.FromFile("\...\...\FileName.jpg") Me.gridControl1.TableStyle.BackgroundImage = image Gets a value indicating whether BackgroundImage state has been initialized for the current object. Gets or sets the permissible formats used to parse user entries of cell values. The default value for the ParseFormats property is NULL. The property affects the behavior or appearance of the following cell types: It can be used to specify various DateTime formats that are allowed when the user enters a DateTime cell value. Gets a value indicating whether has been initialized for the current object. Get the provider for the GridCell UI autommation Gets a formatted text for the default value for a specified . Gets or sets the value formatted with the mask and custom formatting of the method of the associated or sets the value by calling the of the associated . Initializes the new instance of the class. Holds identity information of a cell. Holds the style info. Implements a collection that stores objects. Initializes a new instance of class. Initializes a new instance of class based on an already existing instance. A from which the contents is copied Initializes a new instance of with an array of 'GridBaseStyle' objects. An array of objects with which to initialize the collection Adds a item with the specified value to the 'GridBaseStyleCollection' The to add. The index at which the new element was inserted. Copies the elements of an array at the end of this instance of . An array of objects to add to the collection. Adds the contents of another at the end of this instance. A containing the objects to add to the collection. Gets a value indicating whether the contains the specified value. The item to locate. True if the item exists in the collection; false otherwise. Copies the values to a one-dimensional System.Array instance starting at the specified array index. The one-dimensional that represents the copy destination. The index in the array where copying begins. Returns the index of a object in the collection. The object whose index will be retrieved. If found, the index of the value; otherwise, -1. Inserts an existing into the collection at the specified index. The zero-based index where the new item should be inserted. The item to insert. Returns an enumerator that can be used to iterate through the . Enumerator for GridBaseStyle. Removes a specific item from the . The item to remove from the . Gets or sets the item at the specified index position. The zero-based index of the entry to locate in the collection. The entry at the specified index of the collection. Implements a strongly typed enumerator for . Enumerator constructor A collection of GridBaseStyle objects. Determines whether the enumerator moves to the next element of the collection True if the operation is successful; False otherwise. Determines whether the enumerator moves to the next element of the collection True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. The collection was modified after the enumerator was created. Sets the enumerator to the first element in the collection Sets the enumerator to the first element in the collection Gets the current element from the collection (strongly typed) Gets the current element from the collection Defines the constants that specifies the style of a specific cell border in the class. No edge style is set. No border is drawn on the cell. Border style that consists of a dotted line: ........... Border style that consists of a dash and a dot: _._._. Border style that consists of a series of dashed lines: -------- Border style that consists of a dash and two dots: _.._.._.. Border style that consists of a solid line: ___________ Sets border as specified in grid property. Defines the constants that specifies the weight of a specific cell border in the class. A line with 0.25 point. A line with 0.5 point. A line with 1 point. A line with 1.5 points. A line with 2.0 points. A line with 3.0 points. Defines and implements the immutable class that holds formatting information for individual borders of a cell. You can assign objects to individual borders of a object in a object. The class lets you assign a different to each . GridBorder is serializable and ToString and IFormattable are implemented. The following code changes border information for cells: GridBorder border = new GridBorder(GridBorderStyle.Solid, Color.FromArgb(57, 73, 122)); model[rowIndex, colIndex].Borders.Bottom = border; model[rowIndex, colIndex].Borders.Right = border; The following code hides grid lines for specific cells: GridBorder border = new GridBorder(GridBorderStyle.None); model[rowIndex, colIndex].Borders.Bottom = border; model[rowIndex, colIndex].Borders.Right = border; An empty object. Creates an exact copy of this object. A object. Initializes a new instance of the class. Initializes a new instance of the class with the specified Grid border style. The line style to be applied to the specific border in a cell. Initializes a new instance of the class with the specified and . A to be applied to the specific border in a cell. A specifying the color of the border. /// This example shows how to use the method. this.gridControl1.TableStyle.Borders.All = new GridBorder(GridBorderStyle.Dotted, Color.SkyBlue); Me.gridControl1.TableStyle.Borders.All = New GridBorder(GridBorderStyle.Dotted, Color.SkyBlue) Initializes a new instance of the class with the specified and . A to be applied to the specific border in a cell. A specifying the color of the border. A specifying the thickness of the border. This example shows how to use the method. this.gridControl1.TableStyle.Borders.All = new GridBorder(GridBorderStyle.Dotted, Color.SkyBlue,GridBorderWeight.ExtraThick); Me.gridControl1.TableStyle.Borders.All = New GridBorder(GridBorderStyle.Dotted, Color.SkyBlue) Initializes a new instance of the class specified from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Returns a copy of this border object replacing the color with . A with black color. Returns a compact string representation of the GridBorder. All information in GridBorder will be encoded. Overrides and returns a string that represents the current object. A String that can be passed to . Returns a string that represents the current object. The Format Provider. Ignored. A String that can be passed to . Returns a string that represents the current object. A String that can be passed to . "Compact" for compact text; default is full text version. Returns a string that represents the current object. "Compact" for compact text; default is full text version. Format Provider. Ignored. A String that can be passed to . Creates a GridBorder from a string. The output from should be consumable by . The string to parse. A that corresponds to parseStr. Reads the string and parses it. The string to be parsed. GridBorder object that holds the values of the string. Overrides and determines whether the given object equals or not. The object to be compared. TrueIf it is equal; False otherwise. Performs the basic function of the "==" operator on the given two objects. The left-hand side of the operator. The right-hand side of the operator. A boolean value. Performs the basic function of the "!=" operator on the given two objects. The left-hand side of the operator. The right-hand side of the operator. Boolean value. Compares the given two objects. The left-hand side of the operator. The right-hand side of the operator. Boolean value. Overrides and gets the hash code for the current GridBorder instance. Hash code. Serializes the contents of this object into an XML stream. Represents the XML stream. Not implemented and returns NULL. returns XML schema De-serializes the contents of this object from an XML stream. Represents the XML stream. Gets the value of ToString() method. Gets a value indicating whether this GridBorder is uninitialized. Gets the value of type of border line the cell has. This value comes from the enumeration. Gets the value of weight of the border the cell has. This value comes from the enumeration. Gets the color value to be used for the cell border. This value comes from the enumeration. Gets the value of width in pixels for the cell border. Defines and implements the class that serializes an object graph to a series of CodeDOM statements which inherits for . Initializes a new instances of the class. Overrides and De-serializes the specified serialized CodeDOM object into an object. A serialization manager interface that is used during the deserialization process. A serialized CodeDOM object to deserialize. The deserialized CodeDOM object. Overrides and serializes the specified object into a CodeDOM object. The serialization manager to use during serialization. The object to serialize. A CodeDOM object representing the object that has been serialized. Gets the value of the default global instance of . Defines and implements the class that converts the border from one data type to another. This class is accessed via TypeDescriptor. Initializes a new instance of the class. Overrides and determines whether this converter can convert the object to the specified type, using the specified context. An that provides a format context. A that represents the type you want to convert to. IfTrueConversion is performed;Otherwise False. Overrides and converts the given value object to the specified type, using the specified context and culture information. An that provides a format context. A . If null is passed, the current culture is assumed. The to convert. The to convert the value parameter to. An that represents the converted value. Overrides and determines whether this converter can convert an object of the given type to the type of this converter, using the specified context. An that provides a format context. A that represents the type you want to convert from. If TrueConversion is performed;Otherwise False. Overrides and converts the given object to the type of this converter, using the specified context and culture information. An that provides a format context. The to use as the current culture. The to convert. An that represents the converted value. Overrides and creates an instance of the type that this is associated with, using the specified context, given a set of property values for the object. An that provides a format context. An of new property values. An representing the given , or null if the object cannot be created. This method always returns null. Overrides and returns whether changing a value on this object requires a call to to create a new value, using the specified context. An that provides a format context. IfTrueChanging a property on this object requires a call to to create a new value;Otherwise False. Always returns true. Overrides and returns a collection of properties for the type specified. Format context. The value Type. An array of System.Attribute that will be used as a filter. Property descriptor collection. Overrides and returns whether this object supports properties, using the specified context. Format context. IfTrueThis method should be called to find the properties of this object;Otherwise False. Implements the method that provides the rectangle routine for drawing a . Draws a rectangle with a . Draws a rectangle with a . A context A . structure that represents the rectangle to fill. The back color. Specifies which border sides to draw. Prints the rectangle with . A context A . structure that represents the rectangle to fill. The back color. Specifies which border sides to draw. Draws a rectangle with a . A context. A . structure that represents the rectangle to fill. The back color. Specifies which border sides to draw. True if a should be used for thin lines instead of an optimized method that uses brushes. Creates the border bitmap. Index of borderBitmaps. Border bitmap of specified index. Defines the constants that specifies the sides of a rectangle which applies the border. Use the members of this enumeration with the method. A three-dimensional border on the left edge of the control. A three-dimensional border on the top edge of the rectangle. A three-dimensional border on the right side of the rectangle. A three-dimensional border on the bottom side of the rectangle. A three-dimensional border on all four edges and fill the middle of the rectangle with the color defined for three-dimensional controls. Defines and implements the class that stores data for the object. class. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Initializes a new object. Initializes a new instances of the class. Assigns the XML serializer behavior. Initializes a new instance of the from a serialization info and streaming context. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Overrides and creates an exact copy of the current object. Copy of current object. Overrides and gets the value of static data source. Defines the class that provides a object for borders in a cell. Each border side of the cell can be configured individually with a value. Border sides that have not been initialized will inherit default values from a base style. The following code changes border information for cells: GridBorder border = new GridBorder(GridBorderStyle.Solid, Color.FromArgb(57, 73, 122)); model[rowIndex, colIndex].Borders.Bottom = border; model[rowIndex, colIndex].Borders.Right = border; The following code hides grid lines for specific cells: GridBorder border = new GridBorder(GridBorderStyle.None); model[rowIndex, colIndex].Borders.Bottom = border; model[rowIndex, colIndex].Borders.Right = border; is an abstract base class for classes to be used as sub-objects in a . is derived from and thus provides the same easy way to provide properties that can inherit values from base styles at run-time. The difference is that supports this inheritance mechanism as a sub-object from a . A sub-object needs to have knowledge about its parent object and be able to walk the base styles from the parent object. Examples for implementation of are the font and border classes in Essential Grid. Programmers can derive their own style classes from and add type-safe (and intelli-sense) supported custom properties to the style class. If you write your own SpinButton class that needs individual properties, simply add a CellSpinButtonInfo class as subobject. If you derive CellSpinButtonInfo from GridStyleInfoSubObject, your new object will support property inheritance from base styles. See the overview for for further discussion about style objects. The following example shows how you can use the GridFontInfo class in Essential Grid: standard.Font.Facename = "Helvetica"; model[1, 3].Font.Bold = true; string faceName = model[1, 3].Font.Facename; // any cell inherits standard style Console.WriteLIne(faceName); // will output "Helvetica" Console.WriteLIne(model[1, 3].Font.Bold); // will output "true" Console.WriteLIne(model[1, 3].Font.HasFaceName); // will output "False" Initalizes a new instance of class and associates it with an existing . A that holds the indentity for this . A that holds data for this object. All changes in this style object will saved in the object. Initalizes a new instance of class and associates it with an existing . A that holds data for this object. All changes in this style object will be saved in the object. Returns the this subobject belongs to. The parent style object. Return the with identity information about the parent style. The parent style's identity object. Returns the this style belongs to or NULL if the style is used outside a grid model. A reference to the grid model or NULL if the style is used outside a grid model. This example shows how to get the GridModel. //Get the grid model. GridModel model = this.gridControl1.TableStyle.GetGridModel(); 'Get the grid model. Dim model As GridModel= Me.gridControl1.TableStyle.GetGridModel() Returns the active for the this style belongs to or NULL if the style is used outside a grid model. A reference to the grid control base or NULL if the style is used outside a grid model. Returns a string holding the current object. String representation of the current object. Gets results of ToString method. Creates the instances for the class. Holds the identity of objects. Sores the value of the objects. Initializes a new instance of the class. Initializes a new instance of the class. Initializes a new instance of the class and associates it with an existing instances. A that holds the identity for this . Initializes a new instances of the class and associates it with an existing and A that holds the identity for this . A that holds data for this . All changes in this style object will saved in the object. Makes an exact copy of the current object. The new owner style object for the copied object. The identifier for this object. The copy of the current object. Overrides and returns the A object with default values. Resets all four border sides with one command. Resets the top border. Determines whether to serialize the top value or not. Boolean value. Resets the left border. Determines whether to serialize the left value or not. Resets the bottom border. Determines whether to serialize the bottom value or not. Boolean value. Resets the right border. Determines whether to serialize the right value or not. Boolean value. Gets the default value of the to be used with a default style. The of the class will return the default border info that this method generates through its overridden version of . Sets all four border sides with one command. model[2, 2].Borders.All = new GridBorder(GridBorderStyle.Solid, Color.FromArgb(100, 238, 122, 3)); Gets or sets the value of the for the specified Holds the identity of . Gets or sets the value of top border. Gets a value indicating whether the top border has been initialized. Gets or sets the value of left border. Gets a value indicating whether the left border has been initialized. Gets or sets the value of bottom border. Gets a value indicating whether the bottom border has been initialized. Gets or sets the value of right border. Gets a value indicating whether the right border has been initialized. Defines and implements the class that provides a for the enumeration. Determines whether the specified context supports painting a representation of an object's value within the specified context. An that can be used to gain additional context information. If True is implemented;Otherwise False. Overrides and computes the paint value. The contains the event data. Implements the class and provides a for the enumeration. Determines whether the specified context supports painting a representation of an object's value within the specified context. An that can be used to gain additional context information. If True is implemented;Otherwise False. Overrides and computes the paint value. The contains the event data. Defines the constants that specifies the 3D-look for a cell. The enumeration represents the different options for the appearance of a cell that you can specify with the property of the class. This example shows how to use the property enumerator. this.gridControl1.TableStyle.CellAppearance = GridCellAppearance.Flat; Me.gridControl1.TableStyle.CellAppearance = GridCellAppearance.Flat Specifies that the cell is drawn flat. This is the default value. Specifies that the cell is drawn with a raised border. This is default for Row headers and Column headers. Specifies that the cell is drawn with a sunken border. Defines and implements the class that is used to design value editors and provides user interface for representing and editing the values of objects. Overrides and gets the editor style used by the method. An that can be used to gain additional context information. A value that indicates the style of editor used by the method. If the does not support this method, then will return . Overrides and edits the specified object's value using the editor style indicated by the method. An that can be used to gain additional context information. An that this editor can use to obtain services. The object to edit. The new value of the object. If the value of the object has not changed, this should return the same object it was passed. Represents the property information to formats the mask string. Initializes a new instance of the struct. Represents the declaration types. Represents the format string. Represents the format description. Determines whether to start the conversion process or not. The destination type. The source type. Boolean value. Gets or sets the value of the format string. Gets or sets the value of the format description. Gets or sets the value of the type. Implements the class that displays the window interface. Overrides and manages the unwanted resources. Initializes a new instance of the class with the specified format editor and type descriptor. Editor UI. Type Descriptor object. Overrides and process Key Preview. A , passed by reference, that represents the window message to process. IfTrueThe message was processed by the control; OtherwiseFalse. Triggered when the form is clicked. The Control. The contains the event data. Gets or sets the edit value. Implements a class for of the class. In its current implementation, the cell type name converter loads all cell types from the . So, in order to make new cell types appear in a property grid, provides a mechanism to register cell type names. TODO: Is this correct? returns a list of cell types. If you display a in a , you will be able to drop-down a choice list with cell types for the property. Initializes a new instances of the class. Overrides and determines whether this converter can convert an object of the given type to the type of this converter, using the specified context. An that provides a format context. A that represents the type you want to convert from. IfTrueConversion is performed; Otherwise, False. Overrides and converts the given object to the type of this converter, using the specified context and culture information. An that provides a format context. The to use as the current culture. The to convert. An that represents the converted value. Overrides and returns a collection of standard values for the data type provided with a format context. An that provides a format context that can be used to extract additional information about the environment from which this converter is invoked. This parameter or properties of this parameter can be null. A that holds a standard set of valid values, or null if the data type does not support a standard set of values. Gets the base styles map. Cell style identifier. An object of type GridBaseStylesMap. Overrides and returns whether the collection of standard values returned from is an exclusive list of possible values, using the specified context. An that provides a format context. Returns False. Overrides and returns whether this object supports a standard set of values that can be picked from a list, using the specified context. An that provides a format context. Returns True. Implements the data store for the object. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Initializes a new instance of the class. Initializes a new instance of the class specified with the serialization info and streaming context. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Overrides and creates an exact copy of the current object. A copy of the current object. Overrides and gets the Static data values. Defines the class that provides a object for validation of text entry in a cell. Each property in this sub object can be configured individually. Properties that have not been initialized will inherit default values from a base style. The following code changes validation information for cells: model[rowIndex, 1].Text = "Positive numbers"; RowStyles[rowIndex].CustomStyleProperties.Add(new GridValidateNumberStyleProperty(true, 1, float.NaN, "Please enter a number greater than 0!")); model.RowStyles[rowIndex].ValidateValue.NumberRequired = true; model.RowStyles[rowIndex].ValidateValue.Minimum = 0; model.RowStyles[rowIndex].ValidateValue.Maximum = float.NaN; model.RowStyles[rowIndex].ValidateValue.ErrorMessage = "Please enter a number greater than 0!"; rowIndex++; model[rowIndex, 1].Text = "Validation (1-100 valid range)"; model.RowStyles[rowIndex].ValidateValue = new GridCellValidateValueInfo(true, 1, 100, "Please enter a number between 1 and 100!"); Creates a new object. Holds the identity of the object. Holds the values of the object. A new instance of the class. Initializes a new object. Initializes a new instance of the class with specified validating criteria. IfTrueOnly number is allowed; Otherwise Falsefor any other characters. The minimum value allowed for the cell. The maximum value allowed for the cell. A error message to be displayed if entered text does not meet criteria. Initializes a new instance of the class. Initializes a new object and associates it with an existing . A that holds the identity for this . Initializes a new object and associates it with an existing . A that holds the identity for this . A that holds data for this . All changes in this style object will saved in the object. Makes an exact copy of the current object. The new owner style object for the copied object. Identifier for this object. Copy of current object. Overrides and returns the A object with default values. Resets the property. Determines whether to serialize number required value or not. Boolean value. Resets the property. Determines whether to serialize the minimum value or not. Boolean value. Resets the property. Determines whether to serialize the maximum value or not. Boolean value. Resets the property. Determines whether to serialize the error message or not. Boolean value. Gets a default value of to be used with a default style. The of the class will return the validation info that this method generates through its overridden version of . Default settings are: PropertyValue. False. Double.MinValue. Double.MaxValue. "Value is out of range". Gets or sets a value indicating whether numeric entry is allowed. True if only numeric entry is allowed; false if any characters are allowed. IfTrueOnly numbers are allowed;Otherwise Falsefor any other characters. Gets a value indicating whether property is initialized. Gets or sets the minimum value allowed for the cell. Gets a value indicating whether property is initialized. Gets or sets the maximum value allowed for the cell. Gets a value indicating whether property is initialized. Gets or sets the Error message value allowed for the cell. Gets a value indicating whether property is initialized. Implements the data store for the object. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Initializes a new instances of the class. Initializes a new instances of the class specified with the serialization info and streaming context. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Overrides and creates an exact copy of the current object. Copy of current object. Overrides and gets the value of the GridCheckBox cell info. Defines the class that provides a object with options to customize check-box cell type behavior in a cell. Each property in this sub object can be configured individually. Properties that have not been initialized will inherit default values from a base style. The following code changes check-box behavior for cells: model.TableStyle.CheckBoxOptions = new GridCheckBoxCellInfo("True", "False", string.Empty, false); model[rowIndex, 1].CheckBoxOptions.FlatLook = true; Creates the object for the class. Holds the values of style info identity. The object that stores the values. A new object. Initializes a new object. Initializes a new instances of the class specified with the check box options. The text value that represents checked state. The text value that represents unchecked state. The text value that represents indeterminate state. true if you want to draw flat check-box; false otherwise. This example shows how to use the method. //Scroll position based on the column index. this.gridControl1.TableStyle.CheckBoxOptions = new GridCheckBoxCellInfo("Checked", "UnChecked", "Intermediate", true); 'Scroll position based on the column index. Me.gridControl1.TableStyle.CheckBoxOptions = New GridCheckBoxCellInfo("Checked", "UnChecked", "Intermediate", True) Initializes a new instance of the class. Initializes a new instances of the class and associates it with an existing . A that holds the identity for this . Initializes a new instances of the class and associates it with an existing . A that holds the identity for this . A that holds data for this . All changes in this style object will saved in the object. Overrides and makes an exact copy of the current object. The new owner style object for the copied object. the identifier for this object. A copy of current object. Overrides and returns A object with default values. Resets the property. Resets the property Determines whether to serialize the checked value or not. Boolean value. Resets the property. Determines whether to serialize the unchecked value or not. Boolean value. Resets the property. Determines whether to serialize the intermediate value or not. Boolean value. Gets a default to be used with a default style. The of the class will return the default border info that this method generates through its overridden version of . Default settings are: PropertyValue "1" "0" "" true Gets or sets value indicating whether check box shall be drawn with flat-look Gets a value indicating whether property has been initialized. Gets or sets the text value that represents the checked state. Gets a value indicating whether property has been initialized. Gets or sets the text value that represents unchecked state. Gets a value indicating whether property has been initialized. Gets or sets the text value that represents indeterminate state. Gets a value indicating whether property has been initialized. Implements the functionalities that provides a object for CommentTip properties in a cell. Each property in this sub object can be configured individually. Properties that have not been initialized will inherit default values from a base style. Initializes a new empty instance of class. Initializes a new instance of object and associates it with an existing . A that holds the identity for this . A that holds data for this . All changes in this style object will saved in the object. Initializes a new instance of object and associates it with an existing . A that holds the identity for this . Creates the instances of . Holds the style identity information. Holds info for GridCellCommentTipInfoStore. The new object. Gets the default CommentTip values. Returns the default values for the property. Makes an exact copy of the current object. The new owner style object for the copied object. The identifier for this object. Copy of current object. Resets the property. Determines whether CommentText has been modified and its contents should be serialized at design-time. True if contents were changed; False otherwise. Resets the property. Resets the property. Determines whether CommentIndicatorSize has been modified and its contents should be serialized at design-time. True if contents were changed; False otherwise. Resets the property. Resets the property. Determines whether CommentIndicatorColor has been modified and its contents should be serialized at design-time. True if contents were changed; False otherwise. Resets the value for the property. Determines whether CommentFont has been modified and its contents should be serialized at design-time. True if contents were changed; False otherwise. Resets the property. Determines whether CommentImage has been modified and its contents should be serialized at design-time. True if contents were changed; False otherwise. Resets the property. Determines whether CommentArrowSize has been modified and its contents should be serialized at design-time. True if contents were changed; False otherwise. Resets the property. Determines whether CommentWindowSize has been modified and its contents should be serialized at design-time. True if contents were changed; False otherwise. Resets the value for the property. Determines whether CommentArrowColor has been modified and its contents should be serialized at design-time. True if contents were changed; False otherwise. Reset the value for the property. Determines whether ForeColor has been modified and its contents should be serialized at design-time. True if contents were changed; False otherwise. Resets the value for the property. Determines whether BackColor has been modified and its contents should be serialized at design-time. True if contents were changed; False otherwise. Gets the default values for the properties. Gets or sets the text that need to be displayed in the comment tip window. Gets a value indicating whether the property has been initialized or not. Gets or sets the size of the comment tip indicator. Gets a value indicating whether the property has been initialized or not. Gets or sets the color to draw the comment indicator. Gets a value indicating whether the property has been initialized or not. Gets or sets the font of text displayed in the comment tip window. Gets a value indicating whether the property has been initialized or not. Gets or sets the image displayed in the comment tip window. Gets a value indicating whether the property has been initialized or not. Gets or sets the arrow size for pointing the comment tip window. The comment tip window location is based on the comment arrow height. To avoid displaying the comment arrow, set the .Width to zero or .Height. Gets a value indicating whether the property has been initialized or not. Gets or sets the size of the comment tip window. Gets a value indicating whether the property has been initialized or not. Gets or sets the color of the comment arrow. Gets a value indicating whether the property has been initialized or not. Gets or sets the ForeColor of text that displayed in the comment tip window. Gets a value indicating whether the property has been initialized or not. Gets or sets the back color of the comment tip window. Gets a value indicating whether the property has been initialized or not. Implements the data store for the object. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Initializes a new instance of class. Initializes a new empty instance of class. Initializes a new instance of class. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Creates an exact copy of the current object. Copied object. Gets the Static data. Implements the functionalities that provides a object for currency textbox properties in a cell. Each property in this sub object can be configured individually. Properties that have not been initialized will inherit default values from a base style. Creates the instances of . Holds the style identity information. Holds info for GridCurrencyEditInfoStore. The new object. Initializes a new empty instance of class. Initalizes a new instance of object and associates it with an existing . A that holds the identity for this . Initalizes a new instance of object and associates it with an existing . A that holds the identity for this . A that holds data for this . All changes in this style object will saved in the object. Makes an exact copy of the current object. The new owner style object for the copied object. The identifier for this object. Copy of current object. Returns A object with default values. Resets the property. Resets the property. Determines whether the negative sign should be serialized. True,if GridCurrencyEditInfoStore has negative sign property.Otherwise,False. Resets the property. Determines whether the currency decimal separators should be serialized. True,if GridCurrencyEditInfoStore has CurrencyDecimalSeparatorProperty.Otherwise,False. Resets the property. Determines whether the currency group separators should be serialized. True,if GridCurrencyEditInfoStore has CurrencyGroupSeparatorProperty.Otherwise,False. Resets the property. Determines whether the currency group sizes should be serialized. True,if GridCurrencyEditInfoStore has CurrencyGroupSizesProperty.Otherwise,False. Resets the property. Determines whether the currency negative pattern should be serialized. True,if GridCurrencyEditInfoStore has CurrencyNegativePatternProperty.Otherwise,False. Resets the property. Determines whether the currency positive pattern should be serialized. True,if GridCurrencyEditInfoStore has CurrencyPositivePatternProperty.Otherwise,False. Resets the property. Determines whether the currency symbol should be serialized. True,if GridCurrencyEditInfoStore has CurrencySymbolProperty.Otherwise,False. Resets the property. Determines whether the currency number digits should be serialized. True,if GridCurrencyEditInfoStore has CurrencyNumberDigitsProperty.Otherwise,False. Resets the property. Determines whether the culture info should be serialized. True,if GridCurrencyEditInfoStore has UseCultureInfoProperty.Otherwise,False. Resets the property. Determines whether the negative color should be serialized. True,if GridCurrencyEditInfoStore has NegativeColorProperty.Otherwise,False. Resets the property. Determines whether the positive color should be serialized. True,if GridCurrencyEditInfoStore has PositiveColorProperty.Otherwise,False. Resets the property. Determines whether the clip mode should be serialized. True,if GridCurrencyEditInfoStore has ClipModeProperty.Otherwise,False. Resets the property. Determines whether the null string should be serialized. True,if GridCurrencyEditInfoStore has NullStringProperty.Otherwise,False. Resets the property. Determines whether the null value should be serialized. True,if GridCurrencyEditInfoStore has NullValueProperty.Otherwise,False. Gets a default to be used with a default style. The of the class will return the validation info that this method generates through its overridden version of . Default settings for US culture are: PropertyValue false 2 "-" "." "," 0 0 "$" 27 Red Black ExcludeFormatting "0" Gets or sets the NumberFormaInfo object that will be used for formatting the currency string. This property will affect or reflect the settings of the following properties in this object: PropertyDefault Value 2 "-" "." "," 0 0 "$" Gets or sets the maximum number of digits for the decimal portion of the currency. The US dollar requires 2 decimal points to accommodate the smallest denomination and this property will have the value 2 in this case. Gets a value indicating whether property is initialized. Gets or sets the sign that is to be used to indicate a negative value. This value is initially set from the and can be changed based on your requirements or based on the locale. Gets a value indicating whether property is initialized. Gets or sets the decimal separator character that will be used for the display. This value is initially set from the and can be changed based on your requirements or based on the locale. Gets a value indicating whether property is initialized. Gets or sets this property specifies the separator to be used for grouping digits. This value is initially set from the and can be changed based on your requirements or based on the locale. Gets a value indicating whether property is initialized. Gets or sets this property specifies the grouping of CurrencyDigits in the CurrencyTextBox. This value is initially set from the and can be changed based on your requirements or based on the locale. Gets a value indicating whether property is initialized. Gets or sets this property specifies the pattern to use when the value is negative. This value is initially set from the and can be changed based on your requirements or based on the locale. Gets a value indicating whether property is initialized. Gets or sets this property specifies the pattern to use when the value is positive. This value is initially set from the and can be changed based on your requirements or based on the locale. Gets a value indicating whether property is initialized. Gets or sets this property specifies the currency symbol to be used in the CurrencyTextBox. This value is initially set from the and can be changed based on your requirements or based on the locale. This example shows how to use the property. //Default currency symbol "$". this.gridControl1.TableStyle.CurrencyEdit.CurrencySymbol = "�"; 'Default currency symbol "$". Me.gridControl1.TableStyle.CurrencyEdit.CurrencySymbol = "�" Gets a value indicating whether property is initialized. Gets or sets the number of digits for the number part. This is not part of the globalization structure. This value is initially set based on the maximum value of the Currency data type. Gets a value indicating whether property is initialized. Gets or sets a value indicating whether NumberFormat should be based on Grid's Style or individual properties of this object true if should be based on ; false if should be based on individual properties of this object. Gets a value indicating whether property is initialized. Gets or sets this property specifies the fore color when the current value is negative. You can customize the look and provide feedback to the user by defining a different color for the negative numbers. /// This example shows how to use property. this.gridControl1.TableStyle.CurrencyEdit.NegativeColor = Color.Red; this.gridControl1.TableStyle.CurrencyEdit.NegativeColor = Color.Red; Gets a value indicating whether property is initialized. Gets or sets this property specifies the forecolor when the current value is positive. You can customize the look and provide feedback to the user by defining a different color for the positive numbers. Gets a value indicating whether property is initialized. Gets or sets whether to include or exclude the literal characters in the input mask when doing a or copy command. This property is used when copying to the clipboard and also the property. When databinding the Text property it is advisable to have the ClipMode set to in cases where the data source does not accept the formatted text. Gets a value indicating whether property is initialized. Gets or sets the null string to be displayed Gets a value indicating whether property is initialized. Gets or sets the value to be saved when the modified display text matches the null string. Gets a value indicating whether property is initialized. Implements the data store for the object. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Initializes a new instance of class. Initializes a new empty instance of class. Initializes a new instance of class. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Creates an exact copy of the current object. Copied object. Gets the Static data. Implements the data store for the object. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Initializes a new instance of class. Initializes an empty instance of class. Initializes a new instance of from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates an exact copy of the current object. Copied object. Initializes an instance of class. Converts the size info to string format. The source of the event. An that contains the event data. Converts the size string to integer format. The source of the event. An that contains the event data. Serialize the property to an XML stream. The source of the event. An that contains the event data. De-serialize the to an XML stream. The source of the event. An that contains the event data. Implements a object for font settings in a cell. Each font property of the cell can be configured individually. Font properties that have not been initialized will inherit default values from a base style. The following code changes font information for cells: model[rowIndex, colIndex].Font.Facename = "Arial"; model[rowIndex, colIndex].Font.Bold = true; Creates the instances of . Holds the style identity information. Holds info for GridFontInfoStore. The new object. Releases the all resources used by the Component. Initializes a new instance of class. Initializes a new instance of class. Initalizes a new instance of object and associates it with an existing . A that holds the identity for this . Initalizes a new instance of object and associates it with an existing . A that holds the identity for this . A that holds data for this . All changes in this style object will saved in the object. Initializes a new instance of object and initializes its FaceName, FontStyle, Size and Unit from the specified font object. A with font information. This example shows how to use the method. Font font = new Font("Segoe UI", 9.5f); this.gridControl1.TableStyle.Font = new GridFontInfo(font); Dim font As New Font("Segoe UI", 9.5f) Me.gridControl1.TableStyle.Font = New GridFontInfo(font) Creates an exact copy of the current object. The new owner style object for the copied object. Identifier for this object. Copy of the current object. Gets the em-size of the specified font object in world-units. The font object. The size in world units. If you need to have the grid clip text in cells device-independent, thus making the print output look exactly the same as screen output you should specify GraphicsUnit.World for of the standard styles object. In the following code snippet, the GraphicsUnit for standard font for a grid control is change to GraphicsUnit.World. GridStyleInfo standard = model.BaseStylesMap["Standard"].StyleInfo; Font dfont = Control.DefaultFont; standard.Font.Unit = GraphicsUnit.World; standard.Font.Facename = dfont.Name; standard.Font.Size = GridFontInfo.SizeInWorldUnit(dfont); Dim standard As GridStyleInfo = model.BaseStylesMap("Standard").StyleInfo Dim dfont As Font = Control.DefaultFont standard.Font.Unit = GraphicsUnit.World standard.Font.Facename = dfont.Name standard.Font.Size = GridFontInfo.SizeInWorldUnit(dfont) Reset the GDIP font. Gets the GDIP font. Returns the Font. Test the GDIP font. Invoked when Font style is changed and reset the font. The that identifies the changed style property. Override this method to return a default style object for your derived class. A default style object. Gets the Font style. Resets the property. Resets the property. Resets the property. Resets the property. Resets the property. Resets the property. Resets the property. Resets the property. Gets a default to be used with a default style. The of the class will return the default border info that this method generates through its overridden version of . Gets or creates a cached GDI+ Font generated from font information of this object. Gets or sets style information for the font. Gets or sets the face name of this object. Gets a value indicating whether the property has been initialized. Gets or sets the size in pixels of this object. Gets a value indicating whether the property has been initialized. Gets or sets the orientation of this object. Gets a value indicating whether the property has been initialized. Gets or sets a value indicating whether this object is bold. Gets a value indicating whether the property has been initialized. Gets or sets a value indicating whether this object is italic. Gets a value indicating whether the property has been initialized. Gets or sets a value indicating whether this object is underlined. Gets a value indicating whether the property has been initialized. Gets or sets a value indicating whether this object should draw a horizontal line through the text. Gets a value indicating whether the property has been initialized. Gets or sets the graphics unit of this object. Gets a value indicating whether the property has been initialized. Implements a user interface to select and configure a object. Initializes the new instance of the class. Gets the editor style used by the method. An that can be used to gain additional context information. A value that indicates the style of editor used by . Edits the value of the specified object using the editor style indicated by . An that can be used to gain additional context information. An that this editor can use to obtain services. The object to edit. The new value of the object. If the value of the object has not changed, this should return the same object that was passed to it. Defines a class that encapsulates the parsed formula and computed value for a cell. This class holds the parsed value of the formula in its Formula property, and holds the computed value of the formula in its Text property. Each cell that is a formula cell stores a GridFormulaTag object in its GridStyleInfo.FormulaTag property. When the cell is drawn, if its GridFormulaTag.Formula property is empty, the formula in the GridStyleInfo.Text property is parsed, and placed into the GridFormulaTag.Formula property. If the GridFormulaTag.Text property is empty, the GridFormulaTag.Formula is computed, and the computed value is stored in GridFormulaTag.Text. Thus, formulas are parsed and computed only when the GridFormulaTag member is empty, otherwise, the stored values are used. Emptying these properties is how the Formula Engine initiates a refresh of the calculated values when dependent cells are modified. Initializes a new instances of the class. Initializes a new instances of the class specified with the formula and text. The parsed formula. The computed value. Initializes a new instances of the class specified with the formula, text, row and column index. The parsed formula. The computed value. /// The row at which this formula is being parsed. The col at which this formula is being parsed. Initializes a new instances of the class with the specified serialization info and streaming context. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Overrides and returns a string that represents the current object. Displays the parsed formula and computed value. Creates a copy of this object. A copy of this object. Gets or sets the value of parsed formula. Gets or sets the value of column where the formula was last parsed. Gets or sets the value of column where the formula was last parsed. Gets or sets the value of text representing the computed value. Defines the constants that specifies the horizontal alignment of contents in a cell. The enumeration represents the different horizontal alignment options for contents of a cell that you can specify with the property of the class. This example shows how to use the enumerator property. this.gridControl1.TableStyle.HorizontalAlignment = GridHorizontalAlignment.Center; Me.gridControl1.TableStyle.HorizontalAlignment = GridHorizontalAlignment.Center Specifies that the contents of a cell are aligned with the left. Specifies that the contents of a cell are aligned with the right. Specifies that the contents of a cell are aligned with the center. Implements the data store for the object. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Initializes a new instances of class. Initializes an empty instance of class. Initializes a new instance from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a copy of the current object. A duplicate of current object. Provides a object for margins in a cell. Each margin side of the cell can be configured individually with a value. Margin sides that have not been initialized will inherit default values from a base style. The following code changes margin information for cells: GridMargins margins = new GridMargins(1, 1, 2, 2); model[rowIndex, colIndex].Margins = new GridMarginsInfo(margins); model[rowIndex, colIndex+1].Margins.Right = 2; model[rowIndex, colIndex+1].Margins.Left = 2; Creates the instances of . Holds the style identity information. Holds info for GridMarginsInfoStore. The new object. Initializes a new instances of class. Initializes a new instances of and saves left, top, right and bottom margins. Left margin. The top margin. The right margin. The bottom margin. Initializes a new instances of and copies settings from a object. A object used to initialize the current object. Initializes a new empty instance of class. Initalizes a new object and associates it with an existing . A that holds the indentity for this . Initalizes a new instance of object and associates it with an existing . A that holds the indentity for this . A that holds data for this . All changes in this style object will saved in the object. Converts this object to a object. A object filled with the current objects settings. Creates an exact copy of the current object. The new owner style object for the copied object. An identifier for this object. A duplicate object. Override this method to return a default style object for your derived class. A default style object. Resets the top margin Resets the left margin Resets the bottom margin Resets the right margin Gets a default to be used with a default style. The of the class will return the default margin info that this method generates through its overridden version of . Gets a empty . Gets or sets the top margin Gets a value indicating whether the top margin has been initialized. Gets or sets the left margin Gets a value indicating whether the left margin has been initialized. Gets or sets the bottom margin Gets a value indicating whether the bottom margin has been initialized. Gets or sets the right margin Gets a value indicating whether the right margin has been initialized. This is an immutable object that provides storage for top, left bottom and right margins in a cell. This is different from . This is a stand-alone class that does not implement any inheritance mechanism. It simply holds the specified values. Initializes a new instance of class. Initializes a new instance of the class. Initializes a new instance of the class with the specified left, right, top, and bottom margins. The left margin. The top margin. The right margin. The bottom margin. Swaps right and left margins. A copy of this object with right and left margins swapped. Retrieves a duplicate of this object, member by member. A duplicate of this object. Serves as a hash function for a particular type. Hash code. Determines if the specified object and the current object are equal. An object to compare. True if they are equal; False otherwise. Returns a string holding the current object. String representation of the current object. Adds margins to a given or Adds margins to a given The original . The to be added. The resulting . Removes margins from a given or Removes margins from a given . The original . The to be removed. The resulting . Adds margins to a given The original . The to be added. The resulting . Removes margins from a given The original . The to be removed. The resulting . Gets results of ToString method. Gets the left margin. Gets the right margin. Gets the top margin. Gets the bottom margin. Gets the total of the left and right margin. Gets the total of the top and bottom margin. Provides a object for masked edit properties in a cell. Each property in this sub object can be configured individually. Properties that have not been initialized will inherit default values from a base style. Creates new The style identity. The store for object storing. Returns the object. Initializes a new instance for class. Initializes a new object and associates it with an existing . A that holds the indentity for this . Initializes a new object and associates it with an existing . A that holds the indentity for this . A that holds data for this . All changes in this style object will be saved in the object. Creates an exact copy of the current object. The new owner style object for the copied object. An identifier for the current object. A copy of the current object. Returns . A object with default values. Resets the property. Determines if values were present in Returns true if HasValue contains AllowPromptProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains ClipModeProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains AllowPromptProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains DateTimeFormatInfoObjectProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains DecimalSeparatorProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains MaskProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains MaxValueProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains MinValueProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains NumberFormatInfoObjectProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains PaddingCharacterProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains PassivePromptCharacterProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains PromptCharacterProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains SpecialCultureValueProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains ThousandSeparatorProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains TimeSeparatorProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains UsageModeProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains UseLocaleDefaultProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains UseUserOverrideProperty, otherwise return false. Gets a default to be used with a default style. The of the class will return the validation info that this method generates through its overridden version of . Default settings are: PropertyValue False ClipModes.IncludeInternals '/' Culture.DateTimeFormat '.' String.Empty int.MaxValue 0 Culture.NumberFormatInfo ' ' ' ' SpecialCultureValues.None ',' ':' MaskedUsageMode.Normal false true Gets or sets a value indicating whether the prompt character can be allowed to be entered as an input character. Gets a value indicating whether property is initialized. Gets or sets the format of the text that will be returned by the MaskedEditBox control. The nature of the formatting is set the the type. Gets a value indicating whether property is initialized. Gets or sets the character to use when a date separator position is specified. Gets a value indicating whether property is initialized. Gets or sets the provides the necessary globalization information for the properties that rely on the datetime settings. Gets a value indicating whether property is initialized. Gets or sets the character to use when a decimal separator position is specified. Gets a value indicating whether the property is initialized. Gets or sets the mask string for the MaskedEditBox control. Gets a value indicating whether the property is initialized. Gets or sets the Maximum Value that can be set through the MaskedEditBox. Gets a value indicating whether the property is initialized. Gets or sets the Minimum Value that can be set through the MaskedEditBox. Gets a value indicating whether the property is initialized. Gets or sets the provides the necessary globalization information for the properties that rely on these settings. Gets a value indicating whether the property is initialized. Gets or sets the character that will be used instead of mask characters when the mask position has not been filled. This example shows how to specify the character that will be used instead of mask characters when the mask position has not been filled. this.gridControl1[4, 8].CellType = GridCellTypeName.MaskEdit; this.gridControl1[4, 8].MaskEdit.Mask = "###-###########"; //sets the character that will be used instead of mask characters when the mask position has not been filled. this.gridControl1.TableStyle.MaskEdit.PaddingCharacter = 'T'; Me.gridControl1(4, 8).CellType = GridCellTypeName.MaskEdit Me.gridControl1(4, 8).MaskEdit.Mask = "###-###########" 'sets the character that will be used instead of mask characters when the mask position has not been filled. Me.gridControl1.TableStyle.MaskEdit.PaddingCharacter = "T" Gets a value indicating whether the property is initialized. Gets or sets the character that will be used instead of mask characters when the mask position has not been filled (when the control does not have the focus). Gets a value indicating whether property is initialized. Gets or sets the character that will be used instead of mask characters when the mask position has not been filled. Gets a value indicating whether property is initialized. Gets or sets the mode for the cultures. Gets a value indicating whether property is initialized. Gets or sets the character to use when a thousands separator position is specified. Gets a value indicating whether the property is initialized. Gets or sets the character to use when a time separator position is specified. Gets a value indicating whether the property is initialized. Gets or sets the usage mode for the MaskedEditBox. Gets a value indicating whether property is initialized. Gets or sets a value indicating whether the individual globalization property changes are to be ignored. If set to True, the individual values will be ignored and the locale default will be used. Gets a value indicating whether the property is initialized. Gets or sets a value indicating whether to UseUserOverride parameter for CultureInfo. Gets a value indicating whether property is initialized. Implements the data store for the object. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Initializes a new instance for class. Initializes a new instance for class. Initializes a new instance for class. Initializes a new instance for from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a copy of current object. A duplicate of current object. Implements the class that stores the data for the object. class. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Sorting order options. Initializes a object. Initializes a new initializes of the class. Initializes a new instances of the from a specific serialization info and streaming context stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Overrides and gets the value of static data store. Defines a class that provides a new object for customization of NumericUpDown cells. Each property in this sub object can be configured individually. Properties that have not been initialized will inherit default values from a base style. The following code changes numeric up / down information for cells: model.TableStyle.NumericUpDown = new GridNumericUpDownCellInfo(0, 25, 1, 1, true); model[rowIndex, 1].Text = "NumericUpDown"; // Wrapping, Range 0-1000 model[rowIndex, 3].CellType = "NumericUpDown"; model[rowIndex, 3].NumericUpDown = new GridNumericUpDownCellInfo(0, 1000, 0, 1, true); // Disabled model[rowIndex, 4].CellType = "NumericUpDown"; model[rowIndex, 4].Enabled = false; model[rowIndex, 4].Text = "5"; // No wrapping, Range 1-20 model[rowIndex, 5].CellType = "NumericUpDown"; model[rowIndex, 5].NumericUpDown = new GridNumericUpDownCellInfo(1, 20, 1, 1, false); rowIndex++; Creates the object for the class. The StyleInfoSubObjectIdentity object. Holds the values of the object. Initializes a new GridNumericUpDownCellInfo object. Initializes a new instances of the class specified with the numeric up / down information. Minimum value. Maximum value. Start value. This is the first value when you press up or down in an empty cell. The step to increase or decrease when clicking up or down buttons. IfTrueValues should start over when the value reaches maximum or minimum. This example shows how to use the method. this.gridControl1.TableStyle.NumericUpDown = new GridNumericUpDownCellInfo(0, 1000, 5, 5, false); Me.gridControl1.TableStyle.NumericUpDown = New GridNumericUpDownCellInfo(0, 1000, 5, 5, False) Initializes a new instances of the class. Initializes a new instances of the class that associates with an existing . A that holds the identity for this . Initializes a new instances of the class associates it with an existing and . A that holds the identity for this . A that holds data for this . All changes in this style object will be saved in the object. Overrides and creates an exact copy of the current object. The new owner style object for the copied object. An identifier for this object. Copied object. Overrides and gets the default style object for your derived class. A default style object. Resets the property. Determines whether to serialize the wrap value or not. Boolean value. Resets the property. Determines whether to serialize the minimum value or not. Boolean value. Resets the property. Determines whether to serialize the maximum value or not. Resets the property. Determines whether to serialize the step value or not. Resets the property. Determines whether to serialize the start value or not. Gets the default value to be used with a default style. The of the class will return the default numeric up / down info that this method generates through its overridden version of . Default settings are: PropertyValue 0 int.MaxValue false 1 0 Gets or sets a value indicating whether to wrap or not. True if value should be starting over when value reaches maximum or minimum. IfTrueThe values should starts over when it reaches the maximum or minimum value. Gets a value indicating whether property is initialized. Gets or sets the minimum value. Gets a value indicating whether the property is initialized. Gets or sets the maximum value. Gets a value indicating whether property is initialized. Gets or sets the step value to increase or decrease when clicking up or down buttons. Gets a value indicating whether the property is initialized. Gets or sets the start value. This is the first value when you press up or down in an empty cell. Gets a value indicating whether property is initialized. Gets or sets the arrow fore color of Up and Down buttons. Gets or sets the background color of Up and Down buttons in normal state. Gets or sets the border color of Up and Down buttons in normal state. Gets or sets the background color of Up and Down buttons in hover state. Gets or sets the border color of Up and Down buttons in hover state. Gets or sets the background color of Up and Down buttons in pressed state. Gets or sets the border color of Up and Down buttons in pressed state. Implements the data store for the object. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Initializes a new instance for object. Initializes a new instance for class. Initializes a new instance for class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates an exact copy of the current object. A duplicate of the current object. Gets the static data source. Provides a object for progress bar properties in a cell. Each property in this sub object can be configured individually. Properties that have not been initialized will inherit default values from a base style. Creates new The style identity. The store for instance that stores the data. Returns the object. Initializes a new instance for object. Initializes a new instance for object and associates it with an existing . A that holds the indentity for this . Initializes a new object and associates it with an existing . A that holds the indentity for this . A that holds data for this . All changes in this style object will saved in the object. Creates an exact copy of the current object. The new owner style object for the copied object. An identifier for this object. Copied object. Returns . A object with default values. Resets the property. Resets the property. Resets the property. Resets the property. Resets the property. Determines if values were present in Returns true if HasValue contains ForeSegmentsProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains StretchMultGradProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains MultipleColorsProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains GradientStartColorProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains GradientEndColorProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains TubeStartColorProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains TubeEndColorProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains BackSegmentsProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains BackMultipleColorsProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains BackGradientStartColorProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains BackGradientEndColorProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains BackTubeStartColorProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains BackTubeEndColorProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains StretchImageProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains ForegroundImageProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains BackgroundImageProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains SegmentWidthProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains FontColorProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains ForeColorProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains TextVisibleProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains TextStyleProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains ProgressOrientationProperty, otherwise return false. Determines if values were present in Returns true if HasValue contains TextOrientationProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains TextShadowProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains ProgressStyleProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains ProgressFallbackStyleProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains AllowPromptProperty, otherwise return false. Resets the property. Determines if values were present in Returns true if HasValue contains AllowPromptProperty, otherwise return false. Gets a default to be used with a default style. The of the class will return the validation info that this method generates through its overridden version of . Default settings are: PropertyValue 50 0 100 10 True True False Color.Red Color.Lime Color.Red Color.Black False False Color.LightGray Color.White Color.LightGray Color.White True NULL 12 Color.White Color.DarkCyan True ProgressBarTextStyles.Percentage True ProgressBarStyles.Constant ProgressBarStyles.Constant ProgressBarBackgroundStyles.None ProgressBarBackgroundStyles.None Gets or sets the value between Minimum and Maximum. This value represents the progress state of the ProgessBar. For default it is set to 50, minimum=0, and maximum=100 ( 50% ). Gets a value indicating whether property is initialized. Gets or sets the lower boundary for the value. By default its value is 0 which means that the Value of the ProgressBar can not take values lower than 0. Gets a value indicating whether property is initialized. Gets or sets the upper boundary for the value. By default its value is 100 which means that the Value of the ProgressBar can not take values higher than 100. Gets a value indicating whether property is initialized. Gets or sets the value to increment when Increment() and Decrement() methods. By default its value is 10 which means that when Increment() is called the Value of the ProgressBar is incremented by 10. Gets a value indicating whether property is initialized. Gets or sets a value indicating whether the foreground is segmented. By default its value is True which means that the foreground will be drawn segmented. Gets a value indicating whether property is initialized. Gets or sets a value indicating whether the multiple gradient is compressed if the value is smaller than maximum. By default its value is True which means that if the Value is less than maximum, the multiple gradient is compressed. Gets a value indicating whether property is initialized. Gets or sets the colors of the foreground multiple gradient when ForegroundStyle is Multiple Gradient. By default its value is an empty Color array. You can add Colors to the multiple gradient by modifying this property. This example shows how to set the colors of the foreground multiple gradient when ForegroundStyle is Multiple Gradient. Color c = Color.Red; Color c1 = Color.Black; Color[] color = new Color[] { c, c1 }; this.gridControl1.TableStyle.ProgressBar.MultipleColors = color; Dim c As Color = Color.Red Dim c1 As Color = Color.Black Dim color() As Color = { c, c1 } Me.gridControl1.TableStyle.ProgressBar.MultipleColors = color Gets a value indicating whether property is initialized. Gets or sets the start color of the foreground gradient when ForegroundStyle is Gradient. Gets a value indicating whether property is initialized. Gets or sets the end color of the foreground gradient when ForegroundStyle is Gradient. Gets a value indicating whether property is initialized. Gets or sets the start color of the foreground tube when ForegroundStyle is Tube. Gets a value indicating whether property is initialized. Gets or sets the end color of the foreground tube when ForegroundStyle is Tube. Gets a value indicating whether property is initialized. Gets or sets a value indicating whether the background is segmented. By default its value is False. Gets a value indicating whether property is initialized. Gets or sets the colors of the background multiple gradient when BackgroundStyle is Multiple Gradient. By default its value is an empty array of colors. Gets a value indicating whether property is initialized. Gets or sets the start color of the background gradient when BackgroundStyle is Gradient or Vertical Gradient. Gets a value indicating whether property is initialized. Gets or sets the end color of the background gradient when BackgroundStyle is Gradient or Vertical Gradient. Gets a value indicating whether property is initialized. Gets or sets the start color of the background tube when BackgroundStyle is Tube. Gets a value indicating whether property is initialized. Gets or sets the end color of the background tube when BackgroundStyle is Tube. Gets a value indicating whether property is initialized. Gets or sets a value indicating whether the foreground image will be stretched. By default its value is True. Gets a value indicating whether property is initialized. Gets or sets the image to draw on the foreground when ProgressStyle is Image. Gets a value indicating whether property is initialized. Gets or sets the image to draw on the foreground when ProgressStyle is Image. Gets a value indicating whether property is initialized. Gets or sets the width of the segments. By default it`s value is 12. Gets a value indicating whether property is initialized. Gets or sets the color of the font. Gets a value indicating whether property is initialized. Gets or sets the color used to draw the foreground in segment mode and constant mode. Gets a value indicating whether property is initialized. Gets or sets a value indicating whether the text is visible. Gets a value indicating whether property is initialized. Gets or sets the style of the text: -Percentage -Value (Ex: 70/150 ) Gets a value indicating whether property is initialized. Gets or sets the horizontal or vertical style of the progress bar. This example shows how to set the ProgressBar orientation. //Align the progress bar. this.gridControl1.TableStyle.ProgressBar.ProgressOrientation = Orientation.Horizontal; Gets a value indicating whether property is initialized. Gets or sets the orientation of the progress bar text. One of the enumeration that specifies the position of the progress bar text. The default value is . This example shows how to set the orientation of the text. this.gridControl.TableStyle.ProgressBar.TextOrientation = Orientation.Vertical; Gets or sets a value indicating whether the text shadow is visible. Gets a value indicating whether property is initialized. Gets or sets the style of the foreground: -Constant -Gradient -Multiple gradient -Tube -Image -System By default its value is Constant. This example shows how to set the foreground styles for progress bar. //Set the foreground styles for progress bar. this.gridControl1.TableStyle.ProgressBar.ProgressStyle = ProgressBarStyles.Tube; Gets a value indicating whether property is initialized. Gets or sets the style of the foreground when ProgressStyle is System and the system can not support Themes. This example shows how to set the style of the foreground of ProgressBarAdv. //set the progress bar style. this.gridControl1.TableStyle.ProgressBar.ProgressFallbackStyle = ProgressBarStyles.Metro; Gets a value indicating whether property is initialized. Gets or sets the style of the background. It can have the following values: -Image -Gradient -Vertical gradient -Tube -Multiple gradient -System -None By default its value is None. Gets a value indicating whether property is initialized. Gets or sets the style of the background when BackgroundStyle is set to System and the system can not support Themes. By default its value is None. This example shows how to sets the style of the background of ProgressBar. //sets the style of the background when BackgroundStyle is set to System and the system can not support Themes. this.gridControl1.TableStyle.ProgressBar.BackgroundFallbackStyle = ProgressBarBackgroundStyles.System; 'sets the style of the background when BackgroundStyle is set to System and the system can not support Themes. Me.gridControl1.TableStyle.ProgressBar.BackgroundFallbackStyle = ProgressBarBackgroundStyles.System Gets a value indicating whether property is initialized. Defines the constants that specifies to show or display the cell button elements. Hides the button. Shows the button. Shows buttons for current row. Make sure to set: GridRefreshCurrentCellBehavior.RefreshRow. Shows buttons only for the current cell. Show buttons only for the current cell when it is being edited. Implements the identity of the cell the style belongs to by class. Identity is the reference back to the cell the style belongs to. GridStyleInfo will ask for base styles through GridStyleInfoIdentity.GetBaseStyles when the user accesses a property that is not initialized in the style. GridStyleInfoIdentity also ensures that changes are made permanent in GridData. Finalizes an instance of the class. Removes the associated cell cache object from the volatile data store. Releases all resources used by the GridStyleInfoIdentity. Initializes a new instance of. Initializes a new instance of with a reference to , row, and column index. A reference to . Row index. Column index. Initializes a new instance of with a reference to , row and column index, and offline state. A reference to . Cell coordinates. Initializes a new instance of with a reference to , row and column index, and offline state. A reference to Row index. Column index. True if changes in this style object should not be stored in the associated . Initializes a new instance of with a reference to , row and column index, and offline state. A reference to . Cell coordinates. True if changes in this style object should not be stored in the associated . Initializes a new instance of and copies its data from an existing object. The existing object to copy data from. Creates a new and copies its identity information from the current object. The new instance will be detached from so that changes in this style object are not be stored in the associated . A new instance. Lets a style object load base styles and default values but disables saving changes back to the grid. (see OnStyleChanged below) Overridden to return base styles from by calling . A reference to a . An array of base styles. Resets the base styles of the grid. Returns a for the specified id / cell type name. Cell type name. The for the given id. Calls . Returns the this style belongs to or NULL if the style is used outside a grid model. A reference to the grid model or NULL if the style is used outside a grid model. Returns the active for the this style belongs to or NULL if the style is used outside a grid model. A reference to the grid control base or NULL if the style is used outside a grid model. Returns a string that represents the current object. A string that represents the current object. Overridden. If the style is not offline, saves its changes in the . A reference to the object. The that identifies the changed style property. Overridden to return the style that has the specific property initialized. The style information. Identifier for the property to operate on. A Syncfusion.Styles.StyleInfoBase that has the property initialized. Gets a value indicating whether changes in the style object should stored. True if changes in this style object should not be stored in the associated . Gets to . Gets the row index. Gets the column index. Gets or sets the cell coordinates. Gets a reference to a . Gets results of ToString method. Initializes the new instance of the class. The grid control. The object holds cell contents,base styles, look up cell types and save changes back to the grid. The row index. The column index. Disposes the unmanaged resources. Overridden to return the active for the this style belongs to or NULL if the style is used outside a grid model. A reference to the grid control base or NULL if the style is used outside a grid model. GridStyleInfoStore holds the plain data for a style object excluding identity information. When persisting grid cells, is the object that should be saved. Identity information can be recreated at run-time when loading cell information but the cell information must be saved. GridStyleInfoStore also holds the static "layout" information for the style. StaticData contains static variables with the information to access data in BitVector32 and StyleInfoObjectStore. This information can be shared among style objects of the same type but collision must be avoided between style types of different products. Having GridStyleInfoStore and ChartStyleInfoStore types solves that collision problem. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Initializes a new instance of class. Initializes a new instance of class. Initializes a instance of class. Initializes a new empty instance ofclass. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a copy of the current object. A duplicate of the current object. Gets the static data. Overridden to get the static data source. Implements a type converter to convert expandable objects to and from various other representations. Overridden to return whether this converter can convert the object to the specified type, using the specified context. An that provides a format context. A that represents the type you want to convert to. true if this converter can perform the conversion; otherwise, false. Overridden to convert the given value object to the specified type, using the specified context and culture information. An that provides a format context. A . If null is passed, the current culture is assumed. The to convert. The to convert the parameter to. An that represents the converted value. Provides a base class that you should derive from if you want to register additional custom properties with . Custom properties will be shown in the property grid for a style just like all other regular properties. You can also add expandable objects such as a font. Custom properties participate in the style inheritance mechanism similar to regular properties. See the following code samples how to get / set custom properties and a derived class with custom properties: GridControl grid = new GridControl(); GridStyleInfo style = new GridStyleInfo(); // using ctor with existing style object and caching the object (both C# and VB) MyCustomStyleProperties mcs = new MyCustomStyleProperties(style); mcs.TheLocked = true; mcs.TheFont.Bold = true; // design time code (both C# and VB) MyCustomStyleProperties myCustomStyleProperties1 = new MyCustomStyleProperties(); myCustomStyleProperties1.TheLocked = true; myCustomStyleProperties1.TheFont.Bold = true; style.CustomProperties.Add(myCustomStyleProperties1); // using ctor with indexer (C# only) (new MyCustomStyleProperties(grid[1,1])).TheLocked = true; (new MyCustomStyleProperties(grid[1,1])).TheFont.Bold = true; // using ctor with existing style object (C# only) style.Text = "bla"; new MyCustomStyleProperties(style).TheLocked = true; new MyCustomStyleProperties(style).TheFont.Bold = true; // explicit case (C# only) ((MyCustomStyleProperties) style).TheLocked = true; ((MyCustomStyleProperties) style).TheFont.Bold = true; Dim style As New GridStyleInfo() Dim grid As New GridControl() ' using ctor with existing style object and caching the object (VB and C#) Dim mcs As New MyCustomStyleProperties(style) mcs.TheLocked = True mcs.TheFont.Bold = True ' design time code (VB and C#) Dim myCustomStyleProperties1 As New MyCustomStyleProperties() myCustomStyleProperties1.TheLocked = True myCustomStyleProperties1.TheFont.Bold = True style.CustomProperties.Add(myCustomStyleProperties1) ' with operator (Visual Basic only) With New MyCustomStyleProperties(style) .TheLocked = True .TheFont.Bold = True End With ' with operator (Visual Basic only) With New MyCustomStyleProperties(grid(1, 1)) .TheLocked = True .TheFont.Bold = True End With using System; using System.ComponentModel; using Syncfusion.Diagnostics; using Syncfusion.Styles; using Syncfusion.Windows.Forms; using Syncfusion.Windows.Forms.Grid; namespace WindowsApplication1 { public class MyCustomStyleProperties : GridStyleInfoCustomProperties { // static initialization of property descriptors static Type t = typeof(MyCustomStyleProperties); readonly static StyleInfoProperty LockedProperty = CreateStyleInfoProperty(t, "TheLocked"); readonly static StyleInfoProperty TheFontProperty = CreateStyleInfoProperty(t, "TheFont"); // default settings for all properties this object holds static MyCustomStyleProperties defaultObject; // initialize default settings for all properties in static ctor static MyCustomStyleProperties () { // all properties must be initialized for the Default property defaultObject = new MyCustomStyleProperties(GridStyleInfo.Default); defaultObject.TheLocked = true; defaultObject.TheFont = GridFontInfo.Default; } /// /// Provides access to default values for this type. /// public static MyCustomStyleProperties Default { get { return defaultObject; } } /// /// Force static ctor being called at least once. /// public static void Initialize() { } // Explicit cast from GridStyleInfo to MyCustomStyleProperties. // (Note: this will only work for C#, Visual Basic does not support dynamic casts.) /// /// Explicit cast from GridStyleInfo to this custom property object. /// /// A new custom properties object. public static explicit operator MyCustomStyleProperties(GridStyleInfo style) { return new MyCustomStyleProperties(style); } /// /// Initializes a MyCustomStyleProperties object with a style object that holds all data. /// public MyCustomStyleProperties(GridStyleInfo style) : base(style) { } /// /// Initializes a MyCustomStyleProperties object with an empty style object. Design- /// time environment will use this ctor and later copy the values to a style object /// by calling style.CustomProperties.Add(otherCustomStyleProperties1). /// public MyCustomStyleProperties() : base() { } /// /// Gets / sets TheLocked state. /// [ Description("Specifies if ..."), Browsable(true), Category("StyleCategoryBehavior") ] public bool TheLocked { get { TraceUtil.TraceCurrentMethodInfo(); return (bool) style.GetValue(LockedProperty); } set { TraceUtil.TraceCurrentMethodInfo(value); style.SetValue(LockedProperty, value); } } /// /// Resets TheLocked state. /// public void ResetTheLocked() { style.ResetValue(LockedProperty); } [EditorBrowsableAttribute(EditorBrowsableState.Never)] private bool ShouldSerializeTheLocked() { return style.HasValue(LockedProperty); } /// /// Gets if TheLocked state has been initialized for the current object. /// [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public bool HasTheLocked { get { return style.HasValue(LockedProperty); } } /// /// Gets / sets TheFont state. TheFont is itself an expandable object /// with several properties that can be set individually and participate /// in style inheritance mechanism. /// [ Description("The font for drawing text."), Browsable(true), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Category("StyleCategoryAppearance") ] public GridFontInfo TheFont { get { return (GridFontInfo) style.GetValue(TheFontProperty); } set { style.SetValue(TheFontProperty, value); } } /// /// Resets TheFont state. /// public void ResetTheFont() { style.ResetValue(TheFontProperty); } [EditorBrowsableAttribute(EditorBrowsableState.Never)] private bool ShouldSerializeTheFont() { return style.HasValue(TheFontProperty); } /// /// Determines if TheFont state has been initialized for the current object. /// [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public bool HasTheFont { get { return style.HasValue(TheFontProperty); } } } public class MyGridControl : GridControl { public MyGridControl() { // force static ctor of MyCustomStyleProperties being called at least once MyCustomStyleProperties.Initialize(); } } } Public Class MyCustomStyleProperties Inherits GridStyleInfoCustomProperties ' static initialization of property descriptors Private Shared t As Type = GetType(MyCustomStyleProperties) Private Shared LockedProperty As StyleInfoProperty = CreateStyleInfoProperty(t, "TheLocked") Private Shared TheFontProperty As StyleInfoProperty = CreateStyleInfoProperty(t, "TheFont") ' default settings for all properties this object holds Private Shared defaultObject As MyCustomStyleProperties ' initialize default settings for all properties in static ctor Shared Sub New() ' all properties must be initialized for the Default property defaultObject = New MyCustomStyleProperties(GridStyleInfo.Default) defaultObject.TheLocked = True defaultObject.TheFont = GridFontInfo.Default End Sub 'New '/ '/ Provides access to default values for this type '/ Public Shared ReadOnly Property [Default]() As MyCustomStyleProperties Get Return defaultObject End Get End Property '/ '/ Force static ctor being called at least once. '/ Public Shared Sub Initialize() End Sub 'Initialize '/ '/ Initializes a MyCustomStyleProperties object with a style object that holds all data. '/ Public Sub New(ByVal style As GridStyleInfo) MyBase.New(style) End Sub 'New '/ '/ Initializes a MyCustomStyleProperties object with an empty style object. Design- '/ time environment will use this ctor and later copy the values to a style object '/ by calling style.CustomProperties.Add(otherCustomStyleProperties1). '/ Public Sub New() End Sub 'New '/ '/ Gets / sets TheLocked state. '/ 'Description("Specifies if ..."), Browsable(True), Category("StyleCategoryBehavior")> _ Public Property TheLocked() As Boolean Get TraceUtil.TraceCurrentMethodInfo() Return CBool(style.GetValue(LockedProperty)) End Get Set(ByVal Value As Boolean) TraceUtil.TraceCurrentMethodInfo(Value) style.SetValue(LockedProperty, Value) End Set End Property '/ '/ Resets TheLocked state. '/ Public Sub ResetTheLocked() style.ResetValue(LockedProperty) End Sub 'ResetTheLocked 'EditorBrowsableAttribute(EditorBrowsableState.Never)> _ Private Function ShouldSerializeTheLocked() As Boolean Return style.HasValue(LockedProperty) End Function 'ShouldSerializeTheLocked '/ '/ Gets if TheLocked state has been initialized for the current object. '/ 'Browsable(False), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)> _ Public ReadOnly Property HasTheLocked() As Boolean Get Return style.HasValue(LockedProperty) End Get End Property '/ '/ Gets / sets TheFont state. TheFont is itself an expandable object '/ with several properties that can be set individually and participate '/ in style inheritance mechanism. '/ 'Description("The font for drawing text."), Browsable(True), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Category("StyleCategoryAppearance")> _ Public Property TheFont() As GridFontInfo Get Return CType(style.GetValue(TheFontProperty), GridFontInfo) End Get Set(ByVal Value As GridFontInfo) style.SetValue(TheFontProperty, Value) End Set End Property '/ '/ Resets TheFont state. '/ Public Sub ResetTheFont() style.ResetValue(TheFontProperty) End Sub 'ResetTheFont 'EditorBrowsableAttribute(EditorBrowsableState.Never)> _ Private Function ShouldSerializeTheFont() As Boolean Return style.HasValue(TheFontProperty) End Function 'ShouldSerializeTheFont '/ '/ Determines if TheFont state has been initialized for the current object. '/ 'Browsable(False), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)> _ Public ReadOnly Property HasTheFont() As Boolean Get Return style.HasValue(TheFontProperty) End Get End Property End Class 'MyCustomStyleProperties The that holds and gets the data for this custom property object. Initializes the new instance of class with a that the properties of this class will belong to. The that holds and gets the data for this custom property object. Initializes the new instance of class with an empty object. When you later set the property, the changes in this object will be copied over to the new object. The collection adds design-time support for custom properties by adding empty custom property objects and later calling , which will result in changing the property for this object and forces copying all properties of this object to the style object. Creates the . Type of declarations. Static data source. Type of declarations. Property name. Options for style properties. StyleInfo property. Registers a new custom property. > Registers a new custom property. The type of your derived custom property class. The type of the property. The name of the property. This must match a property member in your class. A object that you should use for getting and setting values. Registers a new custom property. The type of your derived custom property class. The name of the property. This must match a property member in your class. A object that you should use for getting and setting values. Registers a new custom property. The type of your derived custom property class. The name of the property. This must match a property member in your class. Specifies attributes for the property. A object that you should use for getting and setting values. Registers a new custom property. The type of your derived custom property class. The type of the property. The name of the property. This must match a property member in your class. Specifies attributes for the property. A object that you should use for getting and setting values. Gets or sets the that holds and gets the data for this custom property object. When you set the property, all prior changes in this object will be copied over to the new object. Implements a collection of custom property objects that have at least one initialized value. The primary purpose of this collection is to support design-time code serialization of custom properties. Initializes a with a reference to the parent style object. The style info Copies the initialized properties of the specified custom property to the parent style object and attaches the custom property object with the parent style object. A GridStyleInfoCustomProperties with custom properties. Copies the elements to a one-dimensional at the specified index. The one-dimensional that is the destination of the object's from instance. The must have zero-based indexing. The zero-based index in at which copying begins. Copies the elements of the System.Collections.ICollection to an System.Array, starting at a particular System.Array index. The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. The System.Array must have zero-based indexing. The zero-based index in array at which copying begins. Returns an enumerator that iterates through a collection. An System.Collections.IEnumerator object that can be used to iterate through the collection. Gets a value indicating whether access to the System.Collections.ICollection is synchronized (thread safe). Gets the number of objects in this collection. Gets an object that can be used to synchronize access to the System.Collections.ICollection. Defines a class that provides a type converter to convert expandable objects to and from various other representations. Initializes anew instance of the class. Determines whether this converter can convert an object to the specified destination type. Format context. The type you want to convert to. IfTrueConversion is possible;Otherwise False. Overrides and converts the given value object to the specified destination type. Format context. Current culture information. The object to convert. Type to convert the value parameter to. Converted object. Represents a class that holds a table where each item is a StyleInfoStore. GridStyleInfoStoreTable is used with GetCells and SetCells method calls. Also, Insert and Remove cells commands use GridStyleInfoStoreTable to store undo information for cells. Initializes a new instances of the class from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the class. A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Initializes a new instances of the class and initializes its row and column count. Row count. Column count. Gets the value of Row count of the table. Gets the value of Column count of the table. Gets or sets the value of User-defined data, e.g. covered ranges in clipboard copy / paste. Gets or sets the at a specific row and column index. Defines a class that provides style identity information for nested objects of the class. Initializes a new instances of the object and associates it with a specified . The that owns this sub-object. The descriptor for this expandable sub-object. Defines the constants that specifies the text alignment for . Uses the setting defined as default for the cell type. Aligns the text left of button elements. This is typical for combo boxes. Aligns the text right of button elements. Specifies the vertical alignment of an object or text in a cell. The enumeration represents the different vertical alignment options for contents of a cell that you can specify with the property of the class. Specifies that the contents of a cell are aligned with the top. Specifies that the contents of a cell are aligned with the center. Specifies that the contents of a control are aligned with the bottom. The Syncfusion.Windows.Forms.Grid.Design namespace contains classes that supports design-time configuration of the Essential GridControl in the designer view. Implements the actions such as MenuActions, Edit actions or plug-in. Used to set the state of Toolbar/Menu items that are tied to the action. Inherited classes may override to change functionality. Whether or not the sourceObject is selected The object tied to the action. Gets the Grid control. The Form. The grid control. Applies the supplied style to the supplied GridControlBase object Gets currently active Grid, if more than one are present Gets or sets the main window of the design editor Implements the for grid control. Initializes the new instance of the class. Invoked when grid control designer is activated. The source of the event. An that contains the event data. Initializes the designer with the specified component. The component to associate the designer with. Invoked when grid control designer is deactivated. The source of the event. An that contains the event data. Invoked when selection is changed. The source of the event. An that contains the event data. Invoked when selection is changing. The source of the event. An that contains the event data. Determines whether refresh mode should be set or not. A boolean value. Gets the RegistryKey. Initializes the empty instance of the class. Initialize the new components. A collection of key/pair values. Disposes the unmanaged resources. Indicates whether the control is disposing. Invoked when grid control load completed. The source of the event. An that contains event data. Raises the events events of . Initialize the base styles for grid. The source of the event. An that contains the event data. Invoked when edit the grid control designer. The source of the event. An that contains the event data. Invoked when edit the grid control designer. The source of the event. An that contains the event data. Display the error message. Error message. Display the warning message. Warning message. Display the message. The message. The message box icon. Gets the . Gets or sets the FormatRowCount. Gets or sets a value indicating whether persist the row styles or not. Gets or sets the . Gets the . Defines the grid control load mode. initial load may have serialization errors. add assembly resolver and redo reload is done. remove assembly resolver and set to LoadMode.Done mode Represent Done. Implements the for GridControlDesigner. Controls the binding of a serialized object to a type. The assembly name of the serialized object. Type name of the serialized object. The type of the object the formatter creates a new instance of. Static entry point for design editor Default Constructor. Initializes the design editor based on the supplied GridControl The grid control. A derived grid component class. GridControl provides a simplified way to use a grid control and model in one place. GridControl implements methods from and also implements all methods and events that are defined in . GridControl hides the implementation details that the underlying functionality is implemented in a separate model and view class and provides a one-stop interface to perform all grid operations in one place. GridControl also adds support for customizing the grid in a visual designer and lets you drop the grid control in a Windows Forms dialog at design-time. The can be attached and replaced with another object at run-time. The GridControl class will remove any dependencies on the old model and set up a relationship with the new model. Implements a grid control that displays a grid model. implements a view on a . Several views can be opened for the same model. Changes in are reflected immediately among all views. The provides storage for all data and settings associated with the grid. The implements user interaction and display of the data. is a user control that is derived from . It lets the user scroll through grid data with mouse or keyboard. The grid displays a large number of cells where each cell can have its own unique formatting and cell type. also offers a wide range of events that let you customize the default behavior of the grid at run-time. In version 1.x, the GC class did derive directly from GridControlBase. Version 2.x derives GridControl from GridControlBaseImp. If you do have classes that derive directly from GridControlBase, your code will break. Please read the following explanation. If you derived directly from GridControlBase in your code, it is recommended that you change your code such that you derive from GridControlBaseImp instead. If you derived from the GridControl class, no action is required on your side. Here is why: In Version 1.x, the GridControlBase class did by default initialize all MouseControllers and CellTypes. We changed this now such that the GridControlBase class will only initialize the very basic cell types and mouse controllers. This step will help us later make the grid more modular and provide techniques to trim down the size of the grid assembly if you only need a subset of the features or also if we want to make parts of the grid work without interop code. The idea was to have a grid base class that only has minimal dependencies on other classes. If you have the grid source code and look at the grid\src tree, you will notice a "Base" folder and an "Extensions" folder. "Base" contains all essential files for a bare grid. "Extensions" contains all the files to make it a full-featured grid. In order to keep compatibility with existing code, the GridControlBaseImp class has been added. GridControlBaseImp is derived from GridControlBase and its sole purpose is to initialize all mouse controllers and cell types and establish other dependencies on grid features. If you derived directly from GridControlBase in your code base, it is recommended that you change your code such that you derive from GridControlBaseImp instead. Then your code should work without further change. Otherwise you need to manually initialize MouseControllers and cell types. The GridControl class itself has been changed such that it derives from GridControlBaseImp. Therefore if you were using the GridControl class no further change is necessary on your side. Here is a list of differences between GridControlBaseImp and GridControlBase: GridControlBaseImp sets up the GridCellModelFactory as default cell type factory. GridControlBase on the other hand only sets up GridBaseCellModelFactory. GridCellModelFactory is able to instantiate the whole range of cell types that are part of Essential Grid. GridBaseCellModelFactory on the other hand only has dependencies on Header, Static, TextBox, ComboBox, and PushButton. So, if your code derives from GridControlBase directly and some celltypes do not appear to get instantiated, you should add cell types manually to the CellModels collection or derive from GridControlBaseImp. GridControlBaseImp overrides the InitializeMouseControllers method. In this override it checks Model.Options.ControllerOptions and instantiates all mouse controllers that have been specified in this flag. GridControlBase on the other hand does not perform any action in InitializeMouseControllers. Other features that are implemented in GridControlBaseImp and not GridControlBase are: The AccessibilityEnabled property. GridControlBase itself has no Accessibility support. Multiple cell selection. OLE drag-and-drop Cell tips Again, if you derived from GridControl, no action is required. If you derived from GridControlBase, please change your code to derive from GridControlBaseImp instead. The change is mainly a preparation to make it easier for us in future. We try hard not to break existing code. Providing a GridControlBaseImp class seemed like a good, easy solution and will help us in the future make the grid more modular. Initializes a new . Initializes a new . Initializes a new . Initializes a new and attaches it to a . The this control is associated with. Initialize the Initializes all mouse controllers for this grid. See for default mouse controllers that you can enable and disable through the of the property. Controllers will be added and removed from . Resets all mouse controllers and removes them from . Initializes all data object consumers for this grid. See for default consumers that you can enable and disable through the property of the property. Controllers will be registered by the . Sets up listeners for the and initializes mouse controllers and data object consumers. Releases listeners for the . Overridden to update the selected cells range. This event occurs when GridModel selection changed. The source control The that contains event data. This event occurs before selection cleared. The source control The that contains event data. This event occurs when GridModel prepared to change the selection. The source control The that contains event data. Enables OLE Data Source support for this control with default support for Text and Styles format. True if support was enabled successfully; False otherwise. Enables OLE Data Source support for this control with default support for Text and Styles format. See for various flags that customize the OLE Data Source behavior of the grid. True if support was enabled successfully; False otherwise. Enables OLE Drop Target support for this control with default support for Text and Styles format. Enables OLE Drop Target support for this control with options specified. See for various flags that customize the OLE Drop Target behavior of the grid. Creates a GridOleDropTarget object and calls GridOleDropTarget.Register. Override this method if you want to customize behavior of the GridOleDropTarget object. The grid control Value for DragDropDropTargetFlags returns GridOleDropTarget Registers a with the grid that can participate in an OLE Drop Target operation. If you want to add support for custom clipboard formats, you should create a class that implements IGridDataObjectConsumer and register it with . An to be added to the internal collection of OLE Drop Target consumers. Used to create an object to access row. The index of the row. Returns the new object to access the specified row. Used to create an object to access column header. The index of the column. Returns the new object to access the specified column header. Creates a new accessibility object for the control. A new for the control. Unwires any events subscribed from GridCheckBoxCellRenderer. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Creates and initializes a ToolTip object. InitialDelay will be 500 and ReshowDelay will be set to 0 by default. The initialized ToolTip object for this grid. Forces the control to invalidate its client area and immediately redraw itself and any child controls. True if the grid model needs to be refreshed. Used to change behavior when mouse move inside the cellTip. The that contains event data. Raises the event. A that contains the event data. Overridden to call OnCellTipsMouseMove. The that contains event data. Unwires any events subscribed from GridCheckBoxCellRenderer. The Source control. The that contains event data. Raises the event. A that contains the event data. Raises the OnQueryAllowDragColumnHeader. The that contains event data. Used internally. Gets the row accessible objects index. Gets the column header accessible objects index. Gets or sets a value indicating whether the control should enable its Accessibility support. Gets or sets a reference to the ToolTip object used for displaying as ToolTips for cells. Occurs when mouse has moved to a new cell and a ToolTip is initialized for that cell. You have two options: 1) Set e.Style.CellTipText - Or - 2) Initialize the ToolTip directly (see property) and then set e.Cancel = true; Occurs when the user hovers the mouse over a column header or clicks on it. In your event handler, you can determine if the selected column can be dragged. You can disallow dragging the column when you assign False to . Initializes a new object with default settings. Initializes a new object with default settings. Determines if property is modified. Returns the bool value based on touch mode enabled or not. Resets the property to default value. applies the scaling Represents the floating point number Used to change the default behaviour of the FontChanged event provides the value to use for events Used to change the default behaviour of the SizeChanged event provides the value to use for events This is called when the grid has been assigned an empty model. Raises the event the location for the control is changed event arguments Initializes a new and binds it to the specified . The grid model. Attaches a model for the grid control. The grid model to be attached. The can be attached and replaced with another object at run-time. The GridControl class will remove any dependencies on the old model and set up a relationship with the new model. When you replace the model, the grid control will completely refresh and draw the new cell data. Detaches a model from the grid control. The grid model. The can be attached and replaced with another object at run-time. The GridControl class will remove any dependencies on the old model and set up a relationship with the new model. When you replace the model, the grid control will completely refresh and draw the new cell data. Raises the event. Event data. Raises the event. Event data. Raises the event. Event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Resets the property. True if is set to SerializeIntoCode, otherwise false. returns True if is set to SerializeIntoCode, otherwise false. Clears all cell formatting. Clears all cell formatting in the object. Determines if the range styles should be serialized. True if they should be serialized; False otherwise. Determines if values in the collection were modified. True if modified; False otherwise. Resets values in the collection. Determines if values in the collection were modified. True if modified; False otherwise. Resets values in the collection. Determines if values in the collection were modified. True if modified; False otherwise. Resets values in the collection. Determines if values in the collection were modified. True if modified; False otherwise. Resets values in the collection. Determines if values in the collection were modified. True if modified; False otherwise. Resets values in the collection. Determines if values in the collection were modified. True if modified; False otherwise. Resets values in the collection. Determines if values in the collection were modified. True if modified; False otherwise. Resets values in the collection. Determines if values in the collection were modified. true if modified; false otherwise. Resets values in the collection. Determines if values in the collection were empty or not. Returns true if empty, else returns false. Resets the property. Determines if covered ranges have been added. returns boolean value if covered ranges have been added. Clears all covered ranges. Determines if bannered ranges have been added. returns boolean value if bannered ranges have been added Clears all bannered ranges. Resets the property. Get or Set of Skin Manager Interface Sets the Custom metro colors to the Grid. Custom Metro Color Custom MouseHover Color Custom PushButtonPress Color set the color for metro theme in Grid Collection of metro colors Sets the custom colors for the Office2016 themes. Collection of office 2016 theme colors. Office 2016 visual style which needs to be customized. See in the GridModel class for information. Resumes the painting of the control suspended by calling the BeginUpdate method. See in the GridModel class for information. Specifies whether current pending paint operations should be discarded. Specified if this EndUpdate call was triggered by a call to the of the Suspends the painting of associated grid controls until the EndUpdate method is called and records a command description why painting is suspended. Specifies the painting support during the BeginUpdate, EndUpdate batch. A description of the command. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. Raise a event. Graphics object. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. Recreates the with properties and data that was saved in xml format. Recreates the with properties and data that was saved in xml format. Recreates the with properties and data that was saved in xml format. Recreates the with properties and data that was saved in xml format. Sets the property if the property is set. Saves the current object to a file in xml format. The filename can be specified with . Saves the current object in xml format to a file with the specified filename. Saves the current object to a stream in xml format. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. A that specifies the range of cells. A object that holds contents for all the cells. See in the GridModel class for information. This example shows how to populate the values to the grid with the specified range and datasource. // Populating DataSource DataTable dataTable = new DataTable("Sample"); dataTable.Columns.Add("Column 1"); dataTable.Columns.Add("Column 2"); dataTable.Columns.Add("Column 3"); dataTable.Columns.Add("Column 4"); dataTable.Rows.Add("Row1", "Row2", "Row3", "Row4"); Populating the values to grid. this.gridControl1.PopulateValues(GridRangeInfo.Cells(1, 1, dataTable.Rows.Count, dataTable.Columns.Count), dataTable); ' Populating DataSource Dim dataTable As DataTable = New DataTable("Sample") dataTable.Columns.Add("Column 1") dataTable.Columns.Add("Column 2") dataTable.Columns.Add("Column 3") dataTable.Columns.Add("Column 4") dataTable.Rows.Add("Row1", "Row2", "Row3", "Row4") 'Populating the values to grid. this.gridControl1.PopulateValues(GridRangeInfo.Cells(1, 1, dataTable.Rows.Count, dataTable.Columns.Count), dataTable) See in the GridModel class for information. This example shows how to populate the header values with the specified range and datasource. method. // Populating DataSource DataTable dataTable = new DataTable("Sample"); dataTable.Columns.Add("Column 1"); dataTable.Columns.Add("Column 2"); dataTable.Columns.Add("Column 3"); dataTable.Columns.Add("Column 4"); dataTable.Rows.Add("Row1", "Row2", "Row3", "Row4"); //Populating the headers this.gridControl1.PopulateHeaders(GridRangeInfo.Cells(0, 1, 0, 4), dataTable); ' Populating DataSource Dim dataTable As DataTable = New DataTable("Sample") dataTable.Columns.Add("Column 1") dataTable.Columns.Add("Column 2") dataTable.Columns.Add("Column 3") dataTable.Columns.Add("Column 4") dataTable.Rows.Add("Row1", "Row2", "Row3", "Row4") ' Populating the headers Me.gridControl1.PopulateHeaders(GridRangeInfo.Cells(0, 1, 0, 4), dataTable) See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. Records current selection state - current cell and selected ranges. Will be used for restoring selections when performing undo / redo, The row index of current cell. The column index of current cell. The current list of selected ranges. See in the GridModel class for information. This example shows how to change the cell values with the specified text and range. // The target range to set the text. GridRangeInfo range = GridRangeInfo.Cols(1, 2); //Setting the "SampleData" text to target range. this.gridControl1.ChangeCells(range, "SampleData"); ' The target range to set the text. Dim range As GridRangeInfo = GridRangeInfo.Cols(1, 2) 'Setting the "SampleData" text to target range. Me.gridControl1.ChangeCells(range, "SampleData") See in the GridModel class for information. This example shows how to change the cell values with the specified style and range. // Defining the new cell styles. GridStyleInfo newStyle = new GridStyleInfo(); newStyle.CellType = GridCellTypeName.ComboBox; // Setting the styles of range of cells to new style. this.gridControl1.ChangeCells(GridRangeInfo.Rows(1, 2), newStyle); ' Defining the new cell styles. Dim newStyle As GridStyleInfo = New GridStyleInfo newStyle.CellType = GridCellTypeName.ComboBox // Setting the styles of range of cells to new style. Me.gridControl1.ChangeCells(GridRangeInfo.Rows(1, 2), newStyle) See in the GridModel class for information. This example shows how to change the cell values with the specified style and range. // Defining the new cell styles. GridStyleInfo newStyle = new GridStyleInfo(); newStyle.CellType = GridCellTypeName.ComboBox; // Setting the styles of range of cells to new style. this.gridControl1.ChangeCells(GridRangeInfo.Rows(1, 2), newStyle, Syncfusion.Styles.StyleModifyType.Changes); Dim newStyle As GridStyleInfo = New GridStyleInfo newStyle.CellType = GridCellTypeName.ComboBox ' Setting the styles of range of cells to new style. Me.gridControl1.ChangeCells(GridRangeInfo.Rows(1, 2), newStyle, Syncfusion.Styles.StyleModifyType.Changes) See in the GridModel class for information. This example shows how to change the cell values with the specified range and array of specific style values. // Defining the new cell styles. GridStyleInfo newStyle = new GridStyleInfo(); newStyle.CellType = GridCellTypeName.ComboBox; // Setting the styles of range of cells to new style. this.gridControl1.ChangeCells(GridRangeInfo.Rows(1, 2), newStyle, Syncfusion.Styles.StyleModifyType.Changes); ' Defining the new cell styles. Dim newStyle As GridStyleInfo = New GridStyleInfo newStyle.CellType = GridCellTypeName.ComboBox ' Setting the styles of range of cells to new style. Me.gridControl1.ChangeCells(GridRangeInfo.Rows(1, 2), newStyle, Syncfusion.Styles.StyleModifyType.Changes) See in the GridModel class for information. This example shows how to use CoveredRanges property. GridStyleInfo style1 = new GridStyleInfo(); style1.TextColor = Color.Blue; GridStyleInfo style2 = new GridStyleInfo(); style2.BackColor = Color.Red; GridStyleInfo[] styles = new GridStyleInfo[] { style1, style2 }; GridRangeInfo range = GridRangeInfo.Rows(1,2); this.gridControl1.ChangeCells(range, styles, Syncfusion.Styles.StyleModifyType.Remove); Dim style1 As GridStyleInfo = New GridStyleInfo style1.TextColor = Color.Blue Dim style2 As GridStyleInfo = New GridStyleInfo style2.BackColor = Color.Red Dim styles() As GridStyleInfo = New GridStyleInfo() {style1, style2} Dim range As GridRangeInfo = GridRangeInfo.Rows(1, 2) Me.gridControl1.ChangeCells(range, styles, Syncfusion.Styles.StyleModifyType.Remove) See in the GridModel class for information. See in the GridModel class for information. Checks if a range of cells is selected or if the grid has a current cell which contents can be cleared. True if clearing cells with is possible; False otherwise. Use this to enable a "Clear" menu item or gray it out. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. Confirms any pending changes, raises the event, and calls the current cells method. True if this action is successfully completed; False otherwise. See in the GridModel class for information. See in the GridModel class for information. Adds border margins to given cell client area size. The borders are determined from a specified style with cell content information. The with the cell size. The object that holds cell information. The with the cell size including its borders. See in the GridModel class for information. See in the GridModel class for information. Recalculates the Column width of the Grid Control. Used to call OnMouseDown event by using point and MouseButtons. The where the button clicks The mouse button. Used to call OnMouseUp event by using point and MouseButtons. The where the button clicks The mouse button. Used to call OnMouseMove event by using point. The where the mouse moves. /// Used to call OnHScroll event by using ScrollEventArgs. The that contains event data. /// Used to call OnVScroll event by using ScrollEventArgs. The that contains event data. Used to modify the windows processing messages. The passed form windows. used to reset the Serialize cells behavior. Determines if values in the collection were modified. True if modified; False otherwise. Used to decide to do the selection or dragging or resizing operations based on touchController. touch position when panning operation start return false when do other operations like selection, dragging and resizing Handles the Resize,Selection,Dragging or the panning operations based on the touch controller. Current touch position used to decide the swipe scrolling operation occurs. When isSwipeScroll is true then cancel the panning operations while touch over the header cell. Retruns false if do the resize, dragging and selection process. Otherwise return true Call the mouse up method when resize or dragging or selection process done otherwise call the base method touch control end point Return false when resizing or selection or dragging process done Gets or sets the touch mode. Indicates the grid is wired with excel style filter. This is specifically used to apply the filter in excel sheet while exporting. Gets or sets the site of the control. Specifies the font used to display text in the grid. This event occurs when GridTableDescriptor is initializing columns with .AllowFilter set and gives you the option to handle filterBar choices through custom code. In such case the event is also raised when the user clicks on on dropdown button of a GridTableFilterBarCell. This event occurs when an item selected through the filtered dropdown. This event occurs after an item selected through the filtered dropdown. See in the GridModel class for information. See in the GridModel class for information. This example shows how to use ControllerOptions property. // Resizing and selecting functionality of row and column will be enabled for grid. Other functionalities like Clicking, OleDropTarget ..etc will not be worked. this.gridControl1.ControllerOptions = GridControllerOptions.ResizeCells | GridControllerOptions.SelectCells; ' Resizing and selecting functionality of row and column will be enabled for grid. Other functionalities like Clicking, OleDropTarget ..etc will not be worked. Me.gridControl1.ControllerOptions = (GridControllerOptions.ResizeCells Or GridControllerOptions.SelectCells) See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. This example shows how to use BaseStylesMap property. // TextColor for all the grid cells will be changed to Blue this.gridControl1.BaseStylesMap["Standard"].StyleInfo.TextColor = Color.Blue; // Backcolor for all the header cells (Row and Column) will be changed as "Red" this.gridControl1.BaseStylesMap["Header"].StyleInfo.BackColor = Color.Red; ' TextColor for all the grid cells will be changed to Blue Me.gridControl1.BaseStylesMap["Standard"].StyleInfo.TextColor = Color.Blue ' Backcolor for all the header cells (Row and Column) will be changed as "Red" Me.gridControl1.BaseStylesMap["Header"].StyleInfo.BackColor = Color.Red Gets or sets a collection of objects. This collection is a wrapper collection for cells in the object. It provides support for code serialization at design-time. Gets or sets a collection of objects. This collection is a wrapper collection for cells in the object. It provides support for modifying cells through a CollectionEditor and code serialization at design-time. Gets or sets a collection of objects. This collection is a wrapper collection for values in the object. It provides support for modifying values through a CollectionEditor and code serialization at design-time. Gets or sets a collection of objects. This collection is a wrapper collection for values in the object. It provides support for modifying values through a CollectionEditor and code serialization at design-time. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. This example shows how to use HideRows property. // Hiding the first row. this.gridControl1.HideRows[1] = true; // Removing the first row from hidden. this.gridControl1.HideRows [3] = false; ' Hiding the first row. Me.gridControl1.HideRows[1] = true ' Removing the first row from hidden. Me.gridControl1.HideRows [3] = false See in the GridModel class for information. This example shows how to use HideCols property. // Hiding the first column. this.gridControl1.HideCols[1] = true; // Removing the second column from hidden. this.gridControl1.HideCols[4] = false; ' Hiding the first column. Me.gridControl1.HideCols[1] = true ' Removing the second column from hidden. Me.gridControl1.HideCols[4] = false Gets or sets a collection of objects. This collection is a wrapper collection for values in the object. It provides support for modifying values through a CollectionEditor and code serialization at design-time. Gets or sets a collection of objects. This collection is a wrapper collection for values in the object. It provides support for modifying values through a CollectionEditor and code serialization at design-time. See in the GridModel class for information. This example shows how to use CommandStack property. // Undo the actions in the grid. this.gridControl1.CommandStack.Undo(); //Redo the actions in the grid. this.gridControl1.CommandStack.Redo(); // Getting the current command mode of the grid. GridCommandMode commandMode = this.gridControl1.CommandStack.Mode; ' Undo the actions in the grid. Me.gridControl1.CommandStack.Undo() ' Redo the actions in the grid. Me.gridControl1.CommandStack.Redo() ' Getting the current command mode of the grid. Dim commandMode As GridCommandMode = Me.gridControl1.CommandStack.Mode See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. Gets or sets a value indicating whether to control 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. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. Gets or sets the enable browse only state for Grid, can't able to edit and update. See in the GridModel class for information. See in the GridModel class for information. This example shows how to use ColStyles property. // Setting whole column's styles. this.gridControl1.ColStyles[1].BackColor = Color.Red; this.gridControl1.ColStyles[1].Font.Facename = "Segoe UI"; this.gridControl1.ColStyles[1].Font.Bold = true; ' Setting whole column's styles. Me.gridControl1.ColStyles[1].BackColor = Color.Red Me.gridControl1.ColStyles[1].Font.Facename = "Segoe UI" Me.gridControl1.ColStyles[1].Font.Bold = true See and see in the GridModel class for information. This example shows how to use RowStyles property. // Setting styles for the whole row with the specific row index. this.gridControl1.RowStyles[1].BackColor = Color.Red; this.gridControl1.RowStyles[1].Font.Facename = "Segoe UI"; this.gridControl1.RowStyles[1].Font.Bold = true; ' Setting styles for the whole row with the specific row index. Me.gridControl1.RowStyles(1).BackColor = Color.Red Me.gridControl1.RowStyles(1).Font.Facename = "Segoe UI" Me.gridControl1.RowStyles(1).Font.Bold = true See in the GridModel class for information. This example shows how to use TableStyle/// This example shows how to use property. property. this.gridControl1.TableStyle.TextColor = Color.Red; this.gridControl1.TableStyle.Font.Facename = "Segoe UI"; this.gridControl1.TableStyle.Font.Size = 15; Me.gridControl1.TableStyle.TextColor = Color.Red Me.gridControl1.TableStyle.Font.Facename = "Segoe UI" Me.gridControl1.TableStyle.Font.Size = 15 See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. This example shows how to use CoveredRanges property. // Defining the covered range. GridRangeInfo coveredRange = GridRangeInfo.Cells(1, 2, 5, 5); // Adding the range to be covered. this.gridControl1.CoveredRanges.Add(coveredRange); ' Defining the covered range. Dim coveredRange As GridRangeInfo = GridRangeInfo.Cells(1, 2, 5, 5) ' Adding the range to be covered. Me.gridControl1.CoveredRanges.Add(coveredRange) See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. This example shows how to use CellModels property. //Specify the cell model to be added in the grid model with cell type name. this.gridControl1.CellModels.Add("SampleCellType", new GridHeaderCellModel(this.gridControl1.Model)); // Set the added cell type to the cell. this.gridControl1.ColStyles[1].CellType = "SampleCellType"; ' Specify the cell model to be added in the grid model with cell type name. Me.gridControl1.CellModels.Add("SampleCellType", new GridHeaderCellModel(this.gridControl1.Model)) ' Set the added cell type to the cell. Me.gridControl1.ColStyles[1].CellType = "SampleCellType" See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. This example shows how to use DragSelectedCellsMouseButtonsMask property. // Setting the mouse button mask to drag either using Left or Right mouse button. this.gridControl1.DragSelectedCellsMouseButtonsMask = System.Windows.Forms.MouseButtons.Left | System.Windows.Forms.MouseButtons.Right; ' Setting the mouse button mask to drag either using Left or Right mouse button. Me.gridControl1.DragSelectedCellsMouseButtonsMask = (System.Windows.Forms.MouseButtons.Left Or System.Windows.Forms.MouseButtons.Right) See in the GridModel class for information. Gets or sets the method in which items are selected in the when it is being used in list box mode . This example shows how to use ListBoxSelectionMode property. // Setting grid's selection mode as MultiExtended this.gridControl1.ListBoxSelectionMode = SelectionMode.MultiExtended; ' Setting grid control selection mode as MultiExtended Me.gridControl1.ListBoxSelectionMode = SelectionMode.MultiExtended See in the GridModel class for information. 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. See in the GridModel class for information. See in the GridModel class for information. This example shows how to use ActivateCurrentCellBehavior property. // Current cell will be activated when clicking on a cell. this.gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.ClickOnCell; ' Current cell will be activated when clicking on a cell. Me.gridControl1.ActivateCurrentCellBehavior = GridCellActivateAction.ClickOnCell See in the GridModel class for information. This example shows how to use EnterKeyBehavior property. // Moves the current cell to the bottom when pressing Enter key. this.gridControl1.EnterKeyBehavior = GridDirectionType.Bottom; ' Moves the current cell to the bottom when pressing Enter key. Me.gridControl1.EnterKeyBehavior = GridDirectionType.Bottom See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. Gets or sets a value indicating whether the grid should be display column headers. Gets or sets a value indicating whether horizontal lines should be displayed. Gets or sets a value indicating whether vertical lines should be displayed. Gets or sets the color of grid lines. Gets or sets a value indicating whether column headers should be printed when printing the grid. Gets or sets a value indicating whether the grid should draw horizontal lines when printing. Gets or sets a value indicating whether row headers should be printed when printing the grid. Gets or sets a value indicating whether the grid should draw vertical lines when printing. Gets or sets a value indicating whether row headers should be displayed or hidden. (Might be better to use HideCols[0] = false) instead. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. This example shows how to use ShowCurrentCellBorderBehavior property. //Current cell border will always visible this.gridControl1.ShowCurrentCellBorderBehavior = GridShowCurrentCellBorder.AlwaysVisible; 'Current cell border will always visible Me.gridControl1.ShowCurrentCellBorderBehavior = GridShowCurrentCellBorder.AlwaysVisible See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. Gets or Sets the Legacy styles in the Table Model Value should be false to apply ColorStyles Gets or sets the VisualStyles (skins) like Office2010, Office2007, Office2003 [Deprecated]Gets or sets the VisualStyles (skins) like Office2010, Office2007, Office2003 Gets or sets the VisualStylesDrawing object Occurs when the is querying for the based on a string cellType. The GridModel has a table with all cell types used in the grid. Whenever the grid encounters a new cell type that it cannot find in the table, it will raise a event. The identifies the name of the cell type. The should receive the new instance of the associated cell object. This object will be stored in the table together with its name and reused among cells with the same . You should process this event if you want to add custom cell types and initialize these cell types on demand when associated cells are accessed the first time. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. Occurs after floating state was changed for a range of cells. Occurs when grid compares the contents of two cells to determine if they should be merged. Occurs when the grid's CanCopy method is called. Occurs when the grid's CanPaste method is called. Occurs when the grid's CanCut method is called. Occurs when the grid's Copy method is called. Occurs when the grid's Cut method is called. Occurs when the grid's Paste method is called. Occurs when the grid's CopyToBuffer method is called. Occurs when the grid's ClearCells method is called. Occurs each time the GridStyleInfo.Text is called to get the string that represents the underlying cell's value. Occurs each time the GridStyleInfo.Text is called to set the raw string that represents the underlying cell's value. Occurs each time the GridStyleInfo.Text is called to get the string that represents the underlying cell's value. Occurs each time the GridStyleInfo.FormattedText is called to set the raw string that represents the underlying cell's value. Handle this event to provide support for parsing the formatted string and convert it into the the underlying cell's value. Occurs when a user starts dragging a range of selected cells using OLE drag-and-drop. See in the GridModel class for information. Assigns the new UIAProvider for Accessibility. Gets or sets how to serialize grid data at design-time. You can choose to serialize cell contents as code into the Forms InitializeComponent method or you can choose to serialize cell contents into a ResX file. Default is GridSerializeCellsBehavior.SerializeIntoCode. If you have a larger number of cells then you should switch to Resx serialization. For smaller number of cells SerializeIntoCode is easier to maintain since you can change cell contents directly within the Forms code. Initializes the menufactory for the design editor returns boolean value Clean up any resources being used. Required method for Designer support - do not modify the contents of this method with the code editor. When the selection has changed in the grid, this will update the range information for the Range property grid. Needed to updated Range Property grid if ExcelLikeCurrentCell is not set to true and if there is currently no selection in the model's SelectedRanges. Updates the RangeStyle for the selection Sets the BackgroundImage property if the BackgroundImageID property is set at load time. Temporary placement for the setting of the BackgroundImage property of the grid control. Implements information needed for Xml serialization relating to column or row styles, individual cell StyleInfo objects, etc. Initializes the new instance of the class. Creates the GridCellsMemento object, initialized from the supplied GridControl. The GridControl to initialize the GridCellsMemento object. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Retrieves the objects from the provided map, and places into the collection. Initializes the GridCellsMemento object with styles, data, etc from the supplied GridControl. The GridControl that the values will be retrieved from Applies the values contained in the GridCellsMemento object to the supplied GridControl. The GridControl to apply the values to. Gets or sets the grid column styles. Gets or sets the grid row styles. Gets or sets Collection of objects that are to be treated as Covered Gets or sets Collection of objects that are to be treated as Bannered Gets or sets to Serialize Gets or sets the base styles map. Gets or sets collection of objects containing the cell data to save out. Implements hidden entries and column widths of the grid, in objects. Initializes an new instances of class. Initializes an new instances of class. Gets or sets hidden entries in objects. Gets or sets column widths of the grid, in objects. Implements hidden entries and row heights of the grid, in objects. Initializes an empty instances of class. Initializes an empty instances of class. Gets or sets hidden row entries of the grid, in objects. Gets or sets row heights of the grid, in objects. Defines a row or a column by an index, and length (width or height). Initializes an empty instances of class. Initializes an empty instances of class. Index of the column or row If the object is for a column, this is the width of the column. If the object is for a row, this is the height of the row. Gets or sets the index of the column or row represented in the object. Gets or sets the Length. If the object is for a column, this is the width of the column. If the object is for a row, this is the height of the row. Implements a collection that stores 'GridRowColEntry' objects. Initializes an empty instances of class. Initializes an empty instances of class. A 'GridRowColEntryCollection' from which the contents is copied Initializes an empty instances of class. An array of 'GridRowColEntry' objects with which to initialize the collection Adds a 'GridRowColEntry' item with the specified value to the 'GridRowColEntryCollection' The 'GridRowColEntry' to add. The index at which the new element was inserted. Copies the elements of an array at the end of this instance of 'GridRowColEntryCollection'. An array of 'GridRowColEntry' objects to add to the collection. Adds the contents of another 'GridRowColEntryCollection' at the end of this instance. A 'GridRowColEntryCollection' containing the objects to add to the collection. Gets a value indicating whether the 'GridRowColEntryCollection' contains the specified value. The item to locate. True if the item exists in the collection; false otherwise. Copies the 'GridRowColEntryCollection' values to a one-dimensional System.Array instance starting at the specified array index. The one-dimensional System.Array that represents the copy destination. The index in the array where copying begins. Returns the index of a 'GridRowColEntry' object in the collection. The 'GridRowColEntry' object whose index will be retrieved. If found, the index of the value; otherwise, -1. Inserts an existing 'GridRowColEntry' into the collection at the specified index. The zero-based index where the new item should be inserted. The item to insert. Returns an enumerator that can be used to iterate through the 'GridRowColEntryCollection'. returns Enumerator. Removes a specific item from the 'GridRowColEntryCollection'. The item to remove from the 'GridRowColEntryCollection'. TODO: Describe what custom processing this method does before setting an item in the collection TODO: Describe what custom processing this method does before inserting a new item in the collection Gets or sets the 'GridRowColEntry' item at the specified index position. The zero-based index of the entry to locate in the collection. The entry at the specified index of the collection. Implements a strongly typed enumerator for 'GridRowColEntryCollection' Initializes an empty instances of class. A collection of Row Col entries. Determines the enumerator moves to the next element of the collection True if next element exists; False otherwise. Determines the enumerator moves to the next element of the collection true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. The collection was modified after the enumerator was created. Sets the enumerator to the first element in the collection Sets the enumerator to the first element in the collection Gets the current element from the collection (strongly typed) Gets the current element from the collection Description for GridStylesParser. This method will parse the supplied StyleInfoStore for high cost properties, grouping them together for serialization purposes. Currently, this is limited to the BackroundImage property. The StyleInfoStore object to parse related properties. Implements the functionalities that synchronizes the properties or data between two GridControl objects Initializes a new instances of class for use. Creates the GridSynchronizer object, initializing the duplicate grid with the properties/data from the original grid. The GridControl to retrieve initial values from. The GridControl that will receive the initial values. Disposes the unmanaged resources. Indicates whether the project is in disposing. Applies the properties from the duplicate GridControl to the original GridControl Applies the store GridSyncProperties to the supplied GridControl The GridControl to apply the properties to. To set image id. to include Cell Data Synchronize the grid properties. The object. The grid control. Initializes the duplicate GridControl with the supplied GridSyncProperties object. Initializes the duplicate GridControl with the supplied PropertyInfoCollection. Initializes the duplicate GridControl with the values from the original GridControl Fills the GridSyncProperties with the values from the supplied grid. Configures a complex property that is not an actual property of the grid. For example, the GridCellsMemento object which contains values relating to various properties of the GridControl. The GridControl to apply the property to. The PropertyInfo object that contains a complex property. Synchronies the properties. The grid control. Property name. The object. Synchronies the properties. The grid control. Property name. Resets the grid control. The grid control. Invoked when synchronize property is changed. The source of the event. An holds the event data. Gets or sets the main window. Gets or sets the value indicating whether the group styles should be saved. Implements the class that contains all data that is saved out to XML Initializes the new instance of the class. Initializes the new instance of the class. Initialize the properties. Initializes the new instance of the class. Indicates whether the property is default. Initializes the new instance of the class based on an existing value. The value to create the object from. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de-serialize this instance. Describes the source and destination of the serialized stream specified by info. Disposes the unmanaged resources. Invoked when grid property is changed. The source of the event. An that contains the event data. Implements the ISerializable interface and returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Returns the data needed to serialize the . A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Override this method to return a default style object for your derived class. A default style object. Resets the flag. Fires the PropertyChanged event Resets the and collections Conversion method that takes a byte[] and returns a Bitmap byte[] to convert A System.Drawing.Bitmap value... Creates a byte[] from an existing Bitmap Bitmap to retrieve values from A byte[] value... Gets the object. Gets and initializes a new GridProperties object. Gets a value indicating whether properties have been modified Occurs when any property in this object is changed. Gets or sets collection of Image and ID values for the Gets or sets collection of Font and ID values for the Gets or sets the background color for the grid control. Gets or sets the Namespace ID that contains the grids's background image information id. Gets or sets cell, row, and column specific data used for synchronization and serialization Gets or sets the border style of the grid control. Gets or sets the font to display in the grid. Gets or sets the text color. Gets or sets a value indicating whether border style to be used as default for cell borders. Gets or sets whether the text appears from right to left. Gets or sets a value indicating whether the themes for the grid are enabled. Gets or sets current cell activation behavior. Gets or sets a value indicating whether to allow resizing of columns through standard cell boundaries. For GridListControl, it is true by default. Gets or sets a value indicating whether the control allows the user to drag selected columns by clicking on the column header. Gets or sets a value indicating whether the control allows the user to drag selected rows by clicking on the row header. Gets or sets a value indicating whether to allow resizing of rows through standard cell boundaries. No support for GridListControl. Gets or sets selection behavior of the grid. Gets or sets the color for alpha blended cell selections. 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. Gets or sets which mouse controllers should be enabled for the grid. Gets or sets controls clipboard interchange format. Can be plain text and/or fully formatted with styles. Gets or sets the border style to be used as default for cell borders. Gets or sets which mouse buttons can be used for dragging selected rows or columns. Gets or sets the order how cells are loaded before the grid is displayed. Gets or sets movement of current cell when enter key is pressed. 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. Gets or sets a value indicating whether the active selection should be outlined with a selection frame. Gets or sets floating cells behavior for the grid. Gets or sets look and feel skins for the Grid. Gets or sets a value indicating whether to toggle between standard and Office2007 scrollbars. Gets or sets the style of Office2007 scroll bars Gets or sets a value indicating whether to toggle among standard, Office2007 and Office2010 scrollbars. Gets or sets the style of Office2010 scroll bars. Gets or sets a value indicating whether to controls the kind of textbox control that is created for TextBox cells. In general the original text box behaves better than the default richtext box with Hebrew and arabic languages. Gets or sets number of frozen rows. Gets or sets number of frozen columns. Gets or sets the method in which items are selected in the when it is being used in listbox mode . Gets or sets the minimum column width when the user resizes a column with the mouse. Gets or sets the minimum row height when the user resizes a row with the mouse. Gets or sets a value indicating whether to toggle display of column ids (A, B, C, ...) in column headers. Gets or sets a value indicating whether to toggle display of row numbers in row headers. Gets or sets a value indicating whether enable built-in optimization that allows grid to combine background drawing for cells that have the same background. ///Gets or sets a value indicating whether to enable optimization for inserting and removing cells by scrolling window contents and only invalidating new cells. Gets or sets which cells to refresh when moving the current cell. Gets or sets behavior for resizing columns. Gets or sets behavior for resizing rows. Gets or sets which mouse buttons can be used for selecting cells. Gets or sets when to show current cell frame or border. 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. Gets or sets the number of grid columns. Gets or sets the default width used for grid columns. Gets or sets the default height used for grid rows. Gets or sets more options for the grid. Printing related. Also manages colors for grid background, grid lines, and more. Gets or sets the printing options for grid. Gets or sets the number of rows in the grid. Gets or sets to serialize cell contents as code or into a ResX file. Represents the method that handles the event. The source of the event. A that contains the event data. Implements the functionalities that provides the storage for grid synchronized properties. Initializes the new instance of the class Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Gets the static data. Gets the statis data source. Implements a collection that stores 'PropertyInfo' objects. Initializes the new instance of the class. Initializes the new instance of the class based on an already existing instance. A 'PropertyInfoCollection' from which the contents is copied Initializes the new instance of the class with an array of 'PropertyInfo' objects. An array of 'PropertyInfo' objects with which to initialize the collection Adds a 'PropertyInfo' item with the specified value to the 'PropertyInfoCollection' The 'PropertyInfo' to add. The index at which the new element was inserted. Copies the elements of an array at the end of this instance of 'PropertyInfoCollection'. An array of 'PropertyInfo' objects to add to the collection. Adds the contents of another 'PropertyInfoCollection' at the end of this instance. A 'PropertyInfoCollection' containing the objects to add to the collection. Gets a value indicating whether the 'PropertyInfoCollection' contains the specified value. The item to locate. True if the item exists in the collection; false otherwise. Copies the 'PropertyInfoCollection' values to a one-dimensional System.Array instance starting at the specified array index. The one-dimensional System.Array that represents the copy destination. The index in the array where copying begins. Returns the index of a 'PropertyInfo' object in the collection. The 'PropertyInfo' object whose index will be retrieved. If found, the index of the value; otherwise, -1. Inserts an existing 'PropertyInfo' into the collection at the specified index. The zero-based index where the new item should be inserted. The item to insert. Returns an enumerator that can be used to iterate through the 'PropertyInfoCollection'. returns PropertyInfoEnumerato Removes a specific item from the 'PropertyInfoCollection'. The item to remove from the 'PropertyInfoCollection'. TODO: Describe what custom processing this method does before setting an item in the collection TODO: Describe what custom processing this method does before inserting a new item in the collection Gets or sets the 'PropertyInfo' item at the specified index position. The zero-based index of the entry to locate in the collection. The entry at the specified index of the collection. A strongly typed enumerator for 'PropertyInfoCollection' Enumerator constructor Advances the enumerator to the next element of the collection true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. The collection was modified after the enumerator was created. Determines whether the enumerator moves to the next element of the collection true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. The collection was modified after the enumerator was created. Sets the enumerator to the first element in the collection Sets the enumerator to the first element in the collection Gets the current element from the collection (strongly typed) Gets the current element from the collection Provides information about a row that can be used by accessibility application. Initializes a new instance of the class. The RowIndex Modifies the selection or moves the keyboard focus of the accessible object. One of the values. Navigate to the next or previous grid entry. One of the values. An that represents one of the values. The navigation attempt fails. Performs the default action associated with this accessible object. The default action for the control cannot be performed. Returns the currently focused child, if any. Returns this if the object itself is focused. An that specifies the currently focused child. This method returns the calling object if the object itself is focused. Returns null if no object has focus. The control cannot be retrieved. Returns child count. /// The number of children belonging to an accessible object. An that represents the currently selected child. This method returns the calling object if the object itself is selected. Returns null if is no child is currently selected and the object itself does not have focus. Returns the Hit test position. The horizontal screen coordinate. The vertical screen coordinate. An that represents the child object at the given screen coordinates. This method returns the calling object if the object itself is at the location specified. Returns null if no object is at the tested location. gets or sets the rowindex value. Gets the . Gets the role for the grid. This is used by accessibility programs. Gets the Parent for the grid. This is used by accessibility programs. Gets the Name of the grid. This is used by accessibility programs. Gets the default action of the grid. Gets the particular row rectangle bounds. returns the description of rows. Provides information about a cell that can be used by accessibility application. Initializes a new instance of the class. The The row index. The column index. Modifies the selection or moves the keyboard focus of the accessible object. One of the values. Navigate to the next or previous grid entry. One of the values. An that represents one of the values. The navigation attempt fails. Performs the default action associated with this accessible object. Returns the currently focused child, if any. Returns this if the object itself is focused. An that specifies the currently focused child. This method returns the calling object if the object itself is focused. Returns null if no object has focus. The control cannot be retrieved. Gets the column index value. gets the row index value. Gets the . Gets the . Gets the role for the cell. This is used by accessibility programs. Gets the parent for the row. This is used by accessibility programs. Gets the Name for the grid. This is used by accessibility programs. Gets the role defaultAction the grid. This is used by accessibility programs. Gets the rectangle bounds. returns the description for columns Gets of sets the formatted text value. Provides information about a ColHeader that can be used by accessibility application. Initializes a new instance of the class. The The column index Modifies the selection or moves the keyboard focus of the accessible object. One of the values. The selection cannot be performed. Navigate to the next or previous grid entry. One of the values. An that represents one of the values. The navigation attempt fails. Returns the currently focused child, if any. Returns this if the object itself is focused. An that specifies the currently focused child. This method returns the calling object if the object itself is focused. Returns null if no object has focus. The control cannot be retrieved. Gets the column index. Gets the . Return the accessibleStates. Gets the role of column header. This is used by accessibility programs. Gets the Parent for the grid. This is used by accessibility programs. Gets the name. This is used by accessibility programs. Gets the default action. Returns the rectangle bounds. Gets the description of column name. Used to stores the index of cell accessible objects. Initializes a new instance of the class. The Returns the item based on index value. The index Returns item store the to the given index. The index The Reset the item based on provided index. The index Used to store the row accessible objects based on indexes. Initializes a new instance of the class. The instance. Returns the item based on index value. The index Returns item store the to the given index. The index The Reset the item based on provided index. The index Used to store the column header accessible objects based on indexes. Initializes a new instance of the class. The grid Returns the item based on index value. The index Returns item store the to the given index. The index The Reset the item based on provided index. The index Provides information about a cell that can be used by accessibility application. Initializes a new instance of the class. Returns the currently focused child, if any. Returns this if the object itself is focused. An that specifies the currently focused child. This method returns the calling object if the object itself is focused. Returns null if no object has focus. Returns the currently selected child. An that represents the currently selected child. This method returns the calling object if the object itself is selected. Returns null if is no child is currently selected and the object itself does not have focus. Used internally. The horizontal screen coordinate. The vertical screen coordinate. An that represents the child object at the given screen coordinates. This method returns the calling object if the object itself is at the location specified. Returns null if no object is at the tested location. Navigate to the next or previous grid entry. One of the values. An that represents one of the values. The navigation attempt fails. gets the name of the grid. This is used accessibility program. gets the grid client rectangle. Gets the grid description. Gets the help string. Gets the Parent accessibleObject. Gets or sets the grid.text values. Automation of the Grid UI assign the grid control Control either GridControl or GridDataBoundGrid get the element provider from the point x axis point y axis point Get the focus on the Raw Element Provider returns the IRawElementProviderFragment Gets the collection of the Embedded FragmentRoot of Raw Element Provider returns the collections of Element ProviderSimple Gets the collection of Runtime ID collection of is Gets the IROW element provider Fragment by the NavigateDirection Navigate Direction returns the Irow element provider Sets the focus on grid which is automated Gets the pattern provider by the pattern id id of value pattern returns the pattern provider Gets the value based on the property id id of Automation Element returns the property value Not Implemented. null Scroll the grid to particular amount in horizontal and vertical manner value of horizontal scroll Amount value of vertical scroll Amount set the scroll percent of the Grid value of horizontal scroll Percent value of vertical scroll Percent Gets the bounding rectangle of the Grid Gets the FragmentRoot of Raw Element Provider Gets the grid row element provider Gets the automation provider options Gets the Boolean value for multi select. Not Implemented. Not Implemented. Not Implemented. Not Implemented. Gets the value of vertical scroll as double value Gets size of vertical view source as double value Gets the bool value for the Vertical Scrolling Grid cell provider of UI for automation Const value of ProviderOptionUseComThreading Assign the control for GridCellUIAProvider Control either GridControl or GridDataBoundGrid GridStyleInfo of cell get the collection of the Embedded FragmentRoot of Raw Element Provider returns the collections of Element ProviderSimple Get the collection of Runtime ID collection of is Get the IROW element provider Fragment by the NavigateDirection Navigate Direction returns the Irow element provider set the focus on automation element Get the pattern provider by the pattern id id of value pattern returns the pattern provider get the value based on the property id id of Automation Element returns the property value Set the value to formatted text of GridStyleInfo Formatted Text Add item to selected item. Remove the item from selection Select the item Get the bounding rectangle of the Grid get the FragmentRoot of Raw Element Provider get the grid row element provider get the automation provider options Get the bool value if the grid is read-only Get the formatted text as value Returns the true value of the item that is selected Gets the selection container of grid which holds the selected records Defines the up / down cell button elements of a . The up-down buttons are XP Themes enabled. They will be drawn with a theme if is True. The button supports auto-clicking. When the user holds the mouse on a button, the button will continuously raise events. Initializes a new and associates it with a and saves the type. The that manages the . The type of this button. Up or down. Used to dispose the Boolean to control disposing. This is called from when has indicated it wants to receive mouse events and the user has pressed the mouse button. A with data about the mouse event. The with saved hit-test information about the mouse event. This is called from when has indicated it wants to receive mouse events and the user has pressed the mouse button and is moving the mouse. A with data about the mouse event. The with saved hit-test information about the mouse event. This is called from when has indicated it wants to receive mouse events and the user has released the mouse button. A with data about the mouse event. The with saved hit-test information about the mouse event. Occurs when the current mouse operation is canceled. The with saved hit-test information about the mouse event. Draws a button using or if XP Themes are enabled, button will be drawn themed. The context of the canvas. The with the bounds. A that specifies the current state. The style information for the cell. used to start the timer automatically. used to stop the timer automatically. Used to manage the timerelapsed state. The source control The that contains the event data. Gets the of this current button: Up or down. Implements the grid that can be displayed in a drop-down window for a combo box. Handles auto scrolling and resize to fit contents. Implements a that shows data in the child window. Supports multiple columns, data binding, and selection of items similar to a list box. Because is derived from , you can easily replace an existing list box (which is also derived from ListControl) with this . You can access the underlying grid control with the property. The list control supports several selection modes similar to a list box. Implements a that shows data in the child window. Supports multiple columns, data binding, and selection of items similar to a list box. Specifies that no matches are found during a search. Specifies the default item height for an owner-drawn . Initializes a new instance for class. Determines if values in the property were modified. True if enableTouchMode is modified; False otherwise. Resets the enable touch mode property. applies the scaling Represents floating point number Used to change the behavior of the SizeChanged event The that contains event data. Used to save the modified cell info. The source control The that contains event data. Creates the grid child. returns GridListControlChild Reset the GridListControl base styles. change the control to transparent control. The that contains event data. change the control to transparent control. The Control need to change The Boolean value. Raises the event. An that contains the event data. This event is fired when resizing the grid columns. The source control The that contains event data. Releases all resources used by the System.ComponentModel.Component. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Overridden to process windows messages. The Windows System.Windows.Forms.Message to process. Draw the themed border color based on windows process message. The Windows to process. Raise the grid.RaiseMouseWheel to change the windows process mouse wheel behavior. The Windows to process. Sets the , , and properties at run-time. The of the parent form. The data source, typed as , for the control. A string that specifies the property of the datasource whose contents you want to display. A string that specifies the property of the datasource from which to draw the value. Determines if values in the property were modified. True if enableTouchMode is modified; False otherwise. Occurs before the column count is returned from the model. The source control. The that contains event data. Implements the of the interface. Implements the of the interface. Provides access to style information for a specified column in the list control. The zero-based column index. The style information for the specified column. For GridListControl you need to use this method to access style information because the column styles indexer of the underlying grid control is ignored when style information is collected for cells in the list control. This example shows how to get the column style of the specified column index. void Grid_CellClick(object sender, GridCellClickEventArgs e) { // Gets the style properties of a given column index and assigns to other GridStyleInfo instance. GridStyleInfo myStyle = this.gridListControl1.GetColumnStyle(e.ColIndex); } Private Sub Grid_CellClick(ByVal sender As Object, ByVal e As GridCellClickEventArgs) ' Gets the style properties of a given column index and assigns to other GridStyleInfo instance. Dim myStyle As GridStyleInfo = Me.gridListControl1.GetColumnStyle(e.ColIndex) End Sub Initialize all columns. The provides the column details. Creates a column for a given from the datasource. The with column information. The column index in the grid. This example shows how to create a new column in the grid. // Creates a new column in the grid. PropertyDescriptor propertyDesc = this.gridListControl1.GetColumnStyle(2).Tag as PropertyDescriptor; this.gridListControl1.CreateGridColumn(propertyDesc, 4); ' Creates a new column in the grid. Dim propertyDesc As PropertyDescriptor = TryCast(Me.gridListControl1.GetColumnStyle(2).Tag, PropertyDescriptor) Me.gridListControl1.CreateGridColumn(propertyDesc, 4) Raises the event. The that contains event data. Finds text in the list box. The text (or prefix) to find. True if you want to select the text in the list box. The first index to start searching. True if case can be ignored; False if case sensitive. The index of the entry that starts with the text; -1 if no entry could be found. This example shows how to get the index of the specified string value considering to select the row or not and also whether to consider the case with the search-from index. // Finds the specified string in the grid and returns it's index value. // If the string case should be ignored, then the last parameter should be "true" int foundedItem=this.gridListControl1.FindItem("o", true, 1, true); Console.WriteLine("The item is found in the index " + foundedItem); ' Finds the specified string in the grid and returns it's index value. ' If the string case should be ignored, then the last parameter should be "true" Dim foundedItem As Integer=Me.gridListControl1.FindItem("o", True, 1, True) Find the item from given list by using prefix and start values. The collection. Prefix string The start position. Boolean determine the ignore case. The result text Returns the index of item. Find the item from given list by using prefix and start values. The collection. Prefix string The start position. Boolean determine the ignore case. The result text Boolean value . If true, the exact copy of the string is found; Other-wise false. Returns the index of item. Handles the event of the and sets property. The source of the event. Thethat contains event data. Handles the event of the and returns the width of individual columns. The source of the event. Thethat contains event data. Handles the event of the and moves the current selection when an arrow key is pressed. The source of the event. The that contains event data. Handles the event of the and moves the current selection when an arrow key is pressed. The that contains event data. This event fired when Grid got focus. The source control The that contains event data. This event fired when Grid lost focus. The source control The that contains event data. Raises the System.Windows.Forms.Control.ChangeUICues event. The source control. The that contains event data. Raises the System.Windows.Forms.Control.ChangeUICues event. The that contains event data. Check the index whether its valid or not. The index of the item. if is -1 or index >= this.Items.Count.. Check the data source whether its valid or not. If is null. Unselects all items in the . This example shows how to clear the selected rows. // Clears the selection done in the grid. this.gridListControl1.ClearSelected(); ' Clears the selection done in the grid. Me.gridListControl1.ClearSelected() Finds the first item in the that starts with the specified string. Finds the first item in the that starts with the specified string. The text to search for. The zero-based index of the first item found; returns if no match is found. This example shows how to get the index of the specified string value. // Finds the specified string in the grid and returns it's index value. // The string is considered as case-insensitive. int foundedItem = this.gridListControl1.FindString("Texas"); Console.WriteLine("The specified string is found in the index " + foundedItem); ' Finds the specified string in the grid and returns it's index value. ' The string is considered as case-insensitive. Dim foundedItem As Integer = Me.gridListControl1.FindString("Texas") Finds the first item in the that starts with the specified string. The search starts at a specific starting index. The text to search for. The zero-based index of the item before the first item to be searched. Set to negative one (-1) to search from the beginning of the control. The zero-based index of the first item found; returns if no match is found. This example shows how to get the index of the specified string value and considering the search-from row index. // Finds the specified string in the grid from a specific index to start the search and returns it's index value. // The string is considered as case-insensitive. int foundedItem = this.gridListControl1.FindString("Texas", 5); Console.WriteLine("The specified string is found in the index " + foundedItem); ' Finds the specified string in the grid from a specific index to start the search and returns it's index value. ' The string is considered as case-insensitive. Dim foundedItem As Integer = Me.gridListControl1.FindString("Texas", 5) Finds the first item in the that exactly matches the specified string. Finds the first item in the that exactly matches the specified string. The text to search for. The zero-based index of the first item found; returns if no match is found. Finds the first item in the that exactly matches the specified string. The search starts at a specific starting index. The text to search for. The zero-based index of the item before the first item to be searched. Set to negative one (-1) to search from the beginning of the control. The zero-based index of the first item found; returns if no match is found. Returns the height of an item in the . The zero-based index of the item to return the height for. The height, in pixels, of the specified item. This method shows how to get the row height from the specified row index. void Grid_CellClick(object sender, GridCellClickEventArgs e) { int rowHeight = this.gridListControl1.GetItemHeight(e.RowIndex); Console.WriteLine("The row height is " + rowHeight); } Private Sub Grid_CellClick(ByVal sender As Object, ByVal e As GridCellClickEventArgs) Dim rowHeight As Integer = Me.gridListControl1.GetItemHeight(e.RowIndex) End Sub Returns the bounding rectangle for an item in the . The zero-based index of an item whose bounding rectangle you want to return. A that represents the bounding rectangle for the specified item. Returns a value indicating whether the specified item is selected. The zero-based index of the item that determines whether it is selected. If the specified item is currently selected in the ; otherwise, . Returns the zero-based index of the item at the specified coordinates. Returns the zero-based index of the item at the specified coordinates. A object containing the coordinates used to obtain the item index. The zero-based index of the item found at the specified coordinates; returns if no match is found. Returns the zero-based index of the item at the specified coordinates. The x coordinate of the location to search. The y coordinate of the location to search. The zero-based index of the item found at the specified coordinates; returns if no match is found. Suspends updating the list control. Resumes updating the list control after a , calls PerformLayout in grid. Clears the contents of the System.Windows.Forms.ListBox and adds the specified items to the control. An array of objects to insert into the control. When overridden in a derived class, resynchronizes the data of the object at the specified index with the contents of the datasource. The zero-based index of the item whose data to refresh. Called after the control has been added to another container. This event fired when the binding data source changed. The that contains event data. Overridden. See the event. A that contains the event data. Used to delay the refresh. the source control. The that contains event data. Overridden. See the event. A that contains the event data. Raises the System.Windows.Forms.ListControl.SelectedValueChanged event. A that contains the event data. Overridden to raise the event. A that contains the event data. Overridden. See the event. A that contains the event data. Refreshes the child view using the DataRelation to get to the child rows of the selected row. The list of binding objects. Handles the event of the and returns the width of individual columns. The source control. The that contains event data. Handles the event of the that provide all information for cells. The source control. The that contains event data. This event is used to change the style for all cells before drawing. The source control The that contains event data. Returns the row count for the specified datasource. The datasource, typed as . The number of records in the datasource. This method shows how to get the row count with the specified datasource instance of the grid. // Sets the data source to the grid. DataTable dataTable = new DataTable(); this.gridListControl1.DataSource = dataTable; // Gets the row count of the associated data source to the grid. int rowcount = this.gridListControl1.GetRowCount(dataTable); Console.WriteLine("Row count of the associated data source is " + rowcount); ' Sets the data source to the grid. Dim dataTable As New DataTable() Me.gridListControl1.DataSource = dataTable ' Gets the row count of the associated data source to the grid. Dim rowcount As Integer = Me.gridListControl1.GetRowCount(dataTable) Handles the event of the . The source of the event. The that contains event data. Handles the event of the . The source of the event. The that contains event data. Handles the event of the . The source of the event. The that contains event data. Handles the event of the . The source of the event. The that contains event data. Raises the event. A that contains the event data. Selects or clears the selection for the specified item in a . The zero-based index of the item in a to select or clear the selection. to select the specified item; otherwise, . This example shows how to set a row in a selected state with the specified row index. // Sets the specific index of the grid to be in the selected state. this.gridListControl1.SetSelected(5, true); ' Sets the specific index of the grid to be in the selected state. Me.gridListControl1.SetSelected(5, True) Raises the event. An EventArgs that contains the event data. The OnThemeChanged method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Notes to Inheritors: When overriding OnThemeChanged in a derived class, be sure to call the base class's OnThemeChanged method so that registered delegates receive the event. Performs the work of setting the specified bounds of this control. The new System.Windows.Forms.Control.Left property value of the control. The new System.Windows.Forms.Control.Top property value of the control. The new System.Windows.Forms.Control.Width property value of the control. The new System.Windows.Forms.Control.Height property value of the control. A bitwise combination of the System.Windows.Forms.BoundsSpecified values. Raises the System.Windows.Forms.Control.BackColorChanged event. The that contains event data. Raises the System.Windows.Forms.Control.FontChanged event. The that contains event data. Raises the System.Windows.Forms.Control.Paint event. The source control The that contains event data. Raises the System.Windows.Forms.Control.MouseWheel event. The source control The that contains event data. Raises the System.Windows.Forms.Control.MouseUP event. The source control The that contains event data. Raises the System.Windows.Forms.Control.MouseMove event. The source control The that contains event data. Raises the System.Windows.Forms.Control.MouseMove event before mouse move occurred. The source control The that contains event data. Raises the System.Windows.Forms.Control.MouseHover event. The source control The that contains event data. Raises the System.Windows.Forms.Control.MouseLeave event. The source control The that contains event data. Raises the System.Windows.Forms.Control.MouseEnter event. The source control The that contains event data. Raises the System.Windows.Forms.Control.MouseDown event. The source control The that contains event data. Raises the System.Windows.Forms.Control.KeyUp event. The source control The that contains event data. Raises the System.Windows.Forms.Control.KeyPress event. The source control The that contains event data. Raises the System.Windows.Forms.Control.HelpRequested event. The source control The that contains event data. Raises the System.Windows.Forms.Control.GiveFeedback event. The source control The that contains event data. Raises the System.Windows.Forms.Control.DragDrop event. The source control The that contains event data. Raises the System.Windows.Forms.Control.DragLeave event. The source control The that contains event data. Raises the System.Windows.Forms.Control.DragOver event. The source control The that contains event data. Raises the System.Windows.Forms.Control.DragEnter event. The source control The that contains event data. Raises the System.Windows.Forms.Control.DoubleClick event. The source control The that contains event data. Raises the System.Windows.Forms.Control.Click event. The source control The that contains event data. Raises the System.Windows.Forms.Control.ContextMenuChanged event. The source control The that contains event data. Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus. The that contains event data. Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus. The Control. The that contains event data. Raises the System.Windows.Forms.Control.Enter event. The that contains event data. Raises the System.Windows.Forms.Control.Leave event. The that contains event data. Raises the System.Windows.Forms.Control.Validating event. The that contains event data. Raises the System.Windows.Forms.Control.Validated event. The that contains event data. Raises the System.Windows.Forms.Control.LostFocus event. The that contains event data. Raises the System.Windows.Forms.Control.GotFocus event. The that contains event data. Raises the event. An that contains the event data. Raises the event. This method is called when the control or any child control has focus and did not have focus before. The source control The that contains event data. Raises the event. This method is called when the control or any child control loses focus and the new focused control is not a child of this control. The source control The that contains event data. Determines if this control contains focus. Override this method if you want to show drop-down windows and indicate the control has not lost focus when the drop-down is shown. True if the control or any child control has focus; False otherwise. Raises the event. This method is called when the control or any child control has focus and did not have focus before. Inheriting classes should override this method instead of overriding because is also called when child controls get focus and it is not called when focus is moved within child controls of this control. Raises the event. This method is called when the control or any child control loses focus and the new focused control is not a child of this control. Inheriting classes should override this method instead of overriding because is also called when child controls lose focus and it is not called when focus is moved within child controls of this control. This method is called if the control's notification occurs while handling a event. This typically occurs if a message box is displayed from a event handler. Raises the event. This method is called when the control or any child control has focus and did not have focus before. Raises the event. This method is called when the control or any child control loses focus and the new focused control is not a child of this control. Raises the System.Windows.Forms.Control.ControlRemoved event. The that contains event data. Raises the System.Windows.Forms.Control.ControlAdded event. The that contains event data. Resets the to its default value. Determines if values in the property were empty or not. True if TableStyle is not empty; False otherwise. Resets the property. Determines if the values the property were true or false. True if HasInterior is not empty; False otherwise. Resets the property. Determines if values in the property were true or false.. True if HasInterior is not empty; False otherwise. Resets the property. Determines if values in the property were modified. True if Model.Properties.Modified is modified; False otherwise. Resets the object to its default state. Resets the property. Specifies whether or not to serialize the AlphaBlendSelectionColor in the designer. True to serialize; False otherwise. Returns the value for the ValueMember of the specified item. The row item. The value of the ValueMember. This event fired when GridLsitControl.ItemPropertieschanged. The source control. The that contains event data. It contains the value of the property. It contains the value of the property. It contains the value of the property. It contains the value of the property. It contains the value of the property. It contains the value of the property. Gets the active theme of control. Raises the event when theme name changed. The sender value. A contains the event data. Helps to override the CanApplyTheme property settings CanApplyTheme Helps to override the CanOverriderStyle property settings CanOverriderStyle Occurs when the property is changed. Gets or sets the touch mode Gets or sets the site of the control. Gets the underlying wrapped by this ListControl class. Gets or sets a value indicating whether to toggle support for Windows 2000 and Windows XP transparency. Set this to True if you want the grid to draw transparent over a background bitmap. Occurs when the has changed. Gets or sets a value indicating whether the user can resize columns. Gets or sets a value indicating whether columns should be automatically sized to fit contents of their cells. Gets or sets a value indicating whether column headers should be displayed. Gets or sets a value indicating whether the last column should be sized in a way that the whole client area of the grid is used. Gets or sets the text associated with this control. Gets the NeedsResizeToFit from Gets or sets the property. Gets or sets a value indicating whether to disable themed border drawing and instead draw a solid black border when setting BorderStyle.FixedSingle. Gets or sets a list of images that can be referenced with ImageIndex properties. This example shows how to use the ImageList property. // Initializes the image list to be displayed in the grid. ImageList img = new ImageList(); // Adds the image to the list. img.Images.Add(new Bitmap(FindImageFile(@"\...\...\...\FileName.jpg"))); // Assigns the image-list to the grid. this.gridListControl1.ImageList = img; ' Initializes the image list to be displayed in the grid. Dim img As New ImageList() ' Adds the image to the list. img.Images.Add(New Bitmap(FindImageFile("\...\...\...\FileName.jpg"))) ' Assigns the image-list to the grid. Me.gridListControl1.ImageList = img Gets a value indicating whether was called. Gets or sets the border style of the control. This example shows how to use the BorderStyle property. // Sets the border style of the grid. this.gridListControl1.BorderStyle = BorderStyle.FixedSingle; ' Sets the border style of the grid. Me.gridListControl1.BorderStyle = BorderStyle.FixedSingle Gets the required creation parameters when the control handle is created. Gets or sets a value indicating whether the vertical scroll bar is shown at all times. Gets or sets the currently selected item in the . Gets a value indicating whether was called. Specifies the index of the selected item. Gets or sets the column that should display any optional images from the image list. This example shows how to use the ImageColumn property. // Sets the specified column to display images in the grid. Here "2" is the Column index. this.gridListControl1.ImageColumn = 2; ' Sets the specified column to display images in the grid. Here "2" is the Column index. Me.gridListControl1.ImageColumn = 2 Gets the for the datasource in this list control. Gets or sets the internal Gets or sets the method in which items are selected in the . This example shows how to use SelectionMode property. // Sets the selection mode to the grid. this.gridListControl1.SelectionMode = SelectionMode.MultiExtended; ' Sets the selection mode to the grid. Me.gridListControl1.SelectionMode = SelectionMode.MultiExtended Gets or sets a value indicating whether the grid should display only single or multiple columns. Gets or sets the first visible row index in the list control. Gets or sets the default row item height in the list control. This example shows how to use the ItemHeight property. // Sets the row height of the grid. this.gridListControl1.ItemHeight = 30; ' Sets the row height of the grid. Me.gridListControl1.ItemHeight = 30 Gets a list with items that are displayed in the list control. Gets or sets the VisualStyles (skins) like Office2010, Office2007, Office2003 This example shows how to use the GridVisualStyles property. // Apply the visual styles to the grid. // Make sure to set the "ThemesEnabled = true; this.gridListControl1.GridVisualStyles = GridVisualStyles.Metro; ' Apply the visual styles to the grid. ' Make sure to set the "ThemesEnabled = true; Me.gridListControl1.GridVisualStyles = GridVisualStyles.Metro [Deprecated] Gets or sets the VisualStyles (skins) like Office2010, Office2007, Office2003 This example shows how to use the ColorStyles property. // Sets the color styles of the grid. This property doesn't depends on "ThemesEnabled" property. this.gridListControl1.ColorStyles = ColorStyles.Office2010Silver; ' Sets the color styles of the grid. This property doesn't depends on "ThemesEnabled" property. Me.gridListControl1.ColorStyles = ColorStyles.Office2010Silver Gets or sets the VisualStylesDrawing object Gets or sets a value indicating whether XP Themes (visual styles) should be used for this control when available. Gets or sets the Legacy styles in the Table Model Value should be false to apply ColorStyles This event will be fired when the ThemesEnabled property is changed. Gets or sets the foreground color used to display text and graphics in the control. Gets a value indicating whether the method has been called. and reset this flag. Gets a value indicating whether the method has been called. and reset this flag. Gets a value indicating whether the has been called. resets this flag. Gets a value indicating whether has been called. resets this flag. Gets a value indicating whether has been called. resets this flag. Occurs when both and occur. Specifies the Back color used to display text in the control. Gets or sets the background image used for the control. Gets or sets the font used to display text in the control. Gets or sets the table style. Gets or sets the back color for header cells. This example shows how to use the HeaderBackColor property. // Sets the back-color for headers. this.gridListControl1.HeaderBackColor = Color.Red; ' Sets the back-color for headers. Me.gridListControl1.HeaderBackColor = Color.Red Gets or sets the text color for header cells. This example shows how to use the HeaderTextColor property. // Sets the text color of the grid. this.gridListControl1.HeaderTextColor = Color.White; ' Sets the text color of the grid. Me.gridListControl1.HeaderTextColor = Color.White See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. This example shows how to use the AlphaBlendSelectionColor property. // Sets the alpha blend selection color this.gridListControl1.AlphaBlendSelectionColor = Color.Red; ' Sets the alpha blend selection color Me.gridListControl1.AlphaBlendSelectionColor = Color.Red Gets or sets a value indicating whether the control should enable its Accessibility support. Gets or sets the for the control. Gets or sets the BaseTheme name of the theme Gets or sets a value indicating whether a theme settings can be applied to the control. The default value is true. This property must be initialized before applying the VisualTheme /> Gets or sets a value indicating whether control elements styles can be overridden by theme style settings. Default value is false. By default, the control's element styles will not be overridden by theme style settings if the style is set in sample level. If this property is enabled, element style will be overridden by theme style settings event if it is set in sample level. This property should be enabled or disabled before calling the ThemeName property of the control. Gets the name of the control. Gets or sets the theme name of the control. The default value is null. This ThemeStyle settings will be applied only when the VisualStyleBased theme has been applied to the control. Gets or sets the VisualTheme of the control. Gets or sets the value used to customize the appearance of the . This ThemeStyle settings will be applied only when the VisualStyleBased theme has been applied to the control. Gets a value indicating whether the visual style based theme is applied to the control and also indicates whether the theme files are referred from external assemblies or not. Return true, if the visual style based theme is applied to the control. Otherwise returns false. Occurs when theme name of the control has changed. Initializes a new control. Used to manage the windows processing messages. The Occurs before dropdown container closed. The source control The Used to dispose the Boolean to control disposing. Used to set the modified bound core. The horizontal screen coordinate. The vertical screen coordinate. The Width The height The This event fires when the binding context changed. The that contains event data. Determines the optimal width of the drop-down window based on current column widths in this grid. Drop-down window width. Gets or sets the number of visible rows when the window is dropped-own. Gets or sets a value indicating whether to allow modify SetBoundsCore. Used internally. Provides editing support for RichText. The will display the panel inside a drop-down container. Initializes a new object. This event fires before ComboBox drawItem occurred. The source control The This event fired when context menu clicked. The source control The that contains event data. This event fired when context menu clicked. The source control The that contains event data. This event fired when context menu clicked. The source control The that contains event data. This event fired when context menu clicked. The source control The that contains event data. This event fired when context menu clicked. The source control The that contains event data. Enables to start and stop the local system processes This event fires when richTextBox link clicked. The source control The that contains event data. Used to stop the associated processes This event fired when richTextBox dragging started. The source control The that contains event data. This event fired when richTextBox drag drop occurred. The source control The that contains event data. This event fired when item selected. The source control The that contains event data. This event fired before contextMenuStrip opening. The source control The that contains event data. This event fired when mouseDown pressed . The source control The that contains event data. This event fired when item clicked. The source control The that contains event data. This event fired when contextMenuStrip item clicked. The source control The that contains event data. This event is fired when richTextBox backColor changed. The source control The that contains event data. This event is fired when GridRichTextEntryPanel backColorChanged. The source control The that contains event data. Clean up any resources being used. Required method for Designer support - do not modify the contents of this method with the code editor. This event fired before colorSelection ComboBox dropeDown opening. The source control The that contains event data. This event fired when colorCombo ComboBox selected index changed. The source control The that contains event data. This event fired when tbFont button clicked. The source control The that contains event data. This event fired when tbAlign button clicked. The source control The that contains event data. This event fired when fontComboBox selected index changed. The source control The that contains event data. This event fired when fontSizeComboBox selected index changed. The source control The that contains event data. Used to update the font styles. This event fired when btnSave clicked. The source control The that contains event data. This event fired when btnCancel clicked. The source control The that contains event data. This event fired when richTextBox selection changed. The source control The that contains event data. true if the key was processed by the control; otherwise, false. This event fired when richTextBox selection changed. The source control The that contains event data. This event fired when buttonAdv clicked. The source control The that contains event data. This event fired when copyToolStripMenuItem clicked. The source control The that contains event data. This event fired when pasteToolStripMenuItem clicked. The source control The that contains event data. This event fired when btnLoad clicked. The source control The that contains event data. Gets or sets the menu item Gets or sets the shortcut menu Occurs when user clicks the "Save" button. Occurs when user clicks the "Cancel" button. Gets a reference to the that is being displayed. GridCellModelFactory creates objects to be used in a . Initializes a . Creates objects to be used in a . A cell type name that identifies the cell model to be instantiated. The the new cell model object should be associated with. A cell model. Implements the data / model part for a check box cell. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . Initializes a new object. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or desterilize this instance. Describes the source and destination of the serialized stream specified by info. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Creates a for this cell model that is specific to the GridControlBase. The the cell renderer is created for. A new specific for a . Parses the display text and converts it into a cell value to be stored in the style object. GridStyleInfo.CultureInfo is used for parsing the string. The object that holds cell information. The input text to be parsed. TextInfo is a hint of who is calling, default is GridCellBaseTextInfo.DisplayText True if value was parsed correctly and saved in style object as ; False otherwise. Determines whether the cell supports floating over a neighboring cell or can be flooded by a previous cell. The row index. The column index. The object that holds cell information. A value that specifies whether a cell is asked about support for floating over another cell or being flooded by a previous cell. True if floating is possible; False otherwise. Calculates the preferred size of the cell based on its contents without margins and any buttons. The context of the canvas. The row index. The column index. The object that holds cell information. The GridQueryBounds The optimal size of the cell. Gets or sets CheckBoxSize. For internal use. Implements the renderer part for a check box cell. A cell's behavior can be customized with the property of a instance where you can specify values for Checked, Unchecked, and Indeterminate. The property of a instance lets you toggle tri-state behavior for the cell. The check box cell is XP Themes enabled. It will be drawn themed if is True. A renderer is created for each and . There can be several renderers associated with one if several views display the same . Use "Check Box" as identifier in of a cell's to associate this cell type with a cell. The following table lists some characteristics about the Check Box cell type: Item Description CellType Check Box Renderer Model XP Themes Support Yes Interactive Edit with Mouse Click or SpaceBar Floating Support Floating Base Type The cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () Check Box (Default: Text Box) () The cell value should match one of the values of . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () Gets / sets flat look and values that represent checked, unchecked, and indeterminate state of the check box. (Default: NULL) () Gets / sets the text that is shown in the check box. (Default: String.Empty) () Specifies if the cell can be activated as current cell or if cell should be skipped when moving the current cell. When disabled, the check box will be drawn grayed out. (Default: True) () The font for drawing text. (Default: GridFontInfo.Default) () Specifies horizontal alignment of text and the checkbox in the cell. (Default: GridHorizontalAlignment.Left) () Specifies how hot-key prefixes should be displayed. Hot-keys are indicated in text with an '&' (ampersand). When you enable hot-key prefix, the specific characters can be displayed underlined or regular. The '&' will not be displayed. The of a check box can have hotkeys. (Default: HotkeyPrefix.Show) () Lets you specify a solid backColor, gradient, or pattern style with both back and foreColor for a cell's background. (Default: SystemColors.Window) () Gets / sets MaskedEdit state. MaskedEdit is itself an expandable object with several properties that can be set individually and participate in style inheritance mechanism. (Default: GridMaskEditInfo.Default) () Specifies if cell contents can be modified by the user. You can programmatically change Read-only cells by setting to True. (Default: False) () Gets / sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using any information. The cell value should match one of the values provided by . (Default: String.Empty) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle including the check box and the borders of the cell. (Default: GridMarginsInfo.Default) () Specifies if cell should be drawn using Windows XP themes when has been set. (Default: True) () Specifies if this is a Tristate check box that has an additional indeterminate state. (Default: False) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Specifies vertical alignment of text and the check box in the cell. (Default: GridVerticalAlignment.Top) () Specifies if the text should be wrapped when it does not fit into a single line. (Default: True) Initializes a new object for the given GridControlBase and . The that display this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Unwires any events subscribed from GridCheckBoxCellRenderer. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. This event fired when GridViewLayoutChanged. The source control The that contains event data. Calculates the checker boundaries taking alignment, margins and style information into account. The context of the canvas. Specifies the client rectangle. It is the cell rectangle without buttons and borders. The text to display in the check box cell. The font for drawing text. The alignment of check box and text inside cell. The margins between check box, text, and the cell borders. Specifies if checker should be left or right of text. The rectangle with check box bounds. Draws the checker at the given coordinates. The context of the canvas. Specifies the client rectangle. It is the cell rectangle without buttons and borders. A reference to the style object of the cell. The current state of the check box to be drawn. The alignment of check box and text inside cell. The text to display in the checkbox cell. The font for drawing text. Returns the current for the checker for the specified cell. Specifies the row id. Specifies the column id. A reference to the style object of the cell. The current at the given cell. This method is called from the cell renderer's draw method to draw the contents of the client bounds for the cell, e.g. the text for a static cell. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. Specifies the row id. Specifies the column id. A reference to the style object of the cell. When drawing cells, it is necessary to determine if the specified cell (with rowIndex and colIndex) is the current cell and if it is active. If your control is associated with a control and supports in-place editing and the specified cell is the current cell, you should position the control. Take a look at the GridTextBoxCellRenderer implementation of this method for an example. Otherwise, you can simply draw the cell. Determines if the check box at the specified cell coordinates has scope set. Specifies the row id. Specifies the column id. True if cell has scope; False otherwise. Sets scope for the specified cell. Specifies the row id. Specifies the column id. True if cell has scope; False otherwise. Returns the checker bounds for the cell at the specified cell coordinates. Specifies the row id. Specifies the column id. The with bounds for the checker. Overriden. Checks if mouse is inside the checker. The row index. The column index. A with data about the mouse event. The current controller that requested to handle this mouse event. Non-zero if mouse is over the checker; 0 otherwise. This is called from GridClickCellsMouseController or GridSelectCellsMouseController when your cell renderer has indicated in its OnHitTest override that it wants to receive mouse events and the user has moved the mouse into the cell. The row index. The column index. See also OnMouseHoverLeave. This is called from GridClickCellsMouseController or GridSelectCellsMouseController when your cell renderer has indicated in its OnHitTest override that it wants to receive mouse events and the user is moving the mouse out of the cell. The row index. The column index. An with event data. Once OnMouseHoveEnter has been called you are guaranteed to receive a OnMouseHoverLeave call either if the user moves the mouse of the cell boundaries or presses a button or if the mouse operation is canceled. This is called from GridClickCellsMouseController or GridSelectCellsMouseController when your cell renderer has indicated in its OnHitTest override that it wants to receive mouse events and the user has pressed a mouse button. The row index. The column index. A with event data. This is called from GridClickCellsMouseController or GridSelectCellsMouseController when your cell renderer has indicated in its OnHitTest override that it wants to receive mouse events and the user has pressed a mouse button and is releasing the button. The row index. The column index. A with event data. This is called from GridClickCellsMouseController or GridSelectCellsMouseController when your cell renderer has indicated in its OnHitTest override that it wants to receive mouse events and the user has pressed a mouse button and is moving the mouse pointer. The row index. The column index. A with event data. This is called from GridClickCellsMouseController or GridSelectCellsMouseController when your cell renderer has indicated in its OnHitTest override that it wants to receive mouse events and the mouse operation is canceled. The row index. The column index. User pressed key (similar to Control.OnKeyPress). A with data of the keyboard event. Called when user clicked check box. Toggles the cell's value and stores it back into the cell. This method is called from GridCurrentCell.ConfirmChanges when the current cell was marked as modified. Any drop-downs have been closed at this time. It saves changes for the current cell. True if changes were saved successfully; False if no changes were saved. Draws check box at the specified bounds. Graphics context. The Rectangle Bounds. Button state. Draws checks at the given bounds. Graphics context. X co-ordinate. Y co-ordinate. Width of the rectangle bounds. Height of the rectangle bounds. Button state. Used to draw the flatCheckBox based on the parameters passed. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. The Used to draw the flatCheckBox based on the parameters passed. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. The used to apply foreground color. The used to apply background color. The specifies the appearance of the button. Used to draw the colorized image. Points to the device context. The which is used to modify color. The destination to store. The which is going to be replaced. Used to remap the black and white color matrix. The which is replaced instead of black. The which is replaced instead of white. Returns the modified Used to remap the black and white color matrix. The which is replaced instead of black. The which is replaced instead of white. Returns the modified Used to draw the colorized image. Points to the device context. The which is used to modify color. The destination to store. The used to apply this color to image. Used to draw the colorized image. Points to the device context. The which is used to modify color. The destination to store. The which is replaced instead of black. The which is replaced instead of white. Used to draw the frameControl. Points to the device context. The horizontal screen coordinate. The vertical screen coordinate. The width The height The kind The state Gets or sets CheckBoxSize. For internal use. Adds grid cell-specific keyboard logic to a . Initializes a new and attaches it to a . Currency text box cell renderer. Determines whether the specified key is an input key or a special key that requires preprocessing. One of the key's values. true if the specified key is an input key; otherwise, false. Preprocesses keyboard or input messages within the message loop before they are dispatched. Message to be preprocessed. True if the operation is successful. Processes a command key. A , passed by reference that represents the window message to process One of the values that represents the shortcut key to process. true if the command key was processed by the control; otherwise, false. Invoked when the decimal key is pressed. True if the key is handled; false otherwise. The defined behavior for this key is to jump to the position immediately after the decimal position. This method overrides the method and handles the key messages that are of interest to the NumberTextBox. The message that is to handled. True if the key message is handled; false otherwise. true if the key was processed by the control; otherwise, false. This event is fired before clearing cells. The source control The that contains event data Occurs when the specified timer interval has elapsed and the timer is enabled. The source control The that contains event data. Pastes the data in the clipboard into the currency textbox cell. Gets the associated cell renderer for the text box. Implements the data / model part for a Currency cell. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates cell renderer. Currency TextBox cell renderer. This is called from GridStyleInfo.GetFormattedText. The object that holds cell information. The value to format. TextInfo is a hint of who is calling, default is GridCellBaseTextInfo.DisplayText. The formatted text for the given value. Set null value for currencyTextBox. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Parses the text and converts it into a cell value to be stored in the style object (ignoring any settings). CultureInfo.CurrentText is used for parsing the string. The object that holds cell information. The input text to be parsed. True if value was parsed correctly and saved in style object as ; False otherwise. Parses the display text and converts it into a cell value to be stored in the style object. GridStyleInfo.CultureInfo is used for parsing the string. Style information for the cell. The input text to be parsed. TextInfo is a hint of who is calling, default is GridCellBaseTextInfo.DisplayText True if value was parsed correctly and saved in style object as ; False otherwise. Returns the text as it is displayed in the cell (without '-' sign) and also the text color. The style information. The value. Returns the text color for the cell (depending on whether value is negative or positive). The text as it is displayed in the cell. Initializes a with information supplied by a . The control to be initialized. The style with settings to be applied. This is called from GridStyleInfo.GetText (ignoring any settings). The object that holds cell information. The value to convert to a string. The string that represents the given value. Gets or sets a value indicating whether Clipboard text is validated before a paste. If ValidateNumberDuringCellPaste is true, then when a paste operation is preformed on an active cell, the paste will only be attempted if the text on the Clipboard is valid. Implements the renderer part of a currency cell that handles currency input and validation. The CurrencyTextBox is derived from the text box and provides all the functionality of a text box and adds additional functionality of its own. Collecting currency input in a consistent format requires a alot of validation code that needs to be built into the application when using the Windows Forms text box control. The CurrencyTextBox includes all this logic into its methods and properties and makes it easy for the developer and the end user to collect and enter currency data. The CurrencyTextBox is also closely tied to the globalization settings of the operating system for Currency related properties. Please refer to the class for a detailed explanation of globalization and Currency related attributes. Use the () property of a to change currency edit properties for a cell. The following table lists some characteristics about the Currency cell type: Item Description CellType Currency Renderer Model XP Themes Support NA Interactive Edit with Text Input Control Floating Support Both Base Type The cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () Gets / sets if the cell height should automatically increase when the edited text does not fit into the cell and is True. If is False, will affect the column width. (Default: false) () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () Currency (Default: Text Box) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () The culture information holds rules for parsing and formatting the cell's value. (Default: NULL) () A nested object with currency text box properties for a cell. (Default: GridCurrencyEditInfo.Default) () Specifies if the cell can be activated as current cell or if the cell should be skipped when moving the current cell. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () Gets / sets if text can float into the boundaries of a neighboring cell. (Default: True) () Gets / sets if this cell can be flooded by a previous cell. (Default: True) () The font for drawing text. (Default: GridFontInfo.Default) () Gets / sets the format mask for formatting the cell value. You can specify numeric format strings, Date format strings or enumeration format strings as discussed in the section "Format Specifiers and Format Providers" of the .NET Framework Developers Guide (see ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconformatspecifiersformatproviders.htm). (Default: String.Empty) () Lets you specify a solid backColor, gradient, or pattern style with both back and foreColor for a cell's background. (Default: SystemColors.Window) () Limits the number of characters the user can type into the cell. Note: When selecting a text from a choice list or when pasting text, the text can be longer. Additional validation is necessary on your side. (Default: 0) () Specifies merge behavior for a individual cell when merging cell's features have been enabled in a with . (Default: GridMergeCellDirection.None) () Specifies if cell contents can be modified by the user. You can programmatically change Read-only cells by setting to True. (Default: False) () Gets / sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using any information. (Default: String.Empty) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the client rectangle of the cell without borders and cell buttons. (Default: GridMarginsInfo.Default) Initializes a new GridCurrencyTextBoxCellRenderer object for the given GridControlBase and GridCellModelBase. The that display this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Unwires any events subscribed from focusControl. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Determines whether current cell can be copied to clipboard. True if copy is supported; otherwise False. Determines whether current cell can be pasted from clipboard. True if paste is supported; otherwise False. Called when user initiates a clipboard paste and the grid has a current cell but no range is selected. True if successful; False if failed. This event fired when focusControl text changed. The source control The that contains event data. This event is fired when floating cells changed. The source control The that contains event data This method is called from PerformLayout to calculate the client rectangle given the inner rectangle of a cell and any boundaries of cell buttons. The row index. The column index. The object that holds cell information. The with the inner bounds of a cell. An array of with bounds for each cell button element. A with the bounds. Allows custom formatting of a cell by changing its style object. Event data. This method is called from the cell renderer's draw method to draw the contents of the client bounds for the cell, e.g. the text for a static cell. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. Specifies the row id. Specifies the column id. A reference to the style object of the cell. When drawing cells, it is necessary to determine if the specified cell (with rowIndex and colIndex) is the current cell and if it is active. If your control is associated with a control and supports in-place editing and the specified cell is the current cell, you should position the control. Take a look at the GridTextBoxCellRenderer implementation of this method for an example. Otherwise, you can simply draw the cell. This method is used to draw the currencyText. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. Specifies the row id. Specifies the column id. A reference to the style object of the cell. Specifies the control display text The used to paint text. Used to fix the parent control. The base or parent control. Called from GridCurrentCell.BeginEdit. Checks if cell renderer support in place editing. If in-place editing is supported, is called which triggers and initiates repainting the cell. In your overridden method, you should then check . This method is called from GridCurrentCell.ConfirmChanges when the current cell was marked as modified. Any drop-downs have been closed at this time. It saves changes for the current cell. True if changes were saved successfully; False if no changes were saved. This method is called from GridCurrentCell.Validate after GridCurrentCell.Validating event has been fired. The default version checks if the active text fits any criteria as specified in the style object: It can be parsed into a cell value and meets GridCellValidateValueInfo criteria. True if the modified text is valid; False otherwise. This method gets called from the cell renderer's initialize method. Override this method if you need to any initialization for the current cell. The row index. The column index. Initializes based on the specified cell value. The cell value. See the of the class. The default behavior of this method is to call of the object and then raise a event. The user can catch the event and change the property of the object. This is called after the activating event and notifies that at this time the current cell has now become the active current cell. Determines whether current cell can be cut to clipboard. True if cut is supported; otherwise False. Override this method if your cell renderer supports in-place editing and you want to do any custom initialization at this point before cell gets redrawn. The default behavior of this virtual method is to force a redraw of the current cell. A cell can then initialize an edit control and set focus in the OnDraw method call. User pressed key (similar to Control.OnKeyPress). A with data of the keyboard event. Called right after ControlText was set. The ControlText User pressed key down (similar to Control.OnKeyDown). The This is called from GridSelectCellsMouseController when the user double-clicks inside a cell. The row index. The column index. A with data about the mouse event. This event fired when forusControl got focus. The source control. The that contains the event data. Adapter class to get CurrencyTextBox specific information for static drawing of a GridCurrencyTextBoxCell. Gets the currency formatted text for a given GridStyleInfo. The GridStyleInfo object that has the CurrencyEditInfo. Display color for the cell. The formatted currency text. Used to get cell value from object. The Returns the cell value as object. Implements the data / model part of a drop-down color selection cell that lets users drop-down a color selection panel from a cell just like a combo box. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a renderer for this cell model. The grid control. Cell renderer. Implements the renderer part of a drop-down color selection cell that lets users drop-down a color selection panel from a cell just like a combo box. A renderer is created for each and . There can be several renderers associated with one if several views display the same . The following table lists some characteristics about the DropDownColorUI cell type: Item Description CellType ColorEdit Renderer Model XP Themes Support Yes Cell Button Interactive Edit with Text Input or DropDown Control DropDown Control Floating Support No Base Type The cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () Gets / sets if pressing the <Enter>-Key should insert a new line into the edited text. (Default: False) () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () ColorEdit (Default: TextBox) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. Recommended types for a DropDownColorUI are either System.Drawing.Color, System.String or none. (Note: System.Drawing.Color can not be set from property grid at the moment). (Default: NULL) () Specifies if drop-down button can be clicked. If set to False, the button will be drawn grayed out. See how to disable activating the drop-down cell. (Default: True) () The culture information holds rules for parsing and formatting the cell's value. (Default: null) () Specifies if the cell can be activated as current cell or if cell should be skipped when moving the current cell. When disabled, the drop-down button can still be clicked. You should also disable if you do not want the user to click the drop-down button. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () The font for drawing text. (Default: GridFontInfo.Default) () Specifies horizontal alignment of text in the cell. This does not affect the position of the drop-down button. (Default: GridHorizontalAlignment.Left) () Specifies an index for an image in the of a instance. The image is only shown in the text field, not in the drop-down list. (Default: -1) () The that holds a collection of images. Cells can choose images with the property in a instance. (Default: NULL) () Lets you specify a solid back color, gradient, or pattern style with both back and fore color for a cell's background. (Default: SystemColors.Window) () Limits the number of characters the user can type into the cell. Note: When selecting a text from a choice list or when pasting text, the text can be longer. Additional validation is necessary on your side. (Default: 0) () Specifies if cell contents can be modified by the user. The user can still drop-down the color panel but changes will not be saved back into the text field. (Default: False) () Specifies when to show or display the drop-down button. Possible choices are: show the button only for the current cell, always show buttons, or never show buttons. (Default: GridShowButtons.Show) () Gets / sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using any information. (Default: String.Empty) () Align text left of button elements (which is typical for combo boxes). Or align text right of button elements. (Default: GridTextAlign.Default) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the borders of the client rectangle of the cell. The client rectangle is the cell rectangle without buttons and borders. (Default: GridMarginsInfo.Default) () Specifies if cell should be drawn using Windows XP themes when has been set. (Default: True) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Holds validation rules for the cell value that are being checked before any user changes are committed to the grid cell's style object. (Default: null) () Specifies vertical alignment of text and the drop-down button in the cell. (Default: GridVerticalAlignment.Top) () Specifies if text should be wrapped when it does not fit into a single line. (Default: True) Initializes a new GridDropDownColorUICellRenderer object for the given GridControlBase and GridCellModelBase. The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Called to initialize contents of the drop-down container for the first time. Occurs when the drop down container is about to be shown. The source of the event. Event data. Occurs after the popup container was dropped down and made visible. The source of the event. Event data. Allows custom formatting of a cell by changing its style object. Event data. Closes the DropDown if the CurrentCell is deactivated along with BrowseOnly property Called to indicate that the popup child was closed in the specified mode. Popup child. Specifies the way in which the popup child was closed. This event fired when textBox changed. The source control The that contains event data. This event fires when the color is selected. The source control The Defines the data / model part of a drop-down grid cell that lets users drop-down a grid from a cell similar to a combo box. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the cell model. A SerializationInfo object containing the information required to serialize the cell model. A StreamingContext object containing the source and destination of the serialized stream. Creates a renderer for this cell model. The grid control. Cell renderer. Defines the renderer part of a drop-down grid cell that lets users drop-down a grid from a cell just like a combo box. A renderer is created for each and . There can be several renderers associated with one if several views display the same . The following table lists some characteristics about the DropDownGrid cell type: Item Description CellType DropDownGrid Renderer Model XP Themes Support Yes Cell Button Interactive Edit with Text Input or DropDown Control DropDown Control Floating Support No Base Type The cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () Gets / sets if pressing the <Enter>-Key should insert a new line into the edited text. (Default: False) () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () DropDownGrid (Default: Text Box) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () Specifies if the drop-down button can be clicked. If set to False, the button will be drawn grayed out. See how to disable activating the drop-down cell. (Default: True) () The culture information holds rules for parsing and formatting the cell's value. (Default: NULL) () Specifies if the cell can be activated as current cell or if cell should be skipped when moving the current cell. When disabled, the drop-down button can still be clicked. You should also disable if you do not want the user to click the drop-down button. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () The font for drawing text. (Default: GridFontInfo.Default) () Gets / sets the format mask for formatting the cell value. You can specify numeric format strings, date format strings, or enumeration format strings as discussed in the section "Format Specifiers and Format Providers" of the .NET Framework Developers Guide (see ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconformatspecifiersformatproviders.htm) (Default: String.Empty) () Specifies horizontal alignment of text in the cell. This does not affect the position of the drop-down button. (Default: GridHorizontalAlignment.Left) () Specifies how hot-key prefixes should be displayed. Hot-keys are indicated in text with an '&' (ampersand). When you enable the hot-key prefix, the specific characters can be displayed underlined or regular. The '&' will not be displayed. (Default: HotkeyPrefix.Show) () Specifies an index for an image in the of a instance. The image is only shown in the text field, not in the drop-down list. (Default: -1) () The that holds a collection of images. Cells can choose images with the property in a instance. (Default: NULL) () Lets you specify a solid backcolor, gradient, or pattern style with both back and forecolor for a cell's background. (Default: SystemColors.Window) () Limits the number of characters the user can type into the cell. Note: When selecting a text from a choice list or when pasting text, the text can be longer. Additional validation is necessary on your side. (Default: 0) () Specifies if cell contents can be modified by the user. The user can still drop-down the grid panel but changes will not be saved back into the text field. (Default: False) () Specifies when to show or display the drop-down button. Possible choices are: show the button only for the current cell, always show buttons, or never show buttons. (Default: GridShowButtons.Show) () Gets / sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using any information. (Default: String.Empty) () Align text left of button elements (which is typical for combo boxes). Or align text right of button elements. (Default: GridTextAlign.Default) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell this specifies the empty area between the text rectangle and the borders of the client rectangle of the cell. The client rectangle is the cell rectangle without buttons and borders. (Default: GridMarginsInfo.Default) () Specifies if cell should be drawn using Windows XP themes when has been set. (Default: True) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Holds validation rules for the cell value that are being checked before any user changes are committed to the grid cells style object. (Default: NULL) () Specifies vertical alignment of text and the drop-down button in the cell. (Default: GridVerticalAlignment.Top) () Specifies if text should be wrapped when it does not fit into a single line. (Default: True) Initializes a new GridDropDownGridCellRenderer object for the given GridControlBase and GridCellModelBase. The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Occurs when the drop down container is about to be shown. The source of the event. Event data. This method is called to create the grid control that is dropped-down. The grid control The control that is shown inside the drop-down container. You should override this method in your derived class and create your own grid class and initialize it with data that fits your needs. You don't have to call the base class version. The default version of this method simply creates a grid that displays the same data as the parent grid and embeds it into a . This is of course just for demonstration purposes and probably not of much use in your specific applications. The following code creates a grid that displays the same data as the parent grid and embeds it into a . protected virtual Control CreateInnerControl(out GridControlBase grid) { grid = Grid.CreateNewControl(this.dropdownContainer, 0, 0) as GridControlBase; grid.Dock = DockStyle.Fill; grid.DropDownContainerParent = this.dropdownContainer; GridRecordNavigationControl recordNavigationControl1 = null; recordNavigationControl1 = new GridRecordNavigationControl (grid); recordNavigationControl1.Dock = DockStyle.Fill; recordNavigationControl1.TabIndex = 0; return recordNavigationControl1; } This method gets called from the cell renderer's initialize method. Override this method if you need to any initialization for the current cell. The row index. The column index. Handles the event of the text box and raises a event. The source of the event. Event data. Called when the parent grid of this cell renderer gets the focus. The that contains event data. This is called from GridCurrentCell.CloseDropDown. If your renderer supports dropped-down state, the drop-down window should be made closed at this time. Closes the DropDown if the CurrentCell is deactivated along with BrowseOnly property Occurs after the popup child was dropped down and made visible. The source of the event. The that contains Event data. Called to indicate that the popup child was closed in the specified mode. Popup child. The way in which the popup child was closed. Defines the model / data part of a drop-down ListControl-like grid. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. is dropdown is comboBox You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a for this cell model that is specific to the GridControlBase. The grid control for which the cell renderer is created for. A new specific for the specified grid. Defines the renderer part of a drop-down ListControl-like grid that lets users drop-down a grid that can be bound to a of a instance and supports auto-complete. Display and value members can be specified with and . The supports an auto complete feature that will fill the text with possible matches from the drop-down list while the user is entering text. A renderer is created for each and . There can be several renderers associated with one if several views display the same . The following table lists some characteristics about the DropDownGridListControl cell type. Item Description CellType GridListControl Renderer Model XP Themes Support Yes Cell Button Interactive Edit with Text Input or DropDown Control DropDown Control Floating Support No Base Type The cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () Gets / sets if pressing the <Enter>-Key should insert a new line into the edited text. (Default: False) () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () GridListControl (Default: Text Box) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () Specifies if the drop-down button can be clicked. If set to False, the button will be drawn grayed out. See how to disable activating the drop-down cell. (Default: True) () The culture information holds rules for parsing and formatting the cell's value. (Default: NULL) () Specifies a data source that holds items to be displayed in a drop-down list. A datasource can be specified instead of manually filling the choicelist with string entries. (Default: NULL) () Names the property in the that holds the text to be displayed in a cell that depends on a . (Default: String.Empty) () Specifies if user input is restricted to items from the or . (Default: GridDropDownStyle.Editable) () Specifies if the cell can be activated as current cell or if the cell should be skipped when moving the current cell. When disabled, the drop-down button can still be clicked. You should also disable if you do not want the user to click the drop-down button. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () Specifies if user input is restricted to items from the or . (Default: False) () The font for drawing text. (Default: GridFontInfo.Default) () Specifies horizontal alignment of text in the cell. This does not affect the position of the drop-down button. (Default: GridHorizontalAlignment.Left) () Specifies how hot-key prefixes should be displayed. Hot-keys are indicated in text with an '&' (ampersand). When you enable the hot-key prefix, the specific characters can be displayed underlined or regular. The '&' will not be displayed. (Default: HotkeyPrefix.Show) () Specifies an index for an image in the of a instance. The image is only shown in the text field, not in the drop-down list. You have to add custom programming logic in order to set the ImageIndex based on a selection in the drop-down list. (Default: -1) () The that holds a collection of images. Cells can choose images with the property in a instance. (Default: NULL) () Lets you specify a solid backColor, gradient, or pattern style with both back and foreColor for a cell's background. (Default: SystemColors.Window) () Limits the number of characters the user can type into the cell. Note: When selecting a text from a choice list or when pasting text, the text can be longer. Additional validation is necessary on your side. (Default: 0) () Specifies if cell contents can be modified by the user. The user can still drop-down the grid panel but changes will not be saved back into the text field. (Default: False) () Specifies when to show or display the drop-down button. Possible choices are: show the button only for the current cell, always show buttons, or never show buttons. (Default: GridShowButtons.Show) () Gets / sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using any information. (Default: String.Empty) () Align text left of button elements (which is typical for combo boxes). Or align text right of button elements. (Default: GridTextAlign.Default) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the borders of the client rectangle of the cell. The client rectangle is the cell rectangle without buttons and borders. (Default: GridMarginsInfo.Default) () Specifies if cell should be drawn using Windows XP themes when has been set. (Default: True) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Holds validation rules for the cell value that are being checked before any user changes are committed to the grid cells style object. (Default: NULL) () Names the property in the dataSource that holds the key to be saved in a cell. (Default: String.Empty) () Specifies the vertical alignment of text and the drop-down button in the cell. (Default: GridVerticalAlignment.Top) () Specifies if text should be wrapped when it does not fit into a single line. (Default: True) Initializes a new GridDropDownGridListControlCellRenderer object for the given GridControlBase and GridCellModelBase. The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Creates the grid that is displayed in the drop-down window. A to be placed in the dropdown container. Unwires any events subscribed from GridDropDownListControlCellRenderer. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Called after created Called from to destroy Used to wire the events. To return a datatable from an IEnumerable source incase the datasource bound to the dropdown is IEnumerable with no DisplayMember datasource bound to the DropDown Type of datasource items datatable Event handler for PrepareViewStyleInfo event of dropdown table. Event source. The that contains event data. Event handler for CellDrawn event of dropdown table. Event source. The that contains event data. This is called from GridCurrentCell.RejectChanges. Any drop-downs have been closed at this time. This event is fired when the listControl currentCell starts moving. The source control The that contains event data. Allows custom formatting of a cell by changing its style object. Thethat contains event data. This method gets called from the cell renderer's initialize method. Override this method if you need to any initialization for the current cell. The row index. The column index. Called right after ControlText was set. The ControlText Creates a list from DataTable and recreate a table using the list listcontrolpart The specified text to search from the list. dataSource of listcontrolpart Refresh the choiceList/ The specified text to search from the choiceList. ListBox which is contain the string collection. ListBox part with refreshed values Generates the possible choices of the choice list based on the searchText. Choice list. Text to be searched. User pressed key (similar to Control.OnKeyPress). A with data of the keyboard event. Occurs when the event of the is raised. The source of the event. The that contains event data. Checks whether the specified text is valid. Text to be validated. True if the text is valid; False otherwise. Lets you customize and redirect the mouse wheel behavior to a cell renderer. The event arguments. True if the parent grid should not be scrolled; False if the parent grid should scroll. Occurs when the drop down container is about to be shown. The control source. The that contains event data. Occurs after the popup child was dropped down and made visible. The control source. The that contains event data. Called to initialize contents of the drop-down container for the first time. Handles the event for the list box, closes the drop-down. The source control. The that contains event data. Raises the GridCurrentCell.CellChanged event indicating the contents of the current cell have been changed (e.g. in response to a TextBox.Changed event). If you have implemented a custom cell type you should call this method from your derived renderer if you support modifying the cell contents. Handles the vertical Scroll event for the dropped-down grid and sets focus to the drop-down. The source control. The that contains event data. Handles the event for the list box, resets mouse tracking. The source control The that contains event data. Retrieves the text from the list box index and sets the TextBoxText. Called when the user presses arrow keys to move selection in dropped list box. List box index. Searches for a given prefix at a starting index in the drop-down list. The prefix to search for. True if found entry should be selected in list box. The index where to start the search. True if case can be ignored; False if case sensitive. The index of the entry that matches the prefix. Finds text in the list box. The text (or prefix) to find. True if you want to select the text in the list box. The first index to start searching. True if case can be ignored; False if case sensitive. The index of the entry that starts with the text; -1 if no entry could be found. Handles the event for the text box. Selects the next item in the list if the user double-clicks. The source of the event. The that contains event data. This is called from GridSelectCellsMouseController when the user clicked inside a cell. The row index. The column index. The that contains event data. Closes the DropDown if the CurrentCell is deactivated along with BrowseOnly property Occurs when the current cell has in-place editing mode and the user double-clicked inside the control associated with the current cell. GridCurrentCell.ControlDoubleClick lets you detect a double click inside a cell for any CurrentCellActivateBehavior. If for example the focus is set to the renderers control after the first click, the grid will listen for a MouseDown on the newly focused control and raise this event on a second click. Raising this event is only optional for the cell renderer that manages the active cell. A text box will usually send this event when the associated control has received the focus after the cell was switched into edit mode and the user double-clicked. Other cell renderers may or may not send this event. This is called from GridSelectCellsMouseController when the user double-clicks inside a cell. The row index. The column index. The that contains event data. This event is occurred when key pressed in TextBox. The source control. The that contains event data. Gets the that this cell renderer belongs to. Gets the grid that is displayed in the drop-down window. Defines the data / model part of a month calendar cell that lets users drop-down a calendar and select a date or range of dates. You typically access cell models through the property of the class. A can serve as model for several instances if a there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Parses the text and converts it into a cell value to be stored in the style object (ignoring any settings). CultureInfo.CurrentText is used for parsing the string. The object that holds cell information. The input text to be parsed. True if value was parsed correctly and saved in style object as ; False otherwise. Parses the display text and converts it into a cell value to be stored in the style object. Cell style information. Input text. TextInfo is a hint of who is calling, default is GridCellBaseTextInfo.DisplayText. True if value was parsed correctly and saved in style object as ; False otherwise. Gets formatted DateTime Value from GridStyleInfo object. GridStyleInfo object. Formatted DateTime value. This is called from GridStyleInfo.GetFormattedText. GridStyleInfo.CultureInfo is used for conversion to string. The object that holds cell information. The value to format. TextInfo is a hint of who is calling, default is GridCellBaseTextInfo.DisplayText. The formatted text for the given value. Creates a renderer for this cell model. The grid control. Cell renderer. Defines the renderer part of a month calendar cell that lets users drop-down a calendar and select a date or range of dates. A renderer is created for each and . There can be several renderers associated with one if several views display the same . The following table lists some characteristics about the DropDownMonthCalendar cell type: Item Description CellType MonthCalendar Renderer Model XP Themes Support Yes Cell Button Interactive Edit with Text Input or DropDown Control DropDown Control Floating Support No Base Type The cells behavior and appearance can be customized with the following properties of the class: PropertyName Description () Gets / sets if pressing the <Enter>-Key should insert a new line into the edited text. (Default: False) () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () MonthCalendar (Default: Text Box) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. Recommended types for a DropDownMonthCalendar are System.DateTime, System.String, or none. (Default: NULL) () Specifies if the drop-down button can be clicked. If set to False, the button will be drawn grayed out. See how to disable activating the drop-down cell. (Default: True) () The culture information holds rules for parsing and formatting the cell's value. (Default: NULL) () Specifies if the cell can be activated as current cell or if cell should be skipped when moving the current cell. When disabled, the drop-down button can still be clicked. You should also disable if you do not want the user to click the drop-down button. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () The font for drawing text. (Default: GridFontInfo.Default) () Lets you specify a DateTime format when has been initialized to "System.DateTime". (Default: String.Empty) () Specifies the horizontal alignment of text in the cell. This does not affect the position of the drop-down button. (Default: GridHorizontalAlignment.Left) () Specifies an index for an image in the of a instance. The image is only shown in the text field, not in the drop-down list. (Default: -1) () The that holds a collection of images. Cells can choose images with the property in a instance. (Default: NULL) () Lets you specify a solid backcolor, gradient, or pattern style with both back and forecolor for a cell's background. (Default: SystemColors.Window) () Limits the number of characters the user can type into the cell. Note: When selecting a text from a choice list or when pasting text, the text can be longer. Additional validation is necessary on your side. (Default: 0) () Specifies if cell contents can be modified by the user. The user can still drop-down the MonthCalendar panel but changes will not be saved back into the text field. (Default: False) () Specifies when to show or display the drop-down button. Possible choices are: show the button only for the current cell, always show buttons, or never show buttons. (Default: GridShowButtons.Show) () Gets / sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using any information. (Default: String.Empty) () Align text left of button elements (which is typical for combo boxes). Or align text right of button elements. (Default: GridTextAlign.Default) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the borders of the client rectangle of the cell. The client rectangle is the cell rectangle without buttons and borders. (Default: GridMarginsInfo.Default) () Specifies if cells should be drawn using Windows XP themes when has been set. (Default: True) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Holds validation rules for the cell values that are being checked before any user changes are committed to the grid cell's style object. (Default: null) () Specifies the vertical alignment of text and the drop-down button in the cell. (Default: GridVerticalAlignment.Top) () Specifies if text should be wrapped when it does not fit into a single line. (Default: True) Initializes a new object for the given GridControlBase and GridCellModelBase. The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Called to initialize contents of the drop-down container for the first time. Called to indicate that the popup child was closed in the specified mode. Popup child. The way in which the popup was closed. This is called from GridCurrentCell.CloseDropDown. If your renderer supports dropped-down state, the drop-down window should be made closed at this time. Closes the DropDown if the CurrentCell is deactivated along with BrowseOnly property Occurs when the drop down container is about to be shown. Event source. The that contains event data. Gets CalendarControlSize. Used internally. Defines the model / data part of a drop-down ListControl-like grid. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a for this cell model that is specific to the GridControlBase. The grid control for which the cell renderer is created for. A new specific for the specified grid. Creates choice list for filter drop down. List box drop down. Cell style information. True if list box is loaded with exclusive choice list or if non-standard values are allowed. Defines the renderer part of a drop-down ListControl-like grid that lets users drop-down a grid that display choices for a cell determined through the method of a . The supports an autocomplete feature that will fill the text with possible matches from the drop-down list while the user is entering text. A renderer is created for each and . There can be several renderers associated with one if several views display the same . Initializes a new GridDropDownStandardValuesCellRenderer object for the given GridControlBase and GridCellModelBase. The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Unwires any events subscribed from GridDropDownStandardValuesCell. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Returns the maximum size in pixels for the dropdown grid. If more items need to be displayed that fit into that screen area, scrollbars will be shown. The maximum size in pixels for the dropdown grid Creates the grid that is displayed in the drop-down window. A to be placed in the drop-down container. This method gets called from the cell renderer's initialize method. Override this method if you need to any initialization for the current cell. The row index. The column index. Checks if the specified text is valid. Input text. True if the text is valid; False otherwise. Occurs when the drop down container is about to be shown. Event source. The that contains event data. Allows custom formatting of a cell by changing its style object. The that contains event data. Returns the width of a possible "Glyph" to be drawn before the cell value. This method is overridden by the UITypeEditorCellRenderer The width in pixel for the glyph. Implements the data / model part for a generic control cell. You typically access cell models through the property of the class. A can serve as model for several instances if a there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a renderer for this cell model. The grid control. Cell renderer. Implements the renderer part of a generic control cell. Use the property to associate any windows forms control with this cell type. Be careful when sharing this cell type among several cells. In most cases, it will cause problems and you should assign a different control to each cell's GridGenericControlCellRenderer is derived from GridStaticCellRenderer. It adds support for embedding any custom .NET control inside a cell. But if you want to draw the content of the cell yourself, deriving from GridStaticCellRenderers and overriding its OnDraw method should be enough. See the SliderCells, WebBrowserCells, and PictureBoxCells for samples of this cell type. The following table lists some characteristics about the Control cell type: Item Description CellType Control Renderer Model XP Themes Support NA Interactive Depends on embedded control Control Floating Support No Base Type The cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () Control (Default: Text Box) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () A custom control you can associate with a cell. (Default: NULL) () Specifies if the cell can be activated as current cell or if the cell should be skipped when moving the current cell. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () Lets you specify a solid backColor, gradient, or pattern style with both back and foreColor for a cells background. (Default: SystemColors.Window) () Specifies if cell contents can be modified by the user. You can programmatically change Read-only cells by setting to True. (Default: False) Initializes a new object for the given GridControlBase and GridCellModelBase. The that display this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase and GridCellModelBase will be saved. Used to ends the temporary resizing of the control. used to change buffer state to unbuffered state of the . The control that is shown in this cell. Parents the control to the grid instance and ensures correct settings for , , and . The control that is shown in this cell. This method is called from the cell renderer's draw method to draw the contents of the client bounds for the cell, e.g. the text for a static cell. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. Specifies the row id. Specifies the column id. A reference to the style object of the cell. When drawing cells, it is necessary to determine if the specified cell (with rowIndex and colIndex) is the current cell and if it is active. If your control is associated with a control and supports in-place editing and the specified cell is the current cell, you should position the control. Take a look at the GridTextBoxCellRenderer implementation of this method for an example. Otherwise, you can simply draw the cell. This is called from GridCurrentCell.Activate after the activating event has been raised and allows interception of cell activation. The row index. The column index. True is cell can be activated; False otherwise. Hides the control. Override this method if your cell renderer supports in-place editing and you want to do any custom initialization at this point before cell gets redrawn. The default behavior of this virtual method is to force a redraw of the current cell. A cell can then initialize an edit control and set focus in the OnDraw method call. /// This method gets called from the cell renderer's initialize method. Override this method if you need to any initialization for the current cell. The row index. The column index. This is called from GridSelectCellsMouseController when the user clicked inside a cell. The row index. The column index. The that contains event data. Adds grid cell-specific keyboard logic to a . Initializes a new and attaches it to a . Parent cell renderer object. Determines whether the specified key is an input key or a special key that requires preprocessing. One of the key's values. true if the specified key is an input key; otherwise, false. Intercepts the Key messages. The message data. True if the key is handled; False otherwise. Preprocesses keyboard or input messages within the message loop before they are dispatched. The Message. True if they are preprocessed. Overridden to process windows message. The Gets the associated cell renderer for the text box. Implements the data / model part for a MaskedEdit cell. You typically access cell models through the property of the class. A can serve as model for several instances if a there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a renderer for this cell model. The grid control. Cell renderer. Gets the text to be displayed in the cell. Cell style information. Cell value. Text to be displayed in the cell. Returns the formatted text with formatting. Cell style information. Cell value. TextInfo is a hint of who is calling, default is GridCellBaseTextInfo.DisplayText. Formatted text. Initializes a with information supplied by a The control to be initialized. The style with settings to be applied. Implements the renderer part of a currency cell. Use the () property of a to change masked edit properties for a cell. The following table lists some characteristics about the MaskedEdit cell type: Item Description CellType MaskEdit Renderer Model XP Themes Support NA Interactive Edit with Text Input Control Floating Support Both Base Type The cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () Gets / sets if the cell height should automatically increase when the edited text does not fit into the cell and is True. If is False, will affect the column width. (Default: False) () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () MaskedEdit (Default: Text Box) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () The culture information holds rules for parsing and formatting the cell's value. (Default: NULL) () Specifies if the cell can be activated as current cell or if the cell should be skipped when moving the current cell. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () Gets / sets if text can float into the boundaries of a neighboring cell. (Default: True) () Gets / sets if this cell can be flooded by a previous cell. (Default: True) () The font for drawing text. (Default: GridFontInfo.Default) () Gets / sets the format mask for formatting the cell value. You can specify numeric format strings, date format strings, or enumeration format strings as discussed in the section "Format Specifies and Format Providers" of the .NET Framework Developers Guide (see ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconformatspecifiersformatproviders.htm) (Default: String.Empty) () Lets you specify a solid backColor, gradient, or pattern style with both back and foreColor for a cell's background. (Default: SystemColors.Window) () A nested object with masked edit properties for a cell. (Default: GridMaskEditInfo.Default) () Limits the number of characters the user can type into the cell. Note: When selecting a text from a choice list or when pasting text, the text can be longer. Additional validation is necessary on your side. (Default: 0) () Specifies merge behavior for an individual cell when merging cell's features have been enabled in a with . (Default: GridMergeCellDirection.None) () Specifies if cell contents can be modified by the user. You can programmatically change Read-only cells by setting to True. (Default: False) () Gets / sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using any information. (Default: String.Empty) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the client rectangle of the cell without borders and cell buttons. (Default: GridMarginsInfo.Default) Initializes a new object for the given GridControlBase and GridCellModelBase. The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase and GridCellModelBase will be saved. Used to assign the parent control. The This event occurs when focus control text changed. The source control. The that contains event data. This event occurs when floating cells changed. The source control. The that contains event data. This method is used to draw the cell text. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. Specifies the row id. Specifies the column id. A reference to the style object of the cell. The text occurs in the specified cell. This method is called from PerformLayout to calculate the client rectangle given the inner rectangle of a cell and any boundaries of cell buttons. The row index. The column index. The object that holds cell information. The with the inner bounds of a cell. An array of with bounds for each cell button element. A with the bounds. This method is called from GridCurrentCell.Validate after GridCurrentCell.Validating event has been fired. The default version checks if the active text fits any criteria as specified in the style object: It can be parsed into a cell value and meets GridCellValidateValueInfo criteria. True if the modified text is valid; False otherwise. This event is used to validate the error in focus control. The source control. The that contains event data. This method gets called from the cell renderer's initialize method. Override this method if you need to any initialization for the current cell. The row index. The column index. This is called after the activating event and notifies that at this time the current cell has now become the active current cell. Override this method if your cell renderer supports in-place editing and you want to do any custom initialization at this point before cell gets redrawn. The default behavior of this virtual method is to force a redraw of the current cell. A cell can then initialize an edit control and set focus in the OnDraw method call. User pressed key down (similar to Control.OnKeyDown). The that contains event data User pressed key (similar to Control.OnKeyPress). The that contains event data. Initializes based on the specified cell value. The cell value. See the of the class. The default behavior of this method is to call event. The user can catch the event and change the property of the object. This is called from GridSelectCellsMouseController when the user double-clicks inside a cell. The row index. The column index. The that contains event data. This is called from GridSelectCellsMouseController when the user clicked inside a cell. The row index. The column index. The that contains event data. Determines whether the current cell can be copied to clipboard. True if it can be copied; False otherwise. Defines the data / model part of a numeric up / down cell that lets users increase and decrease values with spin buttons. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a renderer for this cell model. The grid control. Cell renderer. Gets or sets a value indicating whether NumericUpDown cell should accept Alpha keys The following code shows how to get a reference to the Model and change this property: GridNumericUpDownCellModel cm = (GridNumericUpDownCellModel) this.gridControl1.CellModels["NumericUpDown"]; cm.AcceptAlphaKeys = false; Dim cm As GridNumericUpDownCellModel = CType(Me.gridControl1.CellModels("NumericUpDown"), GridNumericUpDownCellModel) cm.AcceptAlphaKeys = False Defines the renderer part of a numeric up / down cell that lets users increase and decrease values with spin buttons. A cell's behavior can be customized with the property of a instance and any properties that affect regular text boxes as specified for and . lets you specify the step, minimum and maximum value, and if the value should start over when you reach the maximum value. displays two cell button elements at the right side of the cell. You can specify when these buttons are shown with the property of a instance. You can disable these buttons when you reset the property of to False. A renderer is created for each and . There can be several renderers associated with one if several views display the same . The up-down buttons are XP Themes enabled. They will be drawn themed if is true. The following table lists some characteristics about the NumericUpDown cell type: Item Description CellType NumericUpDown Renderer Model XP Themes Support Yes Cell Button Interactive Edit with Text Input or click on Up-/Down Buttons Control Floating Support No Base Type The cells behavior and appearance can be customized with the following properties of the class: PropertyName Description () Gets / sets if pressing the <Enter>-Key should insert a new line into the edited text. (Default: False) () Gets / sets if the cell height should automatically increase when the edited text does not fit into the cell and is True. If is False, will affect the column width. (Default: False) () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () NumericUpDown (Default: Text Box) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () Specifies if up / down buttons can be clicked. If set to False, the buttons will be drawn grayed out. See to disable activating the cell as current cell. (Default: True) () The culture information holds rules for parsing and formatting the cells value. (Default: NULL) () Specifies if the cell can be activated as current cell or if cell should be skipped when moving the current cell. When disabled, the up / down buttons will be drawn grayed out. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () The font for drawing text. (Default: GridFontInfo.Default) () Gets / sets the format mask for formatting the cell value. You can specify numeric format strings, date format strings, or enumeration format strings as discussed in the section "Format Specifiers and Format Providers" of the .NET Framework Developers Guide (see ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconformatspecifiersformatproviders.htm) (Default: String.Empty) () Specifies the horizontal alignment of text in the cell. This does not affect the position of the up / down buttons. (Default: GridHorizontalAlignment.Left) () Specifies how hot-key prefixes should be displayed. Hot-keys are indicated in text with an '&' (ampersand). When you enable the hot-key prefix, the specific characters can be displayed underlined or regular. The '&' will not be displayed. (Default: HotkeyPrefix.Show) () Specifies an index for an image in the of a instance. (Default: -1) () The that holds a collection of images. Cells can choose images with the property in a instance. (Default: NULL) () Lets you specify a solid backColor, gradient, or pattern style with both back and foreColor for a cell's background. (Default: SystemColors.Window) () Limits the number of characters the user can type into the cell. Note: When selecting a text from a choice list or when pasting text, the text can be longer. Additional validation is necessary on your side. (Default: 0) () lets you specify the step, minimum and maximum value, and if the value should start over when you reach the maximum value. (Default: NULL) () Specifies if cell contents can be modified by the user. You can programmatically change Read-only cells by setting to True. (Default: False) () Specifies when to show or display the drop-down button. Possible choices are: show the button only for the current cell, always show buttons, or never show buttons. (Default: GridShowButtons.Show) () Gets / sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using any information. (Default: String.Empty) () Align text left of button elements (which is typical for NumericUpDown). Or align text right of button elements. (Default: GridTextAlign.Default) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the borders of the client rectangle of the cell. The client rectangle is the cell rectangle without buttons and borders. (Default: GridMarginsInfo.Default) () Specifies if cell should be drawn using Windows XP themes when has been set. (Default: True) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Holds validation rules for the cell values that are being checked before any user changes are committed to the grid cells style object. (Default: null) () Specifies vertical alignment of text and the up / down buttons in the cell. (Default: GridVerticalAlignment.Top) () Specifies if text should be wrapped when it does not fit into a single line. (Default: True) Initializes a new object for the given GridControlBase and GridNumericUpDownCellModel. The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase and GridCellModelBase will be saved. Called from Initialize after currentRowIndex, inInitialize are set and PerformLayout finished. Specifies the row id. Specifies the column id. This method is called from PerformLayout to calculate the client rectangle given the inner rectangle of a cell and any boundaries of cell buttons. The row index. The column index. The object that holds cell information. The with the inner bounds of a cell. An array of with bounds for each cell button element. A with the bounds. This method is called when the user clicks a cell button inside cell. The row index. The column index. The button In your overridden version of this method, you can activate the current cell for the given row and column index and then drop-down a list. Checks whether the specified text is valid. The text to be validated. True if the given text is valid; False otherwise. Adds grid cell-specific keyboard logic to a . Initializes a new and attaches it to a . Parent cell renderer. Gets the associated cell renderer for the text box. Implements the data / model part for a progress bar cell. You typically access cell models through the property of the class. A can serve as a model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a renderer for this cell model. The grid control. Cell renderer. Initializes a with information supplied by a The control to be initialized. The style with settings to be applied. Implements the renderer part of a progress bar cell. Use the () property of a to change progress bar properties for a cell. The ProgressBar control has background, border, and foreground styles. The background styles are . The border styles are . The foreground styles are . The following table lists some characteristics about the ProgressBar cell type: Item Description CellType ProgressBar Renderer Model XP Themes Support Yes Interactive Click Only Control Floating Support No Base Type The cells behavior and appearance can be customized with the following properties of the class: PropertyName Description () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () ProgressBar (Default: Text Box) () Specifies if the cell can be activated as current cell or if the cell should be skipped when moving the current cell. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () The font for drawing text. (Default: GridFontInfo.Default) () Lets you specify a solid backColor, gradient, or pattern style with both back and foreColor for a cell's background. (Default: SystemColors.Window) () A nested object with ProgressBar properties for a cell. (Default: GridProgressBarInfo.Default) () Specifies if cell contents can be modified by the user. You can programmatically change Read-only cells by setting to True. (Default: False) () Specifies if cell should be drawn using Windows XP themes when has been set. (Default: True) Initializes a new GridProgressBarCellRenderer object for the given GridControlBase and GridCellModelBase. The that display this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase and GridCellModelBase will be saved. Used to fix the parent default values. The parent control. This method is called from the cell renderer's draw method to draw the contents of the client bounds for the cell, e.g. the text for a static cell. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. Specifies the row id. Specifies the column id. A reference to the style object of the cell. When drawing cells, it is necessary to determine if the specified cell (with rowIndex and colIndex) is the current cell and if it is active. If your control is associated with a control and supports in-place editing and the specified cell is the current cell, you should position the control. Take a look at the GridTextBoxCellRenderer implementation of this method for an example. Otherwise, you can simply draw the cell. Defines the model / data part of a dropdown with an embedded . You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a renderer for this cell model. The grid control. Cell renderer. Defines the renderer part of a dropdown with an embedded that lets users modify the properties of a complex cell value with nested properties. A renderer is created for each and . There can be several renderers associated with one if several views display the same . Initializes a new GridPropertyGridCellRenderer object for the given GridControlBase and GridCellModelBase. The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Unwires any events subscribed from GridPropertyGridCell. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Called from Initialize after currentRowIndex, inInitialize are set and PerformLayout finished. Specifies the row id. Specifies the column id. Occurs when the drop down is about to be shown. Event source. The that contains event data. Occurs after the popup child was dropped down and made visible. Event source. The that contains event data. Called to indicate that the popup child was closed. Source of the event. The that contains event data. This method is called from GridCurrentCell.ConfirmChanges when the current cell was marked as modified. Any drop-downs have been closed at this time. It saves changes for the current cell. True if changes were saved successfully; False if no changes were saved. Occurs before the current cell switches into editing mode. True if editing the cell is allowed; false otherwise. Occurs when the grid completes editing mode for the active current cell. The grid raises this event when the objects or method is called. The event occurs after or is raised. You can determine if was called stand-alone or as result of a call by checking the property. You can find out about the current cell's position by querying the and properties of the object in . See for a discussion about the order of events that you receive when the current cell is moved. Called from GridCurrentCell.EndEdit. If render had focus, is called which triggers and initiates repainting the cell. In your overridden method, you should then check which will return False. Called from GridCurrentCell.Deactivate after GridCurrentCell.Deactivating event and before the current cell is deactivated. True if renderer can be deactivated; False if deactivation should be aborted. Called from GridCurrentCell.Deactivated after the current cell is deactivated and before the GridCurrentCell.Deactivated event. Specifies the row id. Specifies the column id. Checks if the given text is valid. Input text. returns True. This method is called from GridCurrentCell.Validate after GridCurrentCell.Validating event has been fired. The default version checks if the active text fits any criteria as specified in the style object: It can be parsed into a cell value and meets GridCellValidateValueInfo criteria. True if the modified text is valid; This is called from GridClickCellsMouseController or GridSelectCellsMouseController when your cell renderer has indicated in its OnHitTest override that it wants to receive mouse events and the user has pressed a mouse button. The row index. The column index. The that contains event data. Indicates whether a specified control is part of the popup hierarchy. A control instance. True if the query should be passed to the popup parent; False if you should not query the popup parent. returns True. This event occurs when the property grid selected item changed. The source control. The that contains event data. Implements the data / model part for a radio button cell. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a renderer for this cell model. The grid control. Cell renderer. Implements the renderer part of a radio button cell. You set up radio buttons using an array of objects. Each info object in this array corresponds to a single radio button. The properties for each button that you can set include GridRadioButtonInfo.Description, GridRadioButtonInfo.Alignment and GridRadioButtonInfo.Enabled. To get a cell to use a particular GridRadioButtonInfo[], you set the GridStyleInfo.ChoiceList to string collection that holds the descriptions for each button. If you want to disable a particular button, end the description with /disabled. You are limited to a maximum of ten buttons. The alignment setting is determined from the GridStyleInfo.TextAlign property. Initializes a new GridRadioButtonCellRenderer object for the given GridControlBase and GridCellModelBase. The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase and GridCellModelBase will be saved. This event occurs when the user has clicked on a child button element inside the cell renderer. The source control. The that contains event data. This method is called from the cell renderer's draw method to draw the contents of the client bounds for the cell, e.g. the text for a static cell. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. Specifies the row id. Specifies the column id. A reference to the style object of the cell. When drawing cells, it is necessary to determine if the specified cell (with rowIndex and colIndex) is the current cell and if it is active. If your control is associated with a control and supports in-place editing and the specified cell is the current cell, you should position the control. Take a look at the GridTextBoxCellRenderer implementation of this method for an example. Otherwise, you can simply draw the cell. Gets the state information regarding a radio button within a RadioButton cell. The button index The reference to the style object of the cell Returns the GridRadioButtonInfo object . which holds the the state information regarding a radio button within a RadioButton cell. Gets the number of buttons. The reference to the style object of the cell. Returns the buttons count. Overridden to allow buttons to be printed. The row index. The column index. The object that holds cell information. returns Boolean value Draw the contents of specified cell. Graphics context. Cell rectangle. Row index. Column index. Cell style information. This method is called from GridCurrentCell.ConfirmChanges when the current cell was marked as modified. Any drop-downs have been closed at this time. It saves changes for the current cell. True if changes were saved successfully; False if no changes were saved. This method is called from PerformLayout to calculate the client rectangle given the inner rectangle of a cell and any boundaries of cell buttons. The row index. The column index. The object that holds cell information. The with the inner bounds of a cell. An array of with bounds for each cell button element. A with the bounds. User pressed key down (similar to Control.OnKeyDown). The that contains event data. This method gets called from the cell renderer's initialize method. Override this method if you need to any initialization for the current cell. The row index. The column index. Defines the cell radio button of a . This button is XP Themes enabled. It will be drawn themed if is True and the GridStyleInfo.ThemesEnabled is True for the cell. Width of the radio button. Initializes a new GridRadioButton. The GridRadioButtonCellRenderer object which owns this button. The button's index in the collection of radio buttons for this cell. Which calls the base class dispose method. to release both managed and unmanaged resources; to release only unmanaged resources. Draws a button using or if XP Themes are enabled, button will be drawn themed. The context of the canvas. The with the bounds. A that specifies the current state. The style information for the cell. Gets or sets a value indicating whether the button is enabled. Holds the state information regarding a radio button within a RadioButton cell. Initializes a new with default values. Initializes a new object of the class. The property value. The property value. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the object. A SerializationInfo object containing the information required to serialize the object. A StreamingContext object containing the source and destination of the serialized stream. Creates a copy of this object. A copy of this object. Gets or sets the text displayed with the button. Gets or sets a value indicating whether the button is enabled or not. Implements the data / model part for a rich text cell. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a renderer for this cell model that is specific to the GridControlBase. The the cell renderer is created for. A new specific for a . You must override this method in your implementation of GridCellModelBase. This is called from GridStyleInfo.GetFormattedText. GridStyleInfo.CultureInfo is used for conversion to string. The object that holds cell information. The value to format. TextInfo is a hint of who is calling, default is GridCellBaseTextInfo.DisplayText. The formatted text for the given value. Parses the display text and converts it into a cell value to be stored in the style object. GridStyleInfo.CultureInfo is used for parsing the string. The object that holds cell information. The input text to be parsed. TextInfo is a hint of who is calling, default is GridCellBaseTextInfo.DisplayText True if value was parsed correctly and saved in style object as ; False otherwise. Implements the renderer part of a rich text cell. Use "RichText" as identifier in CellType of a cells to associate this cell type with a cell. This renderer supports editing the contents of the rich text with a drop-down panel. When the user drops the panel, a is shown and the user can format the text and then accept changes by pressing "Save" button. The following table lists some characteristics about the RichText cell type. Item Description CellType RichText Renderer Model XP Themes Support Yes Interactive Edit with DropDown Panel DropDown Control Floating Support No Base Type The cell's behavior and appearance can be customized with the following properties of the class. PropertyName Description () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () RichText (Default: TextBox) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () Specifies if the user can click on any cell button elements in this renderer. (Default: True) () The culture information holds rules for parsing and formatting the cell's value. (Default: NULL) () Specifies if the cell can be activated as current cell or if the cell should be skipped when moving the current cell. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () Lets you specify a solid backColor, gradient, or pattern style with both back and foreColor for a cell's background. (Default: SystemColors.Window) () Specifies if cell contents can be modified by the user. You can programmatically change Read-only cells by setting to True. (Default: False) () Specifies when to show or display the cell buttons. Possible choices are: show the button only for the current cell, always show buttons, or never show buttons. (Default: GridShowButtons.Show) () Gets / sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using any information. (Default: String.Empty) () Specifies if cell should be drawn using Windows XP themes when has been set. (Default: True) () Holds validation rules for the cell value that are being checked before any user changes are committed to the grid cell's style object. (Default: NULL) Initializes a new GridRichTextBoxCellRenderer object for the given GridControlBase and GridCellModelBase. The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase and GridCellModelBase will be saved. Called to initialize contents of the drop-down container for the first time. This event occurs when key pressed in richTextBox cell. The source control. The that contains event data. Used to assign all the rich text format code. The Used to assign all the rich text format code. The instance. The string to be added to the rich text box. Used to change the behavior of the OnButtonClicked event Represents the row value Represents the column value Used to get the value of button This method gets called from the cell renderer's initialize method. Override this method if you need to any initialization for the current cell. The row index. The column index. This is called from GridSelectCellsMouseController when the user clicked inside a cell. The row index. The column index. The that contains event data. Used to change the behavior of the OnEndEdit event Used to change the behavior of the OnBeginEdit event Used to change the behavior of the OnEditingComplete event Event handler for the KeyDown event of the . The source of the event. A KeyEventArgs that contains the event data. Event handler for the event of the . The source of the event. Event data. Event handler for the event of the . The source of the event. Event data. Occurs when the drop-down container is about to be shown. The source of the event. Event data. To align the RichTextBox dropdown panel based on DPI. Occurs after the popup has been dropped-down and made visible. The source of the event. The that contains event data. Will be called to indicate that the popup child was closed. The child that was closed. The event data with a value. Used to change the behavior of the OnDeactivating event. This method is called from GridCurrentCell.ConfirmChanges when the current cell was marked as modified. Any drop-downs have been closed at this time. It saves changes for the current cell. True if changes were saved successfully. This method is called from the cell renderer's draw method to draw the contents of the client bounds for the cell, e.g. the text for a static cell. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. Specifies the row id. Specifies the column id. A reference to the style object of the cell. When drawing cells, it is necessary to determine if the specified cell (with rowIndex and colIndex) is the current cell and if it is active. If your control is associated with a control and supports in-place editing and the specified cell is the current cell, you should position the control. Take a look at the GridTextBoxCellRenderer implementation of this method for an example. Otherwise, you can simply draw the cell. Gets the container where you can insert child controls to be displayed as drop-down part for your cell. Defines the model / data part of a drop-down with a ListControl-like grid or a UITypeEditor. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a for this cell model that is specific to the GridControlBase. The grid control for which the cell renderer is created for. A new specific for the specified grid. Determines the that should be displayed in the dropdown part. If it is null the standard values collection will be displayed in a dropdown grid. The style object A Defines the renderer part of a drop-down with a ListControl-like grid or a UITypeEditor that display choices for a cell determined through the method of a . The supports an autocomplete feature that will fill the text with possible matches from the drop-down list while the user is entering text. A renderer is created for each and . There can be several renderers associated with one if several views display the same . Initializes a new GridUITypeEditorCellRenderer object for the given GridControlBase and GridCellModelBase. The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. Unwires any events subscribed from GridDropDownStandardValuesCell. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. This method gets called from the cell renderer's initialize method. Override this method if you need to any initialization for the current cell. The row index. The column index. This is called from GridCurrentCell.ShowDropDown after BeginEdit has been called. If your renderer supports dropped-down state, the drop-down window should be made visible at this time. Called from GridCurrentCell.Deactivated after the current cell is deactivated and before the GridCurrentCell.Deactivated event. This event occurs when the specified timer intervals has elapsed and the timer is enabled. The source of the event. The that contains event data. Displays the specified control in a drop down area below a value field of the property grid that provides this service. The drop down list to open Closes any previously opened drop down control area. Shows the specified System.Windows.Forms.Form. The System.Windows.Forms.Form to display A System.Windows.Forms.DialogResult indicating the result code returned by the System.Windows.Forms.Form Occurs when the drop down is about to be shown. Event source. The that contains event data. Indicates that the popup child was closed. Event source. The that contains event data. Occurs after the popup child was dropped down and made visible. Event source. The that contains event data. Raises the GridCurrentCell.CellChanged event indicating the contents of the current cell have been changed (e.g. in response to a TextBox.Changed event). If you have implemented a custom cell type you should call this method from your derived renderer if you support modifying the cell contents. Allows custom formatting of a cell by changing its style object. The that contains event data. Determines if the UITypeEditor supports painting glyphs before the text. The style of the parent cell. The UITypeEditor true if glyphs should be painted. Paints a glyph before the text by calling the UITypeEditor.PaintValue method Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. Specifies the row id. Specifies the column id. A reference to the style object of the cell. The UITypeEditor The cell value. Returns the width of the glyph returns 20 Returns the width of a possible "Glyph" to be drawn before the cell value. This method is overridden by the UITypeEditorCellRenderer The width in pixel for the glyph. Draw the content of specified cell. Graphics context. Cell rectangle. Row index. Column index. Cell style information. This method is called from the cell renderer's draw method to draw the contents of the client bounds for the cell, e.g. the text for a static cell. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. Specifies the row id. Specifies the column id. A reference to the style object of the cell. When drawing cells, it is necessary to determine if the specified cell (with rowIndex and colIndex) is the current cell and if it is active. If your control is associated with a control and supports in-place editing and the specified cell is the current cell, you should position the control. Take a look at the GridTextBoxCellRenderer implementation of this method for an example. Otherwise, you can simply draw the cell. Event handler for PrepareViewStyleInfo event of dropdown table. Event source. The that contains event data. Event handler for CellDrawn event of dropdown table. Event source. The that contains event data. Gets the service object of the specified type. An object that specifies the type of service object to get. A service object of type serviceType.-or- null if there is no service object of type serviceType. Gets the data model for this renderer. Gets or sets CurrentInstance. Used internally. Provides the Excel-like comment tip UI for displaying the comment tip of the grid cells. Initializes a new instance for the class. Initializes the on mouse hovering. The parent control of the comment tip window. The starting point of the comment tip window location. The of the mouse hovered cell. Clean up any resources being used. Gets or sets the text need to be displayed on the CommentTipWindow. Used to provide their own filter bar for implementation Constructor for GridFilterBarChoicesEventArg. Column name. True if summary descriptor should be created. The column for which choices should be shown Set this property false if you do not want a summary being created for the specified column. The engine will raise the event with null (Nothing) in order to investigate for which columns it should create internal summaries. When a user clicks on the dropdown button of a FilterBarCell then this event is raised and the Element will contain the element at the given filter bar row. You should then initialize this array with values that should be displayed in the dropdown. Provides data for GridGroupingControl.FilterBarSelectionItemChanged event which occurs after an item selected through the filtered dropdown. Initializes a new instance of the class. Index of the selected item. Text of the selected item. GridColumnDescriptor. Gets the currently selected column descriptor. Gets the selected index of the filtered item. Gets the selected text of the filtered item. Provides data for GridGroupingControl.FilterBarSelectionItemChanging event which occurs when an item selected through the filtered dropdown. Initializes a new instance of the class. Index of the selected item. Text of the selected item. List box. GridColumnDescriptor. Provides data for GridGroupingControl.FilterBarSelectionItemChanging event which occurs when filter selection has been changed. GridListControl. GridColumnDescriptor. Index of the selected item. Text of the selected item. Gets the currently selected column descriptor. Gets/Sets the selected index of the filtered item. Gets/Sets the selected text of the filtered item. Handles the event. The object instance The GridFilterBarChoicesEventArgs Handles the FilterBarSelectionItemChanging event. The object instance The FilterBarSelectionChangingEventArgs data. Handles the FilterBarSelectedItemChanged event. The object instance The FilterBarSelectionChangedEventArgs data. Specifies how to serialize grid data at design-time. You can choose to serialize cell contents as code into the Forms InitializeComponent method or you can choose to serialize cell contents into a ResX file. Serialize cell contents as code into the Forms InitializeComponent method Serialize cell contents into a ResX file Serialize RangeStyles collection as code into the Forms InitializeComponent method GridBoundColumn provides information for a column to be used in a . GridBoundColumn can be customized with the visual studio designer where you can change header text, mapping name, and formatting of a column. Initializes an empty instance. Releases all resources used by the System.ComponentModel.Component. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Returns a copy of this object. A object. Initializes a with a this column should be associated with. Initializes a with a this column should be associated with. The that defines the data to be displayed in the column. Initializes a with a this column should be associated with. The that defines the data to be displayed in the column. Boolean value used to determine isdefault or not. used to get System.Windows.Forms.CurrencyManager that is associated with the current object. Returns the currencyManager associate with this object. Determines if values in the collection were modified. True if modified; False otherwise. Sets the this bound column is associated with. The ICurrencyManagerSource object. Resets the header text. Determines if values in the length were modified. True if length is > 0; False otherwise. This event occurs when read only changed. The that contains event data. This event occurs when propertyDescriptor changed. The that contains event data. This event occurs when HeaderText changed. The that contains event data. This event occurs when Width changed. The that contains event data. This event occurs when Position changed. The that contains event data. This event occurs when hidden property changed. The that contains event data. This event occurs when mappingName property changed. The that contains event data. Occurs when the property has changed. Occurs when the property has changed. Occurs when the property has changed. Occurs when the property has changed. Occurs when the property has changed. Occurs when the property has changed. Occurs when the property has changed. Gets or sets information how to format cells in the column. Gets or sets the that defines the data to be displayed in the column. Gets or sets a that this bound column is associated with. Each has a . The provides loading and saving data from an external data source and supports BeginEdit, EndEdit, and AddNew functionality. Gets or sets the header text to be displayed in the column header. Gets or sets the mapping for this column. You should specify which column of a you want to display in the grid at this column. Gets the name of PropertyDescriptor. Gets or sets a tag that is associated with this object. Gets or sets a value indicating whether Read-only state of the column. Gets or sets the backColor of the This example shows how to use the BackColor property. // Sets back-color depending on the index. this.gridDataBoundGrid1.Model.ColStyles[1].BackColor = Color.Red; ' Sets back-color depending on the index. Me.gridDataBoundGrid1.Model.ColStyles(1).BackColor = Color.Red Gets or sets the width of the Gets or sets the hidden state of the Gets or sets the position of the Used to provides identity information for GridBoundColumn. Initializes a new instance of the class. The column. Releases all resources used by the System.ComponentModel.Component. Returns an array with base styles for the specified style object. The style object. An array of style objects that are base styles for the current style object. This event occurs when the style changed. The object. The object. Holds all the information stored for the GridBoundColumn cell. Initializes a new instance of the class. The column. The holds the plain data for style object. Initializes a new instance of the class. The column. Represents a collection of objects in the control. On the you access the GridBoundColumnsCollection through the property. The GridBoundColumnsCollection uses standard and methods to manipulate the collection. Use the Contains method to determine if a specific property value exists in the collection. Additionally, use the IndexOf method to determine the index of any object within the collection. Creates a new and creates copies of all members in this collection. A object. Creates a new item for this collection. Override this method if you want to support derived column types. See for a sample. The property descriptor with information about the column. A or derived class object. Used to add value to the list. The value to be added. Returns the Used to cleat the collection. Determine whether the element is in the collection. The System.Object to locate in the System.Collections.ArrayList. The value can be null rue if item is found in the System.Collections.ArrayList; otherwise, false. Searches for the specified System.Object and returns the zero-based index of the first occurrence within the entire System.Collections.ArrayList. The System.Object to locate in the System.Collections.ArrayList. The value can be null. The zero-based index of the first occurrence of value within the entire System.Collections.ArrayList,if found; otherwise, -1. Inserts a column at the specified index. The index. The column. Inserts a column at the specified index. The index. The column. Removes the specified from the . The to remove. Removes the with the specified index from the . The zero-based index of the . Copies the values to a one-dimensional instance at the specified index. The one-dimensional that is the destination of the values copied from the . The index in the array where copying begins. Returns an enumerator that iterates through a collection. An System.Collections.IEnumerator object that can be used to iterate through the collection. Initializes a new empty . A reference to the this collection belongs to. Initializes a new empty . A reference to the this collection belongs to. Boolean value used to determine isdefault or not. Used to merge the style with appropriate property name using mappingName. The column mapping name. If mapping matches returns the else return null. Used to checks the duplicate mappingName. The Column. This event fired when MappingName changed. The source control The that contains event data. This event fired when hidden property changed. The source control The that contains event data. This event fired when Position changed. The source control The that contains event data. This event fired when Width changed. The source control The that contains event data. This event fired when column style PropertyDescriptorChanged. The source control The that contains event data. Adds a to the collection. The to add. The index of the new object. This example shows how to add a column to the grid. // Creates a column collection to be added to the grid. GridBoundColumnsCollection myColumn = (GridBoundColumnsCollection)this.gridDataBoundGrid1.Binder.InternalColumns.Clone(); // Creates the column to be added. GridBoundColumn Column1 = new GridBoundColumn(); Column1.HeaderText = "NewColumn"; // Adds the created column to the collection. myColumn.Add(Column1); // Binds the created column collections to the grid bound columns. this.gridDataBoundGrid1.Binder.GridBoundColumns = myColumn; ' Creates a column to be added to the collection. Dim myColumn1 As GridBoundColumnsCollection = CType(Me.gridDataBoundGrid1.Binder.InternalColumns.Clone(), GridBoundColumnsCollection) Dim Column1 As New GridBoundColumn() Column1.HeaderText = "NewColumn" myColumn1.Add(Column1) ' Binds the created column to the grid bound columns. Me.gridDataBoundGrid1.Binder.GridBoundColumns = myColumn1 Adds an array of objects to the collection. An array of DataGridColumnStyle objects to add to the collection. This example shows how to add an array of GridBoundColumns to the grid. // Creates a column collection to be added to the grid. GridBoundColumnsCollection myColumn = (GridBoundColumnsCollection)this.gridDataBoundGrid1.Binder.InternalColumns.Clone(); // Declares the range of columns to be added. GridBoundColumn[] Column1 = new GridBoundColumn[5]; // Initializes each instance of the GridBoundColumns. Column1[i] = new GridBoundColumn(); Column1[0].HeaderText = "NewColumn 1"; Column1[1].HeaderText = "NewColumn 2"; Column1[2].HeaderText = "NewColumn 3"; Column1[3].HeaderText = "NewColumn 4"; Column1[4].HeaderText = "NewColumn 5"; // Binds the created column collections to the grid bound columns. myColumn.AddRange(Column1); this.gridDataBoundGrid1.Binder.GridBoundColumns = myColumn; ' Creates a column collection to be added to the grid. Dim myColumn As GridBoundColumnsCollection = CType(Me.gridDataBoundGrid1.Binder.InternalColumns.Clone(), GridBoundColumnsCollection) ' Declares the range of columns to be added. Dim Column1(4) As GridBoundColumn ' Initializes each instance of the GridBoundColumns. For i As Integer = 0 To Column1.Length - 1 Column1(i) = New GridBoundColumn() Next i Column1(0).HeaderText = "NewColumn 1" Column1(1).HeaderText = "NewColumn 2" Column1(2).HeaderText = "NewColumn 3" Column1(3).HeaderText = "NewColumn 4" Column1(4).HeaderText = "NewColumn 5" ' Binds the created column collections to the grid bound columns. myColumn.AddRange(Column1) Me.gridDataBoundGrid1.Binder.GridBoundColumns = myColumn Used to add the default column. The column. Resets all objects in the collection. Clears the collection of objects. Gets a value indicating whether the contains a specific associated with the specified PropertyDescriptor. The associated with the desired . True if the collection contains the ; otherwise, False. Gets a value indicating whether the contains a specific . The to find. True if the collection contains the ; otherwise, False. Gets a value indicating whether the contains a specific with a specific name. The of the desired . True if the collection contains the ; otherwise, False. Gets the index of a specified . The to find. The zero-based index of the within the or -1 if no corresponding exists. This example shows how to add the column in the grid at the specified index. // Creates a column collection to be added to the grid. GridBoundColumnsCollection myColumn = (GridBoundColumnsCollection)this.gridDataBoundGrid1.Binder.InternalColumns.Clone(); // Creates the column to be added. GridBoundColumn Column1 = new GridBoundColumn(); Column1.HeaderText = "NewColumn"; // Inserts the created column to the collection at the specified index of the grid. Here "3" is the column index. myColumn.Insert(3, Column1); // Binds the created column collections to the grid bound columns. this.gridDataBoundGrid1.Binder.GridBoundColumns = myColumn; ' Creates a column collection to be added to the grid. Dim myColumn As GridBoundColumnsCollection = CType(Me.gridDataBoundGrid1.Binder.InternalColumns.Clone(), GridBoundColumnsCollection) ' Creates the column to be added. Dim Column1 As New GridBoundColumn() Column1.HeaderText = "NewColumn" ' Inserts the created column to the collection at the specified index of the grid. Here "3" is the column index. myColumn.Insert(3, Column1) ' Binds the created column collections to the grid bound columns. Me.gridDataBoundGrid1.Binder.GridBoundColumns = myColumn Raises a event. The that contains event data. Removes the specified from the . The to remove. This example show how to remove the column from the grid with the specified mapping name of the GridBoundColumn. // Removes the column using GridBoundColumn mapping name. this.gridDataBoundGrid1.Binder.InternalColumns.Remove(Column1); ' Removes the column using GridBoundColumn mapping name. Me.gridDataBoundGrid1.Binder.InternalColumns.Remove(Column1) Removes the with the specified index from the . The zero-based index of the . This example show to remove the column from the grid with the given column index. // Removes column at the given index in the grid. Here "3" is the column index. this.gridDataBoundGrid1.Binder.InternalColumns.RemoveAt(3); ' Removes column at the given index in the grid. Here "3" is the column index. Me.gridDataBoundGrid1.Binder.InternalColumns.RemoveAt(3) Resets all for all objects in the collection. Occurs when members in this collection have been added or removed. Gets the list items. Gets a specified in the GridBoundColumnsCollection. Gets a specified in the . Gets a specified in the GridBoundColumnsCollection. Gets a specified in the GridBoundColumnsCollection. Gets the owner that manages access to the data source. Gets the owner that also provides a reference to a CurrencyManager. Gets a value indicating whether the System.Collections.IList has a fixed size. Gets a value indicating whether the System.Collections.IList is read-only. Gets or sets the element at the specified index. The zero-based index of the element to get or set. The element at the specified index. index is not a valid index in the System.Collections.IList. Gets the number of elements contained in the System.Collections.ICollection. Gets a value indicating whether access to the System.Collections.ICollection is synchronized (thread safe). Gets an object that can be used to synchronize access to the System.Collections.ICollection. Provides a collection editor that is tailored to adding and removing objects from the collection in a . Initializes a new object. The type of the collection for this editor to edit. Creates a new form to display and edit the current collection. A to provide as the user interface for editing the collection. Edits the value of the specified object using the specified service provider and context. An System.ComponentModel.ITypeDescriptorContext that can be used to gain additional context information. A service provider object through which editing services can be obtained. The object to edit the value of. he new value of the object. If the value of the object has not changed,this should return the same object it was passed. Edits the value of the specified object using the specified service provider and context. An that can be used to gain additional context information. A service provider object through which editing services can be obtained. The object to edit the value of. The new value of the object. If the value of the object has not changed, this should return the same object it was passed. Defines if databoundgrid should sort a column if user clicks on it. No sorting when user clicks once. Sort column when user clicks once. Sort column when user double-clicks. Provides event data for the , , and event. Initializes a new object. The row index. Initializes a new object. The row index. Indicates if AddNew was called for and events. Gets or sets the row index. Gets or sets a value indicating whether AddNew was called for and events. A method that represents a handler for the , , or event. Provides event data for the event. Initializes a new object. The first index. The last index. Gets the first index. Gets the row index. A method that represents a handler for the event. Provides event data for the event. Initializes a new object. A method that represents a handler for the event. Provides support for displaying ADO.NET data and other data sources in a grid. Data will be loaded from the given data source and changes will be written back to the data source. To display a table in the at run-time, set the and properties to a valid data source. The following data sources are valid: DataTable DataView DataSet A single dimension array Any component that implements the IListSource interface Any component that implements the IList interface. Overridden to paint cells supports databoundgrid. provides the control display properties. Points to the device context. Initializes a new instance of . Initializes a new instance of . Determines if values in the property were modified. True if enableTouchMode is modified; False otherwise. Reset the Touch mode. applies the scaling Represents the floating value Used to Change the behavior of the FontChanged event. The that contains event data. Used to change the behavior of the SizeChanged event. The that contains event data. Initializes a new instance of and attaches it to a . Grid model. Creates a new databound grid. A parent control. Row index. Column index. The new grid. Helper method to CreateNewControl to initialize new grid based on current grid settings. Grid created with CreateNewControl. You should call this method from the overridden CreateNewControl method in your derived GridDataBoundGrid. Overriding CreateNewControl is required if you want your derived grid to be contained in a TabBarSplitterControl or a GridRecordNavigationControl. public override Control CreateNewControl(Control parent, int row, int column) { MyGridDataBoundGrid grid = new MyGridDataBoundGrid((GridDataBoundGridModel) this.Model); this.WireNewControl(grid); return grid; } Used to wire TreeLine events. Used to Unwire TreeLine events. This event occurs when splitterPaneClosing. The source control. This event is occurs when the treeCellButton clicked. The source control The that contains event data. This event is used to change or apply style before the cell drawn. The source control. The that contains event data. Implements of the interface. Implements of the interface. Raises the event. The that contains event data. Raises the event. The that contains event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the FieldChooserShowing Event. The that contains event data. Raises the FieldChooserShown Event. The that contains event data. Raises the FieldChooserClosing Event. The that contains event data. Raises the FieldChooserClosed Event. The that contains event data. Creates an instance of the GridModelDataBinder object. The GridModelDataBinder object that provides plumbing to the datasource for this grid. Releases all resources used by the System.ComponentModel.Component. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Releases or unwire all datasource related resources. This event occurs when the bounded item changed in datasource. The source control. The contains the event data. This event is occurred when datasource changed. The source control. The that contains event data. This event is occurred when datasource current position changed. The source control. The that contains event data. This event is occurred when datasource EditMode changed.. The source control. The that contains event data. Raises the System.Windows.Forms.Control.BindingContextChanged event. The that contains event data. Raises the Syncfusion.Windows.Forms.ScrollControl.SplitterPaneClosing event The that contains event data. Overridden. Calls when the control is added to the parent forms collection. Occurs when is called on . overridden to change the OnValidating event . The that contains event data. This event occurs when focus leave from control. The that contains event data. This event occurs when the bounded datasource changed. THe source control The that contains event data. This event occurs when the GridBoundColumns changed. THe source control The that contains event data. Used to reset all the properties and default values. Used to determine serialization of GridBoundsColumns. Returns true if GridBoundColumns.count is > 0 , otherwise return false. Raises the event. The that contains event data. Allows you to adjust the current cell position before the event handler proceeds. The with event data. The default implementation will check if the current cell is about to be moved onto a row header. If this is the case, the column index will be changed so that the current cell moves onto the first column in the row. Allows you to adjust the current cell position before the event handler proceeds. The with event data. The default implementation will check if the current cell is about to be moved onto a column header. If this is the case, the row index will be changed so that the current cell moves onto the first row in the column. Raises the event. The that contains event data. Raises the event. The that contains event data. Called from GridCurrentCell.EndEdit. If render had focus, is called which triggers and initiates repainting the cell. In your overridden method, you should then check which will return False. Called from GridCurrentCell.BeginEdit. Checks if cell renderer support in place editing. If in-place editing is supported, is called which triggers and initiates repainting the cell. In your overridden method, you should then check . Raises the cancelable event. The that contains event data. Raises the event. The that contains event data. Raises the event. The that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. private void gridDataBoundGrid3_ValidateFailed(object sender, GridValidateFailedEventArgs e) { TraceUtil.TraceCurrentMethodInfo(e); GridCurrentCell cc = this.gridDataBoundGrid3.CurrentCell; cc.Grid.CancelUpdate(); MessageBox.Show("My Error:" + cc.ErrorMessage); cc.RejectChanges(); cc.ResetError(); } Used to call the OnValidateFailed event. The column index. This is called from GridClickCellsMouseController or GridSelectCellsMouseController when your cell renderer has indicated in its OnHitTest override that it wants to receive mouse events and the user has pressed a mouse button. A with event data. Raises the event. An that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. The that contains event data. Raises the event. A that contains the event data. Raises the event. Determines if the current cell is shown at the specified row. Row index. True if it is shown at the given row. Used to check the current cell is UnBoundcell or not. Returns true if its unbound cell, otherwise false. Used to check the current cell is UnBoundcell or not. The row index. The column index. Returns true if its unbound cell, otherwise false. Raises the event. A that contains the event data. Raises the event. The that contains event data. Raises the cancelable event. A that contains the event data. Sorts the grid by the specified column. The column to use as a key for sorting the data in the grid. If you sort the same column again, the sort order will be reversed. Used to sort fields based on fieldname. Validates the current object and saves any pending changed in the current record. True if object is valid and changes could be saved; False otherwise. Raises the cancelable event. A that contains the event data. Raises the event. A that contains the event data. Used to move next cell using row index and column index. The row index. The column index. Checks if relation is expanded at the specified row in the grid. The absolute row index. True if it is expanded at the specified row. Expands the relation at the specified row in the grid. Before the records are collapsed, a cancelable event is raised. After the operation has completed a event is raised. The absolute row index. Expands the relation at the specified row in the grid. Before the records are expanded a cancelable event is raised. After the operation is complete, a event is raised. The absolute row index. Expands all nodes in the grid. Expanding all nodes can be a lengthy process. The grid will give feedback through a object about the progress of the operation and gives the user the option to abort. Collapses all nodes in the grid. Collapsing all nodes can be a lengthy process. The grid will give feedback through a object about the progress of the operation and gives the user the option to abort. User pressed key down. The that contains event data. Raises the System.Windows.Forms.Control.KeyDown event. The that contains event data. Raises the System.Windows.Forms.Control.KeyDown event. The that contains event data. Shoulds the delete key clear cells. returns boolean value Removes the records at the specified rows from the datasource. Before the rows are deleted, a cancelable event is raised. After the operation is complete, a event is raised. The first row to delete. The last row to delete. This example shows how to delete the records from a specific row index to a desired row index. // Deletes the records to a specific range. this.gridDataBoundGrid1.DeleteRecordsAtRowIndex(5,10); ' Deletes the records to a specific range. Me.gridDataBoundGrid1.DeleteRecordsAtRowIndex(5,10) End edit the current cell and change hasCurrentCell to false. overridden to change the OnGridValidating event . The that contains event data. overridden to change the onResizingClumns behavior. The that contains event data. Raises the event. The that contains event data. compare the grid client size to change the column width with new column width allow resizing to fit. Column name new column with column width before change the size of column returns true value. set the column width when AllowProportionalColumnSizing is enable /// Raises the event. The that contains event data. Resizes a range of rows or column to optimally fit contents of the specified range of cells and given options. Resizes a range of rows or column to optimally fit contents of the specified range of cells and given options. Raises the event. The that contains event data. Determines if the column header at the specified row and column index should be outlined. The row index. The column index. True if header should be outlined; False otherwise. Raises the event. A that contains the event data. Determines if values in the property were modified. True if BaseStylesMap is modified; False otherwise. Resets the property. Resets the property. Determines if values in the property were modified. True if AlphaBlendSelectionColor is modified; False otherwise. Get or Set of Skin Manager Interface Applies the theme setting for grid cells. Default font for grid cells Back color for grid cells. Text color for grid cells Grid line color for grid borders Default row height set the colors of metro theme for Grid Collection of metro color Sets the custom colors for the Office2016 theme. Apply the visual style to the Grid. Collection of office 2016 theme colors Determines if values in the property were modified. True if HasFont is modified; False otherwise. Determines if values in the property were empty or not. True if TableStyle is not empty; False otherwise. Resets the property. Resets the object to its default state. Returns the column index for a column that matches a given name. The name of the field to be matched. The column index in the grid; -1 if not found. Initialize new instance for class. The Index. New object Initialize new instance for class. The Index. New object This method is overridden to process windows messaged. Creates a new accessibility object for the control. A new for the control. Gets or sets the value to be used as default for cell borders. This example shows how to use the DefaultGridBorderStyle property. // Sets the border line style this.gridDataBoundGrid1.DefaultGridBorderStyle = GridBorderStyle.Solid; ' Sets the border line style Me.gridDataBoundGrid1.DefaultGridBorderStyle = GridBorderStyle.Solid Gets or sets a value indicating whether the grid should be display column headers. Gets or sets a value indicating whether horizontal lines should be displayed. Gets or sets a value indicating whether vertical lines should be displayed. Enable or Disable the Legacy styles in the Table Model Value should be false to apply ColorStyles To specify the browse only state of the Grid Gets or sets the color of grid lines. This example shows how to use the GridLineColor property. // Sets the color of grid lines. this.gridDataBoundGrid1.GridLineColor = Color.Red; ' Sets the color of grid lines. Me.gridDataBoundGrid1.GridLineColor = Color.Red Gets or sets a value indicating whether column headers should be printed when printing the grid. Gets or sets a value indicating whether the grid should draw horizontal lines when printing. Gets or sets a value indicating whether row headers should be printed when printing the grid. Gets or sets a value indicating whether the grid should draw vertical lines when printing. Gets or sets a value indicating whether row headers should be displayed or hidden. (Might be better to use HideCols[0] = false) instead. Gets or sets the site of the control. Occurs before the record at the specified row is being expanded to show details of a child relation. Check of the object for information about the affected record. Occurs after the record at the specified row has been expanded to show details of a child relation. Check of the object for information about the affected record. Occurs before the record at the specified row is expanded to show details of a child relation. Check of the object for information about the affected record. Occurs after the record at the specified row has been expanded to show details of a child relation. Check of the object for information about the affected record. Occurs before the grid deletes a number of records from the datasource. Occurs after the grid deleted a number of records from the datasource. Occurs before the current cell is activated in a new row. Check of the object for information about the affected record. Occurs after the current cell's changes have been saved and before it is deactivated and the changes in the current row are saved to the underlying data table. Check of the object for information about the affected record. Occurs after the changes in the current row have been saved. Check of the object for information about the affected record. Occurs before the current row is edited. Check of the object for information about the affected record. gets or sets the touchmode Occurs when the FieldChooser dialog is being displayed. Occurs immediately after the FieldChooser dialog is displayed. Occurs immediately before the FieldChooser dialog is Closed. Occurs immediately after the FieldChooser dialog is Closed. Gets a reference to the that manages the underlying data source. This example shows how to use the Binder property. // Creates a column to be added to the collection. GridBoundColumnsCollection myColumn1 = (GridBoundColumnsCollection)this.gridDataBoundGrid1.Binder.InternalColumns.Clone(); GridBoundColumn Column1 = new GridBoundColumn(); Column1.HeaderText = "NewColumn"; myColumn1.Add(Column1); // Binds the created column to the grid bound columns. this.gridDataBoundGrid1.Binder.GridBoundColumns = myColumn1; ' Creates a column to be added to the collection. Dim myColumn1 As GridBoundColumnsCollection = CType(Me.gridDataBoundGrid1.Binder.InternalColumns.Clone(), GridBoundColumnsCollection) Dim Column1 As New GridBoundColumn() Column1.HeaderText = "NewColumn" myColumn1.Add(Column1) ' Binds the created column to the grid bound columns. Me.gridDataBoundGrid1.Binder.GridBoundColumns = myColumn1 Gets or sets a value indicating whether the grid should listen to IBindindList.ListChanged events or if it should only handle currency manager events. This property is set to false by default to ensure backward compatibility with earlier versions. But if you drop a GridDataBoundGrid onto a form in the designer, the property will be set True as default (using UseListChangedEvent gives better performance that are listening to currency manager events.) Gets or sets a value indicating whether the grid should call Control.Update after each IBindindList.ListChanged event. This property only has any effect if has been set to True. Set this property to False if you want to manually call Update. Manually calling Update can have better performance because you can then batch several datatable modifications into one operation and then only call update when changes are done. Gets or sets a value indicating whether to enable or disable tree-like expand / collapse for row header cells in a hierarchical grid. Gets or sets a value indicating whether to show hierarchical levels indented without treelines. Gets the that manages data to be displayed in the grid. You can replace the at run-time. The will release and establish links to the previous model and establish new relationships with the new model and then redraw itself. Gets or sets a value indicating whether the grid should automatically resize columns to fit cell contents on first display of the data. Determine is the filterbar is wired to grid. Gets a value indicating whether was called. Gets or sets the specific list in a for which the control displays a gridModel. Gets or sets the datasource that the gridModel is displaying data for. This example shows how to use the DataSource property. // Creates the data source. DataTable dataTable = new DataTable(); // Assigns the data source to be displayed in the grid this.gridDataBoundGrid1.DataSource = dataTable; ' Creates the data source. Dim dataTable As New DataTable() ' Assigns the data source to be displayed in the grid Me.gridDataBoundGrid1.DataSource = dataTable Gets or sets the columns to be displayed in the GridDataBoundGrid. Occurs when validation of the current record or current cell fails. You can display a message box or correct cell values in this event. Gets or sets the sort behavior if databound grid should sort a column if user clicks on it. This example shows how to use the SortBehavior property. // Sets the sorting behavior this.gridDataBoundGrid1.SortBehavior = GridSortBehavior.DoubleClick; ' Sets the sorting behavior Me.gridDataBoundGrid1.SortBehavior = GridSortBehavior.DoubleClick Gets or sets a value indicating whether the column header for the current cell should be highlighted. Highlighting the column header will help users identify quickly in which level they are in a hierarchy. If you want to customize the look of the highlighted header you should handle the event and check and set to True. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. This example shows how to use the ActivateCurrentCellBehavior property. // Sets the current cell activation on double-clicking the cell. this.gridDataBoundGrid1.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell; ' Sets the current cell activation on double-clicking the cell. Me.gridDataBoundGrid1.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell See in the GridModel class for information. See in the GridModel class for information. This example shows how to use the AlphaBlendSelectionColor property. // Assigns a specific color for alpha-blend selection color this.gridDataBoundGrid1.AlphaBlendSelectionColor = Color.SteelBlue; ' Assigns a specific color for alpha-blend selection color Me.gridDataBoundGrid1.AlphaBlendSelectionColor = Color.SteelBlue See in the GridModel class for information. This example shows how to use the AllowSelection property. // Allows the selection of rows. this.gridDataBoundGrid1.AllowSelection = GridSelectionFlags.Row; // Disables the selection. this.gridDataBoundGrid1.AllowSelection = GridSelectionFlags.None; ' Allows the selection of rows. Me.gridDataBoundGrid1.AllowSelection = GridSelectionFlags.Row ' Disables the selection. Me.gridDataBoundGrid1.AllowSelection = GridSelectionFlags.None [Deprecated] Gets or sets the VisualStyles (skins) like Office2010, Office2007, Office2003 Gets or sets the VisualStyles (skins) like Office2010, Office2007, Office2003. This example shows how to use the GridVisualStyles property. // To apply visual styles the themes enabled property should be set to true. // Otherwise the default SystemTheme is applied. this.gridDataBoundGrid1.ThemesEnabled = true; // Applies the metro style to the grid. this.gridDataBoundGrid1.GridVisualStyles = GridVisualStyles.Metro; ' Otherwise the default SystemTheme is applied. ' To apply visual styles the themes enabled property should be set to True Me.gridDataBoundGrid1.ThemesEnabled = True ' Applies the metro style to the grid. Me.gridDataBoundGrid1.GridVisualStyles = GridVisualStyles.Metro Gets or sets the VisualStylesDrawing object Gets or sets the method in which items are selected in the . This example shows how to use the ListBoxSelectionMode property. // Sets the selection mode of the control. this.gridDataBoundGrid1.ListBoxSelectionMode = SelectionMode.MultiExtended; ' Sets the selection mode of the control. Me.gridDataBoundGrid1.ListBoxSelectionMode = SelectionMode.MultiExtended Gets or sets a value indicating whether to control 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. Gets or sets a value indicating whether Individual borders need to be drawn for spanned cells when they get focus. Ensure UseRightToLeftCompatibleTextBox is set to False to ensure the borders are shown properly such that the actual textbox is not edited directly. See in the GridModel class for information. See in the GridModel class for information. Gets or sets the background image used for the control. Specifies the font used to display text in the control. Gets or sets the table style. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. See in the GridModel class for information. This example shows how to use the ResizeColsBehavior property. // Only resizes the selected column or range. this.gridDataBoundGrid1.ResizeColsBehavior = GridResizeCellsBehavior.ResizeSingle; // Restrict resizing columns and the divider doesn't appear. this.gridDataBoundGrid1.ResizeColsBehavior = GridResizeCellsBehavior.None; ' Only resizes the selected column or range. Me.gridDataBoundGrid1.ResizeColsBehavior = GridResizeCellsBehavior.ResizeSingle ' Restrict resizing columns and the divider doesn't appear. Me.gridDataBoundGrid1.ResizeColsBehavior = GridResizeCellsBehavior.None See in the GridModel class for information. This example shows ho to use the ShowCurrentCellBorderBehavior property. // Shows the cell border like active current cell all the time. this.gridDataBoundGrid1.ShowCurrentCellBorderBehavior = GridShowCurrentCellBorder.AlwaysVisible; // Shows gray color border when the grid is not active. this.gridDataBoundGrid1.ShowCurrentCellBorderBehavior = GridShowCurrentCellBorder.GrayWhenLostFocus; ' Shows the cell border like active current cell all the time. Me.gridDataBoundGrid1.ShowCurrentCellBorderBehavior = GridShowCurrentCellBorder.AlwaysVisible ' Shows gray color border when the grid is not active. Me.gridDataBoundGrid1.ShowCurrentCellBorderBehavior = GridShowCurrentCellBorder.GrayWhenLostFocus See in the GridModel class for information. Gets or sets the bool value of UseComplexBinding See in the GridModel class for information. Gets or sets a value indicating whether the grid supports removing records if the underlying datasource allows it. See . Gets or sets a value indicating whether the grid supports editing records if the underlying datasource allows editing records. See . Gets or sets a value indicating whether the grid supports adding new records if the underlying datasource allows adding new records. See . Gets record accessible objects. Gets FieldHeader Accessible Objects. Assigns the new UIAProvider for Accessibility. Provides data for FieldChooserShowing event which occurs before the FieldChooser dialog showing in column header. Constructor for FieldChooserShowingEventArgs Caption text of FieldChooser dialog. Control of TreeViewAdv or GridControl. Gets or Sets the value for FieldChooser dialog caption. Gets or Sets the value for TreeViewAdv or GridControl. Handles the FieldChooserShowing event. The object instance. The event data. Provides data for FieldChooserShown event which occurs after the FieldChooser dialog shown in column header Constructor for FieldChooserShownEventArgs. Caption text of FieldChooser dialog. Control of TreeviewAdv or GridControl. Gets the caption text of FieldChooser dialog. Gets the Value of TreeviewAdv or GridControl. Handles the FieldChooserShown event. The object instance. The event data. Provides data for FieldChooserClosing event which occurs before the FieldChooser dialog Closing in column header. Constructor for FieldChooserClosingEventArgs. Caption text of FieldChooser dialog. Control of TreeviewAdv or GridControl. Gets or Sets the value for FieldChooser dialog Caption. Gets or Sets Value for TreeViewAdv or GridControl. Handles the FieldChooserClosing event. The object instance. The that contains event data. Provides data for FieldChooserClosed event which occurs after the FieldChooser dialog Closed in Column Header. Constructor for FieldChooserClosedEventArgs. Caption text of FieldChooser dialog. Object of the FieldChooser dialog. Gets the value for Caption of FieldChooser dialog Gets the value for TreeviewAdv or GridControl. Handles the FieldChooserClosed event. The object instance. The event data. This is the class that holds all data information about a . Initializes a new instance of . Initializes a new instance of . Initializes a new instance of . Type information. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Implements the ISerializable interface and returns the data needed to serialize the cell model. A SerializationInfo object containing the information required to serialize the cell model. A StreamingContext object containing the source and destination of the serialized stream. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Gets or sets reference to the that manages the underlying datasource. Occurs when the has changed. Provides accessibility objects for GridDataBoundGrid. Initializes a new instance of the class. Used to get client rectangle bounds. Returns the currently focused child, if any. Returns this if the object itself is focused. An that specifies the currently focused child. This method returns the calling object if the object itself is focused. Returns null if no object has focus. The control cannot be retrieved. Returns the currently focused child, if any. Returns this if the object itself is focused. An that specifies the currently focused child. This method returns the calling object if the object itself is focused. Returns null if no object has focus. The control cannot be retrieved. Used internally. The horizontal screen coordinate. The vertical screen coordinate. An that represents the child object at the given screen coordinates. This method returns the calling object if the object itself is at the location specified. Returns null if no object is at the tested location. Gets or sets the name of the control used by accessibility client applications. Gets the accessible object rectangle rectangle, Gets the dataBoundGrid Accessibility description. Gets the help Gets or sets the databundGrid.Text value. Provides accessibility objects for GridDataBoundGridRecords. Initializes a new instance of the class. The grid The index. Modifies the selection or moves the keyboard focus of the accessible object. One of the values. Navigate to the next or previous grid entry. One of the values. An that represents one of the values. The navigation attempt fails. Performs the default action associated with this accessible object. The default action for the control cannot be performed. Returns the currently focused child, if any. Returns this if the object itself is focused. An that specifies the currently focused child. This method returns the calling object if the object itself is focused. Returns null if no object has focus. The control cannot be retrieved. Gets the Index of the record. Gets the GridAccessibilityObjects. Gets the GridDataBoundGrid Accessible states. Used internally. Navigate to the next or previous grid entry. One of the values. An that represents one of the values. The navigation attempt fails. Performs the default action associated with this accessible object. The default action for the control cannot be performed. Returns the currently focused child, if any. Returns this if the object itself is focused. An that specifies the currently focused child. This method returns the calling object if the object itself is focused. Returns null if no object has focus. The control cannot be retrieved. Gets the accessible role of the control Gets the Accessible parent control. Gets or sets the name of the control. Gets the default action of the parent control. Gets the accessible control bounds. Gets the HeaderText of the control. Provides the information about the grid record accessible indexes for records. Initializes a new instance of the class. The grid. Used to get item using index. The Index. Returns the index of the value . Used to set item at specific index. The index. The Used to reset the item at specified index. Used to get item using index. The Index. Returns the index of the value . Provides the information about the grid record accessible indexes for Field headers. Initializes a new instance of the class. The grid. Used to get item using index. The Index. Returns the index of the value . Used to set item at specific index. The index. The Used to reset the item at specified index. Used to get item using index. The Index. Returns the index of the value . Provides the information about the GridDataBoundGrid control designer part. Initializes a newly created component. A name/value dictionary of default values to apply to properties. May be null if no default values are specified. Builds the actions list. Gets a list of items that are used to create an action list menu at design time. Gets or sets the datasource to grid. Gets or sets the data member for GridDataBoundGrid. Provides choice to choose the datasource action list. Initializes a new instance of the class. The GridDataBoundGridDesigner. Returns the collection of objects contained in the list. A array that contains the items in this list. override Gets or sets the collection as datasource. Gets of sets the GridDataBoundGridControldesigner data members. Represents a smart tag panel item that is associated with a method in a class derived from System.ComponentModel.Design.DesignerActionList. Initializes a new instance of the class. Used to invoke the DesignerActionWebItem. Gets the category of the properties. Gets a description of the cell type. Gets the cell display text. Gets bool value to determine whether need to include designer verb or not. Gets the cell member name. Provides the base class for types that define a list of items used to create a smart tag panel. Initializes a new instance of the class. The provides functionality required by all components. Represents an verb that can be invoked from a designer. Returns the collection of objects contained in the list. A array that contains the items in this list. override Provides online links for GridDataBoundGrid Forum, KnowledgeBase and ug. Provide UG link. provide Forum link. Provide directTracLink . Used to display the links in online. Gets or sets the keyword. Gets or sets style to grid cells. Gets the component base. Represents Syncfusion Represents Forums Represents Knowledge Base GridDataBoundIconPaint is a helper class for drawing and caching bitmaps from the DataBound.Resources folder of the Grid assembly The bitmaps are loaded from the manifest and cached. The PaintIcon routine will substitute black pixels of the original bitmap and draw them with a specified fore color. Example: GridDataBoundIconPaint.Paint.PaintIcon(g, rect, Point.Empty, bitmapName, Color.Black); Initializes a new instance of the class. Gets the icons from databound resources to paint icon. Defines a cell button element that looks like a + and - button for expanding and collapsing nodes in a tree. Typically used with . Initializes a and associates it with a . The that draws this cell button element. Draws the cell button element at the specified row and column index. The context of the canvas. The row index. The column index. True if this is the active current cell; False otherwise. The object that holds cell information. Implements the data / model part for an expandable row header cell in a . The The expandable row header cell will display a '+' for expanded rows and a '-' for collapsed rows similar to a TreeControl. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Creates a renderer for this cell model that is specific to the GridControlBase. The the cell renderer is created for. A new specific for a . Calculates the preferred size of the cell based on its contents without margins and any buttons. The context of the canvas. The row index. The column index. The object that holds cell information. Graphical bounds. The optimal size of the cell. Implements the renderer part for an expandable row header cell in a . The The expandable row header cell will display a '+' for expanded rows and a '-' for collapsed rows similar to a TreeControl. Defines the renderer part of an expandable row header cell. A renderer is created for each and . There can be several renderers associated with one if several views display the same . The registers "DataBoundRowExpandCell" as identifier in of a cells to associate this cell type with a cell. The following table lists some characteristics about the DataBoundRowExpandCell cell type: Item Description CellType DataBoundRowExpandCell Renderer Model XP Themes Support No Interactive Click Only Floating Support No Base Type The cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. To hide grid lines for a certain cell, you can set the of the specific edge to to be . By default, the right and bottom borders are initialized to and borders are drawn as specified in the property of a instance. (Default: GridBordersInfo.Default) () When set to , the header will be drawn with slightly raised edges typical for cell headers. If the grid is XP Themes enabled, the headers will be drawn with XP Themes look. If you specify Sunken or Raised, the header will be drawn with sunken or raised edges and not XP Themed. (Default: GridCellAppearance.Flat) () DataBoundRowExpandCell (Default: Text Box) () Specifies if the cell can be activated as a current cell when the user click onto the header. Usually you do not want a header to be activated as a current cell unless you want to have editing capabilities such as allowing user to rename header text in place. Such renaming functionality needs to be implemented in a derived class. (Default: true) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () Lets you specify a solid back color, gradient, or pattern style with both back and fore color for a cell's background. If the grid is XP Themes enabled, this color will be ignored and the header will be drawn with default XP Themes header background. (Default: SystemColors.Window) () Lets you specify the color of the icon. (Default: SystemColors.WindowText) () When drawing this header cell this specifies the minimum empty area between the text rectangle without borders and the icon. The icon will be centered inside the remaining rectangle. (Default: GridMarginsInfo.Default) Initializes a new object for the given GridControlBase and . The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase and GridCellModelBase will be saved. Allows custom formatting of a cell by changing its style object. A reference to that holds the event data. is called from in order to allow custom formatting of a cell by changing its style object. Set the cancel property true if you want to avoid the associated cell renderers object method to be called. Changes made to the style object will not be saved in the grid nor cached. This event is called every time a portion of the grid is repainted and the specified cell belongs to the invalidated region of the window that needs to be redrawn. Changes to the style object done at this time will also not be reflected when accessing cells though the models indexer. See . Do not change base style or cell type at this time. This method is called from PerformLayout to calculate the client rectangle given the inner rectangle of a cell and any boundaries of cell buttons. The row index. The column index. The object that holds cell information. The with the inner bounds of a cell. An array of with bounds for each cell button element. A with the bounds. Implements the data / model part for a row header cell in a . The row header cell will display an arrow for the current row, a star for the append row, and a pencil when the row is being edited. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Creates a cell renderer for this cell model. The grid control. Cell renderer. Calculates the preferred size of the cell based on its contents without margins and any buttons. The context of the canvas. The row index. The column index. The object that holds cell information. Graphical bounds. The optimal size of the cell. Implements the renderer part of a row header cell in a . The row header cell will display an arrow for the current row, a star for the append row, and a pencil when the row is being edited. Defines the renderer part of a row header cell. A renderer is created for each and . There can be several renderers associated with one if several views display the same . The header cell is XP Themes enabled. It will be drawn themed if is True. The registers "RowHeaderCell" as identifier in of a cell's to associate this cell type with a cell. The cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () When set to , the header will be drawn with slightly raised edges typical for cell headers. If the grid is XP Themes enabled, the headers will be drawn with XP Themes look. If you specify Sunken or Raised, the header will be drawn with sunken or raised edges and not XP Themed. (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () RowHeaderCell (Default: TextBox) () Specifies if the cell can be activated as the current cell when the user clicks onto the header. Usually you do not want a header to be activated as the current cell unless you want to have editing capabilities like allowing user to rename header text in place. Such renaming functionality needs to be implemented in a derived class. (Default: true) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () Lets you specify a solid back color, gradient, or pattern style with both back and fore color for a cell's background. If the grid is XP Themes enabled, this color will be ignored and the header will be drawn with default XP Themes header background. (Default: SystemColors.Window) () Lets you specify the color of the arrow, pencil, or star icon. (Default: SystemColors.WindowText) () When drawing this header cell this specifies the minimum empty area between the text rectangle without borders and the icon. The icon will be centered inside the remaining rectangle. (Default: GridMarginsInfo.Default) () Specifies if cell should be drawn using Windows XP themes when has been set. (Default: True) Initializes a new object for the given GridControlBase and . The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase and GridCellModelBase will be saved. This method is called from the cell renderer's draw method to draw the contents of the client bounds for the cell, e.g. the text for a static cell. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. Specifies the row id. Specifies the column id. A reference to the style object of the cell. When drawing cells, it is necessary to determine if the specified cell (with rowIndex and colIndex) is the current cell and if it is active. If your control is associated with a control and supports in-place editing and the specified cell is the current cell, you should position the control. Take a look at the GridTextBoxCellRenderer implementation of this method for an example. Otherwise, you can simply draw the cell. This method is called from to draw the face text of the header cell after its background has been drawn. Points to the device context. Specifies the text rectangle. It is the cell rectangle without buttons, borders, or text margins. Specifies the row id. Specifies the column id. A reference to the style object of the cell. This is called from GridSelectCellsMouseController when the user clicked inside a cell. The row index. The column index. A with data about the mouse event. Paint the specified bitmap substituting black pixels with a new color. A Graphics object used to draw the bitmap. A Rectangle which contains the boundary data of the rectangle. A Point that specifies pixels to offset the bitmap from its origin point. The Bitmap to be drawn on the screen. The new color used to substitute black pixels. A Rectangle which contains the boundary data of the drawn bitmap. The PaintIcon routine will substitute black pixels of the original bitmap and draw them with the specified fore color. The bitmap is centered inside the specified bounds. Use the offset if you want to display a "pressed button" state. If the button is pressed, specify offset = new Point(1, 1). Load the bitmap from manifest and paint it substituting black pixels with a new color. A Graphics object used to draw the bitmap. A Rectangle which contains the boundary data of the rectangle. A Point that specifies pixels to offset the bitmap from its origin point. The name of the bitmap. The new color used to substitute black pixels. The PaintIcon routine will substitute black pixels of the original bitmap and draw them with the specified fore color. The bitmap is centered inside the specified bounds. Use the offset if you want to display a "pressed button" state. If the button is pressed, specify offset = new Point(1, 1). Defines a cell button element that looks like a + and - button for expanding and collapsing nodes in a tree. Used with as it assumes it is in a hierarchical GridDataBoundGrid. Initializes a and associates it with a . The that draws this cell button element. Draws the cell button element at the specified row and column index. The context of the canvas. The row index. The column index. True if this is the active current cell; False otherwise. The object that holds cell information. Implements the data / model part for an expandable row header cell in a that displays treelines. It is used exclusively with a hierarchical GridDataBoundGrid. The expandable row header cell will display a '+' for expanded rows and a '-' for collapsed rows similar to a TreeControl. You typically access cell models through the property of the class. A can serve as model for several instances if there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Creates a renderer for this cell model. The grid control. Cell renderer. The optimal size of the cell. Implements the renderer part for an expandable row header cell in a . The The expandable row header cell will display a '+' for expanded rows and a '-' for collapsed rows with treelines similar to a TreeControl. Defines the renderer part of a expandable row header cell. A renderer is created for each and . There can be several renderers associated with one if several views display the same . The registers "DataBoundRowExpandCell" as identifier in of a cells to associate this cell type with a cell. The following table lists some characteristics about the DataBoundRowExpandCell cell type: Item Description CellType DataBoundRowExpandCell Renderer Model XP Themes Support No Interactive Click Only Floating Support No Base Type The cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. To hide grid lines for a certain cell, you can set the of the specific edge to be . By default, the right and bottom borders are initialized to and borders are drawn as specified in the property of a instance. (Default: GridBordersInfo.Default) () When set to , the header will be drawn with slightly raised edges typical for cell headers. If the grid is XP Themes enabled the headers will be drawn with XP Themes look. If you specify Sunken or Raised, the header will be drawn with sunken or raised edges and not XP Themed. (Default: GridCellAppearance.Flat) () DataBoundRowExpandCell (Default: Text Box) () Specifies if the cell can be activated as the3 current cell when the user clicks onto the header. Usually you do not want a header to be activated as the current cell unless you want to have editing capabilities such as allowing users to rename header text in place. Such renaming functionality needs to be implemented in a derived class. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () Lets you specify a solid backcolor, gradient, or pattern style with both back and forecolor for a cell's background. If the grid is XP Themes enabled, this color will be ignored and the header will be drawn with default XP Themes header background. (Default: SystemColors.Window) () Lets you specify the color of the icon. (Default: SystemColors.WindowText) () When drawing this header cell this specifies the minimum empty area between the text rectangle without borders and the icon. The icon will be centered inside the remaining rectangle. (Default: GridMarginsInfo.Default) Initializes a new object for the given GridControlBase and . The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase and GridCellModelBase will be saved. Allows custom formatting of a cell by changing its style object. A reference to that holds the event data. This method is called from PerformLayout to calculate the client rectangle given the inner rectangle of a cell and any boundaries of cell buttons. The row index. The column index. The object that holds cell information. The with the inner bounds of a cell. An array of with bounds for each cell button element. A with the bounds. Draws the content for specified cell. Graphics context. Cell rectangle. Row index. Column index. Cell style information. Gets or sets color used for drawing the treelines. Represents a method that handles the event. Represents a method that handles the event. Represents a method that handles the event. Represents a method that handles the event. provides EventArgs used by the event. Initializes a new instance of the class. Mapping name of the column that is about to have a header cell created for it. Gets Mapping name of the column. provides text changed EventArgs used by the event. Initializes a new instance of the class. Provides EventArgs used by the event. Initializes a new instance of the class. The filter criteria. The dialog result. Gets or sets the filter criteria. Gets or sets the dialog result (if Handled = True was set). Encapsulates the functionality of adding a header row of combo boxes to a GridDataBoundGrid so the rows displayed in the grid can be filtered using the combo boxes. Please note that currently, FilterBars are only supported for simple GridDataBoundGrids that are not hierarchical. Initializes a new object. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Used internally. Used to maintain original filter in the table. Used internally. Used to maintain original sort in the table. Used internally. Used to maintain original DataView in the table.. Accessory for the wired grid. Returns the wired object. Specifies the wired grid. The object to be wired. The row index for the FilterBar row. Returns the row index where the FilterBar is displayed. Sets the row index where the FilterBar is displayed. The row index where the FilterBar is displayed. The DataTable associated with the displayed data in the wired grid. The DataTable. Sets the DataTable associated with the displayed data in the wired grid. The DataTable. Associates a GridDataBoundGrid with this FilterBar. The GridDataBoundGrid. This example shows how to wire the filter bar with the specified grid. // Creates the filter-bar instance. GridFilterBar myFilterBar = new GridFilterBar(); // Wires the grid to the filter-bar. myFilterBar.WireGrid(this.gridDataBoundGrid1); ' Creates the filter-bar instance. Dim myFilterBar As New GridFilterBar() ' Wires the grid to the filter-bar. myFilterBar.WireGrid(Me.gridDataBoundGrid1) Associates a GridDataBoundGrid with this FilterBar. The GridDataBoundGrid. The GridStyleInfo object that sets the appearance of cells in the FilterBar row. This example shows how to wire the filter bar with the specified grid and it's style. // Creates the filter-bar instance. GridFilterBar myFilterBar = new GridFilterBar(); // Creates the GridStyleinfo instance and specifies the style properties. GridStyleInfo myStyle1 = new GridStyleInfo(); myStyle1.BackColor = Color.WhiteSmoke; myStyle1.Font.Italic = true; myStyle1.Borders.All = new GridBorder(GridBorderStyle.Dashed); myStyle1.ExclusiveChoiceList = true; myStyle1.CellType = "ComboBox"; myStyle1.BaseStyle = "Standard"; myFilterBar.WireGrid(this.gridDataBoundGrid1, myStyle1); ' Creates the filter-bar instance. Dim myFilterBar As New GridFilterBar() ' Creates the GridStyleinfo instance and specifies the style properties. Dim myStyle1 As New GridStyleInfo() myStyle1.BackColor = Color.WhiteSmoke myStyle1.Font.Italic = True myStyle1.Borders.All = New GridBorder(GridBorderStyle.Dashed) myStyle1.ExclusiveChoiceList = True myStyle1.CellType = "ComboBox" myStyle1.BaseStyle = "Standard" myFilterBar.WireGrid(Me.gridDataBoundGrid1, myStyle1) Disassociates a grid with this FilterBar. Used to process key Messages when pressed. Used internally. This event occurs when Current cell drop down showing. The source control The that contains event data. This event occurs when current cell accept the editing was completed. The source control. The that contains event data. Used internally. This event occurs while closing current cell DropDown. The source control. The that contains event data. Creates a DataTable of unique choices for a FilterBar entry. The DataView that is being displayed in the grid. The column name of the column whose FilterBar choices are being constructed. A DataTable. This method is called to generate the list of entries for the default drop-down cell. The method inserts (none) and (custom) as the first two entries in the list. The other entries are unique occurrences of entries from the specified column. The (none) and (custom) strings can be changed through . Returns the filter string based on current cell values in the FilterBar. The grid holding the FilterBar. Returns a string that is appropriate to use as a DataView.RowFilter string. Used to determine the given filter string is valid or not. The string. returns true if it is valid , otherwise returns false. Blanks the filter string on every column. The grid holding the FilterBar. String array that holds the strings used in GridFilterBar. If you want to change these strings, you can set your new strings into the appropriate position in the GridFilterBarStrings array. Here is the code that shows the default settings. You should assign your new strings to the corresponding positions. The first two entries are the special items in the droplists for filter combo box cells. If you set one or both of these strings to the empty string, that option will not appear in the droplist. Here is the code that shows position of each string in GridFilterBarStrings. public string[] GridFilterBarStrings = new string[] { "(none)", //0 "(custom)", //1 "equals", //2 "does not equal", //3 "is greater than", //4 "is greater than or equal to", //5 "is less than", //6 "is less than or equal to", //7 "begins with", //8 "does not begin with", //9 "ends with", //10 "does not end with", //11 "contains", //12 "does not contain", //13 "Use * to represent any series of characters", //14 "Show rows where:", //15 "Improper custom filter: ", //16 "I and " //17 }; Raised immediately prior to the GridFilterBar.RowFilter property changing. Use this event if you need to know when the RowFilter is about to change. For example, handling this event will allow you to display the current row filter. Lets you control whether or not a column will display a drop-down in the added filter row. To indicate that a column should not contain a filter cell, set the Cancel member of the EventArgs to True. Lets you display a custom filter dialog of your choosing. Your dialog should provide a properly formatted e.FilterCriteria that will be assigned to the GridFilterBar.RowFilter property to determine the filtered contents of the grid. To indicate that your filter should be applied, set e.Result = DialogResult.OK and e.Handled = True. To cancel the filter operation and leave the filter state of the grid as is, set e.Result = DialogResult.Cancel and e.Handled = True. To have the grid display its default dialog, set e.Handled = False. The following example displays some arbitrary dialog. The dialog returns information necessary to set the proper values in the e. If you want the default dialog shown, set e.handled = False. If you do not want the default dialog displayed, you set e.Handled = True. When e.Handled = True, you can indicate that the value of e.FilterCriteria should be used to filter the display by setting e.Result = DialogResult.OK. //Show my own custom filter. private void GridFilterBarShowDialogEventHandler(object send, GridFilterBarShowDialogEventArgs e) { MyFilterDialog dlg = new MyFilterDialog(); DialogResult result = dlg.ShowDialog(); if(result == DialogResult.Ignore) { //Show the default dialog. e.Handled = false; } else { //Otherwise, don't show default and set the result. e.Handled = true; e.Result = result; //cancel or OK-filter the grid with e.FilterCriteria e.FilterCriteria = dlg.textBox1.Text; // the filter string } } Raised immediately after a filter has be completed. Use this event if you need to know when your user has completed a filter action. Gets or sets the RowFilter for use as the DataView.RowFilter property for the DataView associated with the current GridDataBoundGrid.DataSource. Setting this property will apply the filter contained in the string to the default DataView of the GridDataBoundGrid. This member is set as you use the combo boxes on the FilterBar. But you can also set it explicitly as well. Gets or sets the default style for the cells in the FilterBar row. You can use this property to control the basic appearance, such as BackColor or Font, of the cells on the FilterBar row. Gets or sets a value indicating whether to enclosed each column filter in parentheses when they are ANDed to create the string. The default value is true. This property only has an effect if you have multiple column filters set, and have also set a compound filter using an OR clause in the Custom dialog. In this case, the parentheses are needed to ensure the proper evaluation of the logical expression. Versions earlier than 4.1.0.0, did not provide these added parentheses. If you need this earlier behavior, then set this property to false. Gets a value indicating whether this FilterBar object is associated with a GridDataBoundGrid. Provides all the custom functionality for FilterBar dialog. Required designer variable. Initializes a new instance of the class. Used to set the default string values to the custom filter dialog. The default strings. Clean up any resources being used. Required method for Designer support - do not modify the contents of this method with the code editor. This event fired when FilterBar custom dialog load. The source control The that contains event data. This event fired when FilterBar custom dialog OK button clicked. The source control The that contains event data. This event fired when FilterBar custom dialog cancel button clicked. The source control The that contains event data. This event fired when FilterBar custom dialog radio button1 clicked. The source control The that contains event data. This event fired when FilterBar custom dialog radio button2 clicked. The source control The that contains event data. Used to form an filter expression by using customer provided options. The relation chooses by customer. The text Returns an expression string. Defines the default behavior when the grid is notified from the underlying IBindingList that the data for the current record are changed. Represents None. Discard any changes for the current record and display the modified data into the current record. Keep changes that were made for the current record and keep the current cell's control text and mark the current record as modified (show pencil in row header). Keep the text of the current cell, mark current record as modified (show pencil in row header) when text of current cell differs. Implements a DataObject consumer for text data. Will handle data provided in DataFormats.Text and DataFormats.UnicodeText format. Implement this interface in order to participate as a possible DataObject consumer. See . Queries the DataObject consumer if it knows how to handle the IDataObject. Provides data to be consumed. Another consumer that is capable of reading the data. Might be NULL. Reserved for future use. True if this consumer is able to read the data from . Queries the dimension in rows and columns of the data object. The data object. returns size Paste the contents of the data object at the specified cell coordinates. Provides data to be consumed. The row index. The column index. True if successful; False otherwise. Gets the name of the DataObject consumer. Initializes a new object and associates it with a . The this object should be associated with. Queries the DataObject consumer if it knows how to handle the IDataObject. Provides data to be consumed. Another consumer that is capable of reading the data. Might be NULL. Reserved for future use. True if this consumer is able to read the data from . Queries the dimension in rows and columns of the data object. The data object. returns Dimension. Paste the contents of the data object at the specified cell coordinates. Provides data to be consumed. The row index. The column index. True if successful; False otherwise. Gets the name of the DataObject consumer. This is a helper class for the that manages access to the data source. implements the interface that lets it catch , , , and events in one place. The methods in this interface are called before the named events are raised and thus give you a chance to control the event's behavior before other subscribers can handle it. You access the instance with the property of the . Initializes a new and associates it with a . The this object should be associated with. Used to reset the model base styles. Sets grid BaseStylesMap style for row header and column header. Releases all resources used by the System.ComponentModel.Component. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Converts a column index in a grid to a zero-based field number adjusted for column headers. The resulting field number can be used as an index to look up a in the collection. The column index in the grid. A zero-based field number in the datasource. Converts a zero-based field number to a column index in a grid adjusted for column headers. A zero-based field number in the datasource. The column index in the grid. Returns the zero-based field number for a column that matches a given name. The resulting field number can be used as an index to look up a in the collection. The name of the field to be matched. A zero-based field number in the datasource; -1 if not found. This function only searches the columns in the root level. If you have several relations displayed in the grid, the nested relations will not be searched by this function. Returns the column index for a column that matches a given name. Returns the zero-based field number for a column that matches a given name. The resulting field number can be used as an index for . The name of the field to be matched. The column index in the grid; -1 if not found. This function only searches the columns in the root level. If you have several relations displayed in the grid, the nested relations will not be searched by this function. Returns the row index for a row that matches a given name. The name of the row to be matched. The row index in the grid; -1 if not found. Recreates the internal columns collection or loops through the existing collection and reinitializes columns with the correct based on the . This method is automatically called when a is assigned to the grid. Rearranges how columns are displayed in the grid and allows you to specify covered cells and / or break records into several rows displayed in the grid. A string array with field names. The following strings have a specific meaning: "-" specifies a covered cell. "." indicates line break inside the record. Subsequent fields will be displayed in another row. "" specifies an empty "whitespace" column. Other that these, you should use the same mapping names that you also use with objects. See the "MultiRowRecord" and "ExpandGrid" examples for sample code. Returns the with information about columns displayed for the specified relation. The name of the relation. This should be the same name you used for adding the relation with . The with information about columns displayed for the specified relation. Returns the with information about columns displayed for the specified relation. The zero-based hierarchy level for this relation. The with information about columns displayed for the specified relation. Adds a to the grid for a specified relation. If you are referring to a relation within a , the name of the relation should be the same name you used when adding the relation to of . The name of the relation. This can be the name of a or the name of a that references any . The with information about columns displayed for the newly added relation. Instantiates a that holds the collection of objects. If you want to use a class derived from the you should also derive a and set . See for a sample. An empty . Converts an absolute row index in a grid to a zero-based position in the same grid adjusted for row headers. The first grid position is the 0-based index starting with the first non-header row in the grid. The absolute row index in the grid. The zero-based position in the grid adjusted for row headers. If you have a grid with 3 row headers: RowIndexToPosition(4) will return 1. RowIndexToPosition(3) will return 0. RowIndexToPosition(2) will return -1. RowIndexToPosition(1) will return -1. The row index and the grid position do not depend on and number of rows per record. Converts a zero-based position in the grid to an absolute row index in the grid. A zero-based position in the grid. The first position is the 0-based index starting with the first non-header row in the grid. The row index in the grid. If you have a grid with 3 row headers: PositionToRowIndex(-1) will throw exception. PositionToRowIndex(0) will return 3. PositionToRowIndex(1) will return 4. Converts an absolute row index in a grid to a zero-based record index of the datasource displayed in the grid. The absolute row index in the grid. Zero-based record index of the data source displayed in the grid. The returned value depends on the number of rows per record and the current expansion state of hierarchy levels in the grid. Only the list manager position for the outer hierarchy is returned. Converts a zero-based position of the data source displayed in the grid to an absolute row index in the grid. A zero-based record in the data source displayed in the grid. The row index in the grid. The returned value depends on the number of rows per record and the current expansion state of hierarchy levels in the grid. Only the list manager position for the outer hierarchy is accepted as input. Returns the for the specified absolute row index with information about the hierarchy level and the record displayed at the specified row. The absolute row index in the grid. A with information about the hierarchy level and the record displayed at the specified row. Checks if both rows represent the same record of the underlying data source. The first row index. The second row index. True if both rows show the same record of the underlying data source. Normally different rows will represent different records in the data source. However, you can break one record into several rows with . In that case, several rows can represent the same record in the datasource. Returns the grid position for a zero-based record in list manager position. Zero-based record in list manager. Zero-based grid position. Returns zero-based record in list manager for zero-based grid position. Zero-base grid position. Zero-based record in list manager. Used to determine whether the records of two given row index is same or not. The first record row index. The second record row index Returns true when it differed, otherwise return false. Used to determine whether the records of two positions. The first record position. The second record position. Returns true when it differed, otherwise return false. Call this if you have changed the underlying datasource and added several relations. Used to reset the record state. Used to get record state by using given position. The position The state. Checks whether the list manager and grid positions count is same or not. Add the list manager count as like the Grid position. The position of the record in grid. The count Reduce the List manager count as like the given grid position. The position of the record in grid. The count Checks whether the given record where expanded or not. The position. Returns false when levels count is greater than 1. Determine whether the record state have been considered or not. Returns false when levels count is greater than 1. Used internally. Used to get that child list by using relation. The The object. Used to expand the particular record. The position of the record. Used to collapse the particular record. The position of the record. Store the unwanted records. Used to synchronize the column count based on hierarchy level column count. used to get row header state of specified indexed record. Removes the previous row header state and add information about the hierarchy level and the record displayed at a specific row Used to synchronize the row header count based on row headers state count. This event is occurred when Model column starts moving. The source control. The that contains event data. Resets error information for the current record. Determine whether DataGrid source has error or not. Returns true if yes, other wise return false. This event is occurred when column collection changed. The source control. The that contains event data. Refreshes the child view using the DataRelation to get to the child rows of the selected row. Occurs when the is querying for the and the cell type is not found in the GridCellModelCollection. The source control. The that contains event data. Method handler for the event The that contains event data. Method handler for the event. An that contains the event data. Method handler for the event The that contains event data. Method handler for the event. An that contains the event data. Occurs when the model queries about information about the covered cell at a specific cell. The source control. The that contains event data. Method handler for the event. The that contains event data. Method handler for the event. An that contains the event data. Used to get the property value by using mapping name. The source object. The name Method handler for the event. An that contains the event data. Method handler for the event. An that contains the event data. Used to set the value to its property. The Object. The value. The mapping name. Used to paste the clipboard data. provides an mechanism for data transfer. The flag value. paste range list. The that contains event data. Returns true if current allows to pasting, otherwise return false. sets the current record values. The current record position. Begins an edit on the current record. Pushes changes since a call for the current record. Cancels the current edit operation. Resets a field back to its original value in the current record. The zero-based field index. Checks if a field is modified in the current record. The zero-based field index. True if field is changed; False otherwise. Checks if any field in the current record is modified. true if there are pending changes; false if current record is not modified. Adds a new record to the datasource. Raises the event. A that contains the event data. Used to synchronize the current record state. The position of current record. Changes the current record in the datasource. The zero-based position in the datasource for the new current record. specifies if a event should be raised. Raises a event. Raises the event. An that contains the event data. Sorts the datasource by the specified field. This number specifies the field to use as key for a sort. When the datasource is sorted by the specified field, the sort direction is toggled between ascending and descending. Sorting is supported only for columns displayed in the root level for grid with nested relations displayed in the grid. Used to sort the records, Non generic collections. The propertyDescript Removes the specified records from the datasource (without sending a event; use instead if you need it. The zero-based position of the first record. The zero-based position of the last record. Raises the event. An that contains the event data. Used to set site functionality. The columns. The different columns. Boolean property. Sets the and properties at run-time. The datasource, typed as , for the control. The string that specifies the table to bind to within the object returned by the property. This is called when the property is changed. The that contains event data. Used to call BeginUpdate internally. Used to call EndUpdate internally. Sets the List Manager internally. The new DataSource. Gets or sets the specific list in a for which the control Boolean default false value. Boolean property used to determine column creation. Raises the event. An that contains the event data. Raises the event. An that contains the event data. Wire data source related events to grid. Raise event that contains eve Unwire data source related events to grid. Removes event that contains event data. Invokes the required control. Row in master view changed. Reload row count, rows. Event source. Event data. Suspends data binding until is called. and are two methods that allow the temporary suspension and resumption of data binding. You would typically suspend data binding if you want to make several changes to the data source without immediately updating the grid after each change. For example, if you want to clear out all records in your data set and refill it with its original data, you can improve performance of this operation substantially if the grid does not need to immediately reflect every row change while the data set is filled. Resumes data binding after a previous call. and are two methods that allow the temporary suspension and resumption of data binding. You would typically suspend data binding if you want to make several changes to the data source without immediately updating the grid after each change. For example, if you want to clear out all records in your data set and refill it with its original data, you can improve performance of this operation substantially if the grid does not need to immediately reflect every row change while the data set is filled. This event occurs when List Manager current item changed event. The source control. The that contains event data. This event occurs when List Manager current position changed event. The source control. The that contains event data. This event occurs when List Manager Item changed. The source control. The that contains event data. Raises the event. An that contains the event data. Raises the event. The that contains event data. Occurs when the grid is notified from the underlying IBindingList and lets you dynamically define the behavior how to resolve conflict with pending changes in current record. Raises the event. A that contains the event data. Gets the List manager count. Returns the integer count. Get the ListManaget properties. This event occurs when binding list changed. The source control. The modify the ListManager when metaDataChanged. Returns a System.Windows.Forms.CurrencyManager that is associated with the current object. Gets or sets a value indicating whether list should be attached to or if you would like the engine to be detached from a CurrencyManager. (Default is True) Gets or sets a value indicating whether the grid should set automatically for columns that have dates or Boolean values. Gets the with information about columns displayed for the root list. Gets the number of hierarchies displayed in this grid. A regular data source without nested relations will have a of 1. Gets the number of relations displayed in the grid. Gets a value indicating whether a datasource supports adding new records. Gets a value indicating whether to support add new. Use AllowAddNew instead. Gets a value indicating whether a datasource supports editing records. Gets or sets a value indicating whether to save cell values directly into the datasource without moving the current record and without calling BeginEdit or EndEdit. The clipboard paste and clipboard deleted functions temporarily raise this flag when pasting several rows. Gets or sets a value indicating whether the datasource is a DataView and the user edits the contents of a cell in the current record, the value will also be set in the underlying record. If this is a problem for, e.g. if you want to be able to modify contents of the current record from outside after it was switched into edit mode, you can set this AllowSetValueOnCurrentItem to false. Gets the number of records in the datasource. If you are displaying a grid with nested relations, the only the record count for the root data source is displayed ignoring any expanded nodes. Gets or sets if you want to use a class derived from , you should also derive a and set . This sample demonstrates how to implement a derived CustomGridColumn: /// /// A specialization of the GridBoundColumn class with additional /// functionality. /// public class CustomGridColumn : GridBoundColumn, ICloneable { private int width; private int widthPercentage; /// /// Default constructor. /// public CustomGridColumn() { } public int Width { get { return width; } set { width = value; } } public int WidthPercentage { get { return widthPercentage; } set { widthPercentage = value; } } public CustomGridColumn(PropertyDescriptor prop) : base(prop) { } object ICloneable.Clone() { return base.Clone(); } } [ListBindableAttribute(false)] [Editor(typeof(GridBoundColumnsCollectionEditor), typeof(System.Drawing.Design.UITypeEditor))] public class CustomGridColumnsCollection : GridBoundColumnsCollection, ICloneable { public CustomGridColumnsCollection(GridModelDataBinder table) : base(table) { } public override GridBoundColumn CreateBoundColumn(PropertyDescriptor pd) { return new CustomGridColumn(pd); } /// /// Creates a new CustomGridColumnsCollection and creates copies of all members in this collection. /// /// A CustomGridColumnsCollection object. public override object Clone() { GridModelDataBinder owner = null; owner = this.Owner as GridModelDataBinder; CustomGridColumnsCollection clone = new CustomGridColumnsCollection(owner); foreach (GridBoundColumn item in this) clone.Add((GridBoundColumn) item); //.Clone()); return clone; } /// /// Gets a specified CustomGridColumn in the CustomGridColumnsCollection. /// /// /// Gets a specified CustomGridColumn in the CustomGridColumnsCollection. /// public new CustomGridColumn this[int index] { get { return (CustomGridColumn) base[index]; } } /// /// Gets a specified CustomGridColumn in the CustomGridColumnsCollection. /// public new CustomGridColumn this[string columnName] { get { return (CustomGridColumn) base[columnName]; } } /// /// Gets a specified CustomGridColumn in the CustomGridColumnsCollection. /// public new CustomGridColumn this[PropertyDescriptor propDesc] { get { return (CustomGridColumn) base[propDesc]; } } } public class SyncFusionBoundGrid : GridDataBoundGrid { /// /// Default constructor. /// public SyncFusionBoundGrid() : base() { GridModelDataBinder.BoundColumnsCollectionType = typeof(CustomGridColumnsCollection); } /// /// A collection of grid bound columns. This property is overridden so /// that the type used to define a grid bound column is a specialized /// version. /// [ Browsable(false), DesignerSerializationVisibilityAttribute( DesignerSerializationVisibility.Hidden ) ] public override GridBoundColumnsCollection GridBoundColumns { get { return base.GridBoundColumns; } set { base.GridBoundColumns = value; } } /// /// A collection of grid bound columns. This property is overridden so /// that the type used to define a grid bound column is a specialized /// version. /// [ DesignerSerializationVisibilityAttribute( DesignerSerializationVisibility.Content ) ] [ LocalizableAttribute(true) ] [ Description( "Manages the columns to be displayed in the GridDataBoundGrid." ) ] [ Category( "Data" ) ] [ RefreshProperties( RefreshProperties.All ) ] [ Editor( typeof(GridBoundColumnsCollectionEditor), typeof(UITypeEditor) ) ] public CustomGridColumnsCollection CustomGridColumns { get { return base.GridBoundColumns as CustomGridColumnsCollection; } set { base.GridBoundColumns = value; } } } Gets or sets a value indicating whether OptimizeListChangedEvent. Used internally. Gets or sets a value indicating whether ForceUpdateAfterListChangedEvent. Used internally. Gets the position of the last record. Gets the error message of the last error. Gets a value indicating whether an error occurred in the last save operation. Gets the exception for the last save operation. Gets a value indicating whether has been called. Gets or sets a value indicating whether add new ForceItemChangedEvent hack. Used internally. Gets a value indicating whether the current edit operation is being cancelled. Gets or sets a value indicating whether the grid supports editing records if the underlying datasource allows it. See . Gets or sets a value indicating whether the grid supports editing records if the underlying datasource allows it. See . Gets a value indicating whether there are pending changes to the current record. Gets a value indicating whether has been called. Gets a value indicating whether has been called. Occurs when , , , or is called. Gets or sets the zero-based position of the current record in the datasource. Gets the last position before was changed. Gets the row index in the grid for the . Gets the row index in the grid for the . Gets a value indicating whether the grid's current row is positioned at the append row (if any). Occurs when the current record position in the datasource is changed. Gets a value indicating whether the datasource allows removing records. Gets or sets a value indicating whether the grid supports removing records if the underlying datasource allows it. See . Gets or sets the datasource that the gridModel is displaying data for. Gets or sets the specific list in a for which the control displays a gridModel. Gets or sets the grid columns. Gets or Sets the Internal grid columns. Gets or sets a collection of objects in the control. Occurs when columns have been added or removed. Gets or sets Property Site (ISite) Gets the collection of objects in the control. This can be either the columns specified by the user or if no columns were specified it returns all columns that were automatically propagated from the data source. Gets or sets the for this object. You can assign a from a parent form to this property. Occurs when the property has changed. Occurs after records are removed. Gets a value indicating whether was called. and are two methods that allow the temporary suspension and resumption of data binding. You would typically suspend data binding if you want to make several changes to the datasource without immediately updating the grid after each change. For example, if you want to clear out all the records in your data set and refill it with its original data, you can improve performance of this operation substantially if the grid does not need to immediately reflect every row change while the data set is filled. Gets or sets the list manager values. Gets or sets the value for List. Gets a value indicating whether in row changed. True while in . Occurs when contents of a record have changed. Occurs when contents of a record have changed. Gets or sets the default behavior when the grid is notified from the underlying IBindingList that the data for the current record are changed. Occurs when the grid is notified from the underlying IBindingList and lets you dynamically define the behavior how to resolve conflict with pending changes in current record. Occurs before the processes the event of an attached source list. The reason for firing this event is to give a programmer chance to react to a event before the binder since there is otherwise no order guaranteed when an IBindingList raises a ListChanged event. Gets or sets a value indicating whether is design mode. True if component is designed inside a designer; False otherwise. Gets or sets a value indicating whether DoNotDisposeLists. Used internally. Provides the functionality for GridListUtil. Get sort direction. The source list Returns the sorting order. Gets the sorting property. The source list. Returns the property. Applying sorting bys using properties. The source list. The to apply sorting. The sorting direction. determine whether the list support sorting or not. The source list. Returns true if List.Supportssorting is true, otherwise false determine whether the list allow to remove. The source list. Returns true if List.AllowRemove is true, otherwise false Checks if property descriptor is relation? The property. Returns true if IsAssignableFrom , otherwise false Get the relation of Property descriptor. The property descriptor. Returns the data relation. Get the instance properties of provided type. The determine whether its collection or not. Get the particular Item properties. The type of property. returns the property descriptor collection, if it is not assignable it return properyDescriptorCollection.Empty. Get the particular Item properties. The Data source. returns the property descriptor collection, if it is not assignable it return properyDescriptorCollection.Empty. The class holds information about a hierarchy level in a grid. A grid has at least one root level. If there are nested relations inside the grid the grid will hold an additional GridHierarchyLevel for each relation. The grid provides access to though the property and and functions of a . will provide you with number of hierarchy levels. Initializes a new instance of the class. The binder that manages the access to the data source. The level. Raises the event. An that contains the event data. Returns the number of columns that this relation displays in the grid. If a record is broken into several rows, the column count will be the maximum column count for all rows in the record. The number of columns that this relation displays in the grid. Calculates a zero-based field number that can be used as an index in the based on the zero-based row index in the record and the zero-based field column in the grid. Zero-base row index. Zero-based field index in the grid. If you have an absolute column index, you should first convert it with . A zero-based field number that can be used as an index to access a in . Calculates the zero-based row index in the record and the zero-based field column in the grid base on a zero-based field number that can be used as an index in the . A field number that can be used as an index in the . Returns the zero-based row index in the record. Returns the zero-based field number in the grid. You can call to get the associated column index. Rearranges how columns are displayed in the grid and allows you to specify covered cells and / or break records into several rows displayed in the grid. A string array with field names. The following strings have a specific meaning: "-" specifies a covered cell. "." indicated line break inside the record. Subsequent fields will be displayed in another row. "" specifies an empty "whitespace" column. Other than these, you should use the same mapping names that you also use with objects. See the "MultiRowRecord" and "ExpandGrid" examples for sample code. Creates a new grid column for the specified . The for this column. Creates a new grid column for the specified . The for this column. Returns GridBoundColumn. Modify the GridColumn type based on type. The an column The Checks for this.RightToLeft == RightToLeft.Yes; True if text is drawn from right to left. Initialize the given columns. The Provides the functionality to discover schema for bindable list. Initialize the given columns. The The Initialize the given columns. The table Initialize the given columns. The table The Get the property descriptor by using PropertyDescriptorCollectoion and GridBoundColumn. The The collection. Gets the appearance of rows that belong to this relation. Gets the appearance of column headers for rows that belong to this relation. Gets Relation descriptor for sublevel Gets the collection of objects for this relation. This can be either the columns specified by the user or if no columns were specified, it returns all columns that were automatically propagated from the datasource. Gets or sets a collection of objects in the control. Occurs when columns have been added or removed. Gets the zero-based index for this hierarchy level. Gets Number of rows per record. Gets or sets a value indicating whether headers for this relation should be shown or hidden. Holds information about the hierarchy level and the record displayed at a specific row. Each row in the grid is associated with a . Use the to get access to state information of a row. Disposes the object. Gets a reference to the record state of the parent node. Gets a reference to the list this record belongs to. (E.g. DataRowView when you browse a DataTable). Gets a reference to the ListManager for the this record belongs to. Gets the zero-based record index in the the list this row belongs to. Gets the zero-based row index within a record if the record spans over multiple rows. Gets a value indicating whether this node is expanded. Gets a reference to the child list for this node. (E.g. DataRowView when you browse a DataTable). Gets a value indicating whether this node has any children. Gets the zero-based index for the hierarchy level. Use to get access to the related . Gets the number of child records for this node. A method that represents a handler for the event. Lets you dynamically define the behavior when the grid is notified from the underlying IBindingList that the data for the current records are changed. Initializes the event arguments. The current record position. Indicates if current record was edited by user. A reference to the GridCurrentCell, lets you check gcc.IsModified, for example. Specifies how the grid should resolve this conflict. Gets the current record position. Gets a value indicating whether current record was edited by user. Gets a reference to the GridCurrentCell, lets you check CurrentCell.IsModified, for example. Gets or sets how the grid should resolve this conflict. Provides a with support for a . Initializes a new instance of class. Initializes a new instance of class. Initializes a and associates it with a grid. The grid to be displayed in this record navigation control. Releases all resources used by the System.ComponentModel.Component. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Raises the System.Windows.Forms.Control.GotFocus event. This method is called when the control or any child control gets focus and this control did not have focus before. The that contains event data. Implements hooks with the specified for current cell movement. The grid control to listen to. Reset hooks with the specified . The grid control to listen to. This event fired when theme changed. The source control The that contains event data. This event fired when grid visibility changed. The source control The that contains event data. Creates a new control for the specified splitter pane. The row in a . The column in a . The control in the first splitter pane. A parent control. Can be a . A new instance of . Hides or disposes the control for the specified splitter pane. The row in a . The column in a . The control in the splitter pane that should be hidden. A parent control. Can be a . This event fired when grid scroll info changed. The source control The that contains event data. This event fired when currentCell activated. The source control The that contains event data. This event fired while entering row. The source control The that contains event data. Calculates the one-based record displayed at a specific row. A reference to the grid. The row index. When the grid has more than one hierarchy level, the record in the root level will be returned. The one-based record (as displayed in the record navigation bar) for the given row index. Calculates the first row in the grid for a one-based record index. A reference to the grid. The one-based record. When the grid has more than one hierarchy level, only the record for the root level can be specified. Row index. The first row index for the specified record. This event is occurred when current cell start moving. The source control The This event is raised when mouse down occurred on navigation bar. The source control. The that contains event data. This event is raised when mouse up occurred on navigation bar. The source control. The that contains event data. Raises the Syncfusion.Windows.Forms.RecordNavigationControl.CurrentRecordChanging event. The that contains event data. This event fired when disposing grid control. The source control The that contains event data. Adjust the width of NavigationBar with dpi. Width of RecordNavigationBar. NavigationBarWidth Gets or sets the site of the control. Gets the that is displayed in the record navigation pane. Gets or sets a value indicating whether the control can accept data that the user drags onto it. Gets or sets the color of arrows in enabled buttons. Gets or sets the color of arrows in disabled buttons. Gets or sets the button look for the arrow buttons. Gets or sets the Office like scrollbars. This example shows how to use the GridOfficeScrollBars property. // Sets the style theme for scroll bars. Make sure the property �ThemesEnabled = true;� this.gridDataBoundGrid1.GridOfficeScrollBars = OfficeScrollBars.Metro; ' Sets the style theme for scroll bars. Make sure the property �ThemesEnabled = true;� e.gridDataBoundGrid1.GridOfficeScrollBars = OfficeScrollBars.Metro Gets or sets the horizontal splitter position in percentages of the splitter control's width. Gets or sets the label to be displayed before the record field textbox. Gets or sets an optional maximum label (e.g. "of 1000"). Gets or sets the maximum record position. Gets or sets the minimum record position. Gets or sets the width of the navigation bar. Gets / sets the shortest interval for firing scroll event. Gets or sets the arrow button that should be shown in an arrow bar. Indicates whether adding new records is enabled. Gets or sets the back color of the navigation bar. Toggles between standard and Office2007 scrollbars. Gets or sets the style of Office2007 scroll bars This example shows how to use the Office2007ScrollBarsColorScheme property. // Enables the Office2007 scroll bars. this.gridDataBoundGrid1.Office2007ScrollBars = true; // Sets the color schemes for the Office2007 scroll bars. this.gridDataBoundGrid1.Office2007ScrollBarsColorScheme = Office2007ColorScheme.Black; ' Enables the Office2007 scroll bars. Me.gridDataBoundGrid1.Office2007ScrollBars = True ' Sets the color schemes for the Office2007 scroll bars. Me.gridDataBoundGrid1.Office2007ScrollBarsColorScheme = Office2007ColorScheme.Black Gets or sets the style of Office2010 scroll bars. Gets / sets the number of Milliseconds to wait before repeatedly firing scroll event. Toggles visibility of the Horizontal scrollbar. Indicates whether ToolTips are being shown for tabs that have ToolTips set on them. Toggles visibility of the vertical scrollbar. Gets or sets a value indicating what split behavior is supported. Rows, Columns or Both. Gets or sets the vertical splitter position in percentages of the splitter control's height. Gets / sets whether the control should be drawn using Windows XP Themes if available. Represents None Represents Default Represents Top Represents Left provides functionality for drawing of Excel-like selection frame. Returns a string that represents the current object. A string that represents the current object. Initializes a new instance class and attaches it to the grid. The grid control. Releases all resources used by the System.ComponentModel.Component. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. provide the inverted rectangle of the given rectangle. The Points to the device context. the rectangle The Rectangle provide the inverted rectangle of the given rectangle. The instance. Points to the device context. the rectangle The Rectangle The Boolean provide the inverted rectangle of the given rectangle. The Points to the device context. the rectangle The Rectangle The Boolean The Boolean value to ensure left side visibility. The The Boolean. Draws the selection range frame. The Points to the device context. The The The Boolean. Used internally. Draws the selection range frame. The Points to the device context. The Boolean to determine the old drawing is need to be enabled or disabled. The used new ranges. Draw the selection range frame when SelectionFrameOption is SelectionFrameOption.Excel2016. Points to the device context. The The Boolean used to determine the old drawing is need to be enabled or disabled. The Boolean. Calulates the selected visible cells range. /// The returns the selectedd visible cells range. Used to check whether the selection frame is in visible or not. The nlRow contains the top row index nlCol contains left column index Returns true if selection range in visible otherwise false. Calculates the selection border area and clip area based on the selection range. The The rectangle contains clip area Returns the rectangle area based on the selection range. Used to mark toggle selection frame. The This event fired when grid selection Frame changing. The source. The that contains event data. This event fired when grid selection Frame changed. The source. The that contains event data. This event fired after scrolled. The source. The that contains event data. This event fired before scrolling. The source. The that contains event data. This event fired when painting grid. The source. The that contains event data. Locks the selection frame. The The Boolean determine whether need to lock or not. Returns true if isLockedDrawSelectionFrame is locked. otherwise return false. Draws the selection frame. The Points to the device context. Resets the Frame graphics, set clip methods. A find and replace dialog that can be used to search cells within a grid. The dialog communicates with the grid through the interface. See the for an example of how to enable find and replace support for a grid. If you want to find and replace in the grid without displaying this dialog, you should instantiate a object and call its or \ method. Disallow explicit construction of this dialog. Use instead. Releases all resources used by the System.ComponentModel.Component. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Raises the event. The that contains event data. Register the current target of find and replace operations. Call this from your controls event handler. The new target for find and replace operations. The method checks if there is an active dialog displayed. Otherwise, the method will have no effect. Gets or sets current selection in your current find and replace target control. For a grid, this should be a GridRangeInfo. Adds the string to the search list of the find what combo box. The search string to be added. Used to handle the destroy functionality. The that contains event data. Required method for Designer support - do not modify the contents of this method with the code editor. This event fired when GridFindReplaceDialog visible changed. The source control The that contains event data. This event fired when button close clicked. The source control The that contains event data. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Find Next occurrence of string. This event fired when button find next clicked. The source control The that contains event data. This event fired when button replace clicked. The source control The that contains event data. provides and create find and replace event functionality. Returns find and replace event args. This event fired when FindWhat_text changed . The source control The that contains event data. set the comboBox find text. Initializes the dialog. The target for find / replace operations. The text to be shown in find text box. Specifies if dialog should be shown in find-only or replace mode. set the properties behave like a find state. set the properties behave like a find state. modify the button enabled state. This event fired when replace all clicked. The source control The that contains event data. Get the replaced new string. The old string. Returns the replace string. This event is fired while find and replace dialog closing. The that contains event data. Applying grid find and replace dialog options. Gets an instance of the find replace dialog. Creates a single shared instance if necessary. Gets or sets the text to be searched. Gets or sets show or hide various dialog elements. Occurs when the property has changed. Gets or sets the current target of find and replace operations. Occurs when the find text was not found. Set e.Cancel = True if you do not want to display the default "not found" message box or if you want to display a customized dialog. Occurs when the find operation reaches the starting point again. Set e.Cancel = True if you do not want to display the default "reached starting point" message box or if you want to display a customized dialog. Gets or sets a value indicating whether the "Replace" button should be visible. Set this false if you called to show dialog in find-only mode and do not want users to give a choice to switch to replace mode. Provides information about the find and replace dialog. Initializes a new instance of the class with options for a find or replace operation. The text to be searched. The replacement text. Search criteria. Information about the current selection. If target is a grid control, this should be of type . Used choose find options. Used to match the case. Used to match whole cell. Used for search up Use to match whole table. Used to match column only . Used to match selected range only. Gets or sets the text to be searched. Gets or sets the replacement text. Gets or sets Options. Search criteria. Gets or sets information about the current selection. If target is a grid control, this is of type . Options used for customizing : Represents None. Show Match Case check box. Show Match Case check box. Show Search Up check box. Show Selection combo box. Default setting. Provides a default implementation of a for a grid control. The following example demonstrates how to enable a grid control for find and replace support: GridFindReplaceDialogSink findReplaceDialogSink; public GridFindReplaceDialogSink GridFindReplaceDialogSink { get { if (findReplaceDialogSink == null) { findReplaceDialogSink = new GridFindReplaceDialogSink(this); } return findReplaceDialogSink; } } protected override void OnCurrentCellActivated(EventArgs e) { GridFindReplaceDialog.ResetFindLocation(); base.OnCurrentCellActivated(e); } protected override void OnControlGotFocus() { GridFindReplaceDialog.SetActiveSinkIfVisible(GridFindReplaceDialogSink); base.OnControlGotFocus(); } // to show the dialog: GridFindReplaceDialog frDialog = GridFindReplaceDialog.Instance; frDialog.SetState(grid.GridFindReplaceDialogSink, "", false); frDialog.Show(); Dim findReplaceDialogSink As GridFindReplaceDialogSink Public ReadOnly Property GridFindReplaceDialogSink() As GridFindReplaceDialogSink Get If findReplaceDialogSink Is Nothing Then findReplaceDialogSink = New GridFindReplaceDialogSink(Me) End If Return findReplaceDialogSink End Get End Property Protected Overrides Sub OnCurrentCellActivated(e As EventArgs) GridFindReplaceDialog.ResetFindLocation() MyBase.OnCurrentCellActivated(e) End Sub 'OnCurrentCellActivated Protected Overrides Sub OnControlGotFocus() GridFindReplaceDialog.SetActiveSinkIfVisible(GridFindReplaceDialogSink) MyBase.OnControlGotFocus() End Sub 'OnEnter ' to show the dialog: Dim frDialog As GridFindReplaceDialog = GridFindReplaceDialog.Instance frDialog.SetState(grid.GridFindReplaceDialogSink, "", False) frDialog.Show() Provides an interface that the uses to communicate with its target control for find and replace operations. See for an implementation for a regular grid control. Finds the text with the specified criteria. Text and search criteria. The location info (typically a ) or NULL if not found. Replaces the text with the specified criteria. Text and search criteria. The location info (typically a ) or NULL if not found. Replace the text in all cells with the specified criteria. Text and search criteria. Displays a warning message. The message text. The dialog title. Returns the screen bounds for the selection object. The find and replace dialog calls this method to ensure that it does not hide the current selected text after a successful find operation. The location object, typically a . The bounds in screen coordinates. Constructs a GridFindReplaceDialogSink and associates it with a grid control. The grid control this object operates on. Finds the text with the specified criteria. Text and search criteria. The location info (typically a ) or NULL if not found. Internals the find. The instance containing the event data. returns object Finds the in range. The instance containing the event data. The selection grid range. The start grid range. The end grid range. returns GridRangeInfo Gets the next cell. The grid range info. The row index The column index. if set to true [b sort by row]. if set to true [search up]. returns the Boolean value Returns the screen bounds for the selection object. The find and replace dialog calls this method to ensure that it does not hide the current selected text after a successful find operation. The location object, typically a . The bounds in screen coordinates. Replaces the text with the specified criteria. Text and search criteria. The location info (typically a ) or NULL if not found. Replace the text in all cells with the specified criteria. Text and search criteria. Displays a warning message. The message text. The dialog title. Represents None Represents Find Represents Replace Represents ReplaceAll Provides support for dynamically displays and edits the contents of the CurrentCell of a grid. You can drop this text box anywhere on a form, and use its WireGrid method to bind it to the CurrentCell of a grid. So, any changes in the text box are reflected in the CurrentCell of the grid, and any changes to the CurrentCell are reflected in the text box. Initializes a new instance for class. Default size of the control This event fired when textBox text changed. The source control The that contains event data. Search if textBox text is formula or not. set pop up container properties. Determines if values in the property were modified. True if enableTouchMode is modified; False otherwise. Reset the enable touch mode property. Applies the scaling for the control. float value. Used to change the behavior of the font The that contains event data. Used to change the size. The that contains event data. Use to bind this text box to the CurrentCell of a GridControlBase. The GridControlBase whose CurrentCell is being bound. Removes the binding between this text box and the CurrentCell of the grid. The GridControlBase whose CurrentCell is being bound. Handles the event of the . The source of the event. The event data. The GridCurrentCellActivated is called when the user enters into the grid cell. The default behavior is to set the text in the GridAwareTextBox to the current text that is stored in the cell's GridStyleInfo object. Override this method to modify this behavior or to add additional actions when the user enters the grid cell. Handles the event of the . The source of the event. The event data. The GridCurrentCellChanged is called when the user modifies the text in the grid cell. The default behavior is to set the text in the GridAwareTextBox to the ControlText from the CurrentCell renderer. Override this method to modify this behavior or to add additional actions when the user types the text within the grid cell. Handles the event of the . The source of the event. The event data. The GridCurrentCellRejectedChanges is called when the user presses the escape while editing a cell in the grid. The default behavior is to reset the text in the GridAwareTextBox to the current text that is stored in the cell's GridStyleInfo object. Override this method to modify this behavior or to add additional actions when the user presses escape while editing within the grid cell. Sets the Text property of the GridAwareTextBox without raising a TextChanged event. The text to be set. Returns the CurrentCell of the wired grid. The CurrentCell. This event fired when TextBox text changed. The that contains event data. Overridden to make the grid process the Enter key. The that contains event data. Raises the System.Windows.Forms.Control.KeyUp event. The that contains event data. Raises the System.Windows.Forms.Control.MouseUp event. The that contains event data. Overridden to unwire the grid. true to release both managed and unmanaged resources; false to release only unmanaged resources. Gets or sets a value indicating whether to enable / disable AutoSuggestFormula in GridAwareTextBox Gets or sets the TouchMode for the control. Gets or sets color of the text box background when the grid cell is not editable for some reason. This color is used for the text box back color when the current grid cell is not editable, or if there is no current grid cell. You can set it to SystemColors.Control to see a a standard gray disabled background. Gets or sets color of the background of the text box when the current grid cell is editable. Hides the base.BackColor. Gets or sets a value indicating whether to cause validation. Force a false setting. Force an empty initial string. This GridCellModel supports entering formulas in a grid cell. This support is provided through the member of this class. Engine is a . The default behavior is that any cell whose CellType is GridFormulaCellModel will be interpreted as a formula cell provided the text in the cell starts with '='. So, for such cells you would enter formulas such as =A1+A2+A3 or =Sum(A1:A3), an an attempt would be made to parse and compute the entry. Alternatively, you can use the character to specify which cells of CellType GridFormulaCellModel are to be used as formulas. You set this formulaChar private property through the class constructor which passes this parameter. If you set this value to '\0', every cell of CellType GridFormulaCellModel will be treated as a formula. The method redraws all the formula cells that depend upon a particular cell. This method is called when the user changes a value that affects other formula cells. The method is where the actual calculations are done, if necessary, through calls to the Engine methods. This method also conditionally parses the formula only if it has been modified since the previous parse. Set this field to a particular character such as '=' to conditionally flag a cell whose CellType is GridFormulaCellModel as holding a formula. If you do not set this field, then all cells of CellType GridFormulaCellModel that begin with '=' will be treated as a formula. You set this private field as the call constructor. If you set this value to '\0', every cell of CellType GridFormulaCellModel will be treated as a formula. Initializes a new GridFormulaCellModel object. Use this constructor to force all cells of CellType GridFormulaCellModel whose text begin with '=' to be regarded as holding formulas. The GridModel using this GridFormulaCellModel. Only cells whose contents begin with formulaChar will be treated as a formula. Other cells of CellType GridFormulaCellModel will be treated as GridTextBoxCellModel. The character formulaChar is ignored for parsing and computing purposes. The GridModel using this GridFormulaCellModel. Any GridFormulaCellModel beginning with this character will be treated as a formula. If you set this value to '\0', every cell of CellType GridFormulaCellModel will be treated as a formula. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Constructor for use with an existing GridFormulaEngine. The GridModel using this GridFormulaCellModel. An existing GridFormulaEngine. Any GridFormulaCellModel beginning with this character will be treated as a formula. If you set this value to '\0', every cell of CellType GridFormulaCellModel will be treated as a formula. Use this constructor if you want to use derived GridFormulaCellModel and GridFormulaCellRenderer classes that share a single GridFormulaEngine. Called from GridModel implementation of IDeserializationCallback.OnDeserialization. The source of the event. The that was deserialized. Implements the ISerializable interface and returns the data needed to serialize the cell model. A SerializationInfo object containing the information required to serialize the cell model. A StreamingContext object containing the source and destination of the serialized stream. This method forces any formula cell dependent upon the passed-in cell in the row and column to be recomputed. This method is called by the model whenever the contents of the passed-in cell is changed. For example, the user changing a single non-formula cell may require the recomputing of several additional formula cells. This method triggers the redrawing of these dependent cells. Row index of the cell that was modified by the user. Column index of the cell that was modified by the user. Recalculates every cell that depends upon any cell in the passed-in range. Calls the Engine.RefreshRange. GridRangeInfo object to be refreshed. Recalculates any formula cells in the specified range. The implementation is delegated to Engine.RecalculateRange. GridRangeInfo object that specifies the cells to be recalculated. Recalculates any formula cells in the specified range. The implementation is delegated to Engine.RecalculateRange. GridRangeInfo object that specifies the cells to be recalculated. Determines whether the calculation is performed immediately or delayed until the next time the cell is drawn. Specifies if the clipboard buffer came from cut operation or not. Used to copy formulas / values according to GridFormulaCopyFlags. The source control The taht contains event data. Handles reference updating during a Drag and drop. The source control The that contains event data. Adjusts reference during a Drag and Drop. The grid. The row index The column index. The row offset value. The column offset value. This event fired when grid columns are inserted. The source control. The taht contains event data. This event fired when grid columns are removed. The source control. The taht contains event data. This event fired when grid rows are inserted. The source control. The taht contains event data. This event fired when grid rows are removed. The source control. The taht contains event data. Used to end editing on CurrentCell and update pasted cells after paste. The source control. The taht contains event data. Used to paste the cliboard values to the grid. The source control. The taht contains event data. Used to redraw cells changed in SaveCellInfo.. The source control. The taht contains event data. Triggers the parsing and computing of formulas. Overridden to trigger the parsing and computing of formulas. The computed value is returned for non-editing cells. The raw formula text is returned when the cell is actively being edited. The object that holds cell information. The value to format. textInfo is a hint who is calling, default is GridCellBaseTextInfo.DisplayText. Either the computed value or the raw formula text. parameter references updated as per the grid formula tag and grid style info. The style info id. The Support class that encapsulates the parsed formula and computed value for a cell. The Holds all information stored for the cell. Check to see if parameter references need to be updated. The style info id. The Support class that encapsulates the parsed formula and computed value for a cell. Returns true if the id and tag row, col value changed , otherwise return true Overridden to return a GridFormulaCellRenderer class. The grid control. returns a GridFormulaCellRenderer object. Gets encapsulates all formula features. Use this object to add / remove library functions. Gets or sets a value indicating whether formulas are immediately calculated as dependent cells are changed. Use this property to suspend calculations while a series of changes are made to dependent cells either by the user or programmatically. When the changes are complete, set this property to false, and then call RecalculateRange to recalculate the affected range. The implementation delegates this property to the Engine.CalculatingSuspended property. Use this code to suspend, and then later resume, calculations. //suspend calculations... GridFormulaCellModel formulaModel = this.gridControl1.CellModels["FormulaCell"] as GridFormulaCellModel; formulaModel.CalculatingSuspended = true; .... //make changes, say to, cells in the GridRangeInfo.Cells(1,1,10,20). .... //later resume calculations and refresh any cells that depend on GridRangeInfo.Cells(1,1,10,20) GridFormulaCellModel formulaModel = this.gridControl1.CellModels["FormulaCell"] as GridFormulaCellModel; formulaModel.CalculatingSuspended = false; formulaModel.RefreshRange(GridRangeInfo.Cells(1,1,10,20)); 'suspend calculations... Dim formulaModel As GridFormulaCellModel = Me.gridControl1.CellModel("FormulaCell") formulaModel.CalculatingSuspended = True .... 'make changes, say to, cells in the GridRangeInfo.Cells(1,1,10,20). .... 'later resume calculations and refresh any cells that depend on GridRangeInfo.Cells(1,1,10,20) Dim formulaModel As GridFormulaCellModel = Me.gridControl1.CellModel("FormulaCell") formulaModel.CalculatingSuspended = False formulaModel.RefreshRange(GridRangeInfo.Cells(1, 1, 10, 2)) Implements a GridCellRender that supports formulas. See for a discussion about formula engine and customization. The following table lists some characteristics about the FormulaCell cell type: Item Description CellType FormulaCell Renderer Model XP Themes Support NA Interactive Edit with Text and Formula Input Control Floating Support Both Base Type The cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () Gets / sets if pressing the <Enter>-Key should insert a new line into the edited text. (Default: False) () Gets / sets if the cell height should automatically increase when the edited text does not fit into the cell and is True. If is False, will affect the column width. (Default: False) () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () FormulaCell (Default: Text Box) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () The culture information holds rules for parsing and formatting the cell's value. (Default: null) () Specifies if the cell can be activated as current cell or if the cell should be skipped when moving the current cell. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () Gets / sets if text can float into the boundaries of a neighboring cell. (Default: True) () Gets / sets if this cell can be flooded by a previous cell. (Default: True) () The font for drawing text. (Default: GridFontInfo.Default) () Gets / sets the format mask for formatting the cell value. You can specify numeric format strings, date format strings or enumeration format strings as discussed in the section "Format Specifiers and Format Providers" of the .NET Framework Developers Guide (see ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconformatspecifiersformatproviders.htm) (Default: String.Empty) () A formula tag that is associated with a cell. (Default: NULL) () Specifies horizontal alignment of text in the cell. (Default: GridHorizontalAlignment.Left) () Specifies how hot-key prefixes should be displayed. Hot-keys are indicated in text with an '&' (ampersand). When you enable a hot-key prefix, the specific characters can be displayed underlined or regular. The '&' will not be displayed. (Default: HotkeyPrefix.Show) () Specifies an index for an image in the of a instance. (Default: -1) () The that holds a collection of images. Cells can choose images with the property in a instance. (Default: NULL) () Lets you specify a solid backcolor, gradient, or pattern style with both back and forecolor for a cell's background. (Default: SystemColors.Window) () Limits the number of characters the user can type into the cell. Note: When selecting a text from a choice list or when pasting text, the text can be longer. Additional validation is necessary on your side. (Default: 0) () Specifies merge behavior for an individual cell when merging cells feature has been enabled in a with . (Default: GridMergeCellDirection.None) () Specifies if cell contents can be modified by the user. You can programmatically change Read-only cells by setting to True. (Default: False) () Gets / sets the value as a string. If a is specified, the text will be parsed and converted to the type specified with using any information. (Default: String.Empty) () Lets you specify the color for drawing the cell text. (Default: SystemColors.WindowText) () Holds text margins in pixels. When drawing a cell, this specifies the empty area between the text rectangle and the client rectangle of the cell without borders and cell buttons. (Default: GridMarginsInfo.Default) () Indicates how text is trimmed when it exceeds the edges of the cell text rectangle. (Default: StringTrimming.Character) () Holds validation rules for cell values that are being checked before any user changes are committed to the grid cell's style object. (Default: NULL) () Specifies vertical alignment of text in the cell. (Default: GridVerticalAlignment.Top) () Specifies if text box should show a vertical scrollbar when text is being edited and does not fit in cell. WrapText must be initialized to True. (Default: False) () Specifies if text should be wrapped when it does not fit into a single line. (Default: True) Initializes a new object for the given GridControlBase and GridCellModelBase. The that displays this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase, and GridCellModelBase will be saved. This is called after the activating event and notifies that at this time the current cell has now become the active current cell. Initializes based on the specified cell value. The Control text value. Called when user initiates ClipboardCopy operation. Used for a single cell only. Returns True if successful; False if failed. returns False. Called when user initiates ClipboardPaste operation. True if successful; False if failed. returns False. This method is called from GridCurrentCell.Validate after GridCurrentCell.Validating event has been fired. The default version checks if the active text fits any criteria as specified in the style object: It can be parsed into a cell value and meets GridCellValidateValueInfo criteria. True if the modified text is valid; False otherwise. Get the text of particular cell style of the cell GridFindTextOptions Text Searches the specified text and optionally moves the current cell to the cell if the text was found. The text to be searched. The replace text. The row index. The column index. Search criteria. True if current cell should be moved after text was found. True if text was found; False otherwise. Gets or sets a value indicating whether GridFormulaCellRenderer should honor the and only start editing mode as specified in that setting or if it should ignore that setting and always switch into edit mode as soon as it is activated. Encapsulates the code required to parse and compute formulas. Hashtable properties maintain a Formula Library of functions as well as a list of dependent cells. You can add and remove library functions. Used to get the machine position Used to get the maximum real number value Used to get the minimum real number value Get the account value Get the big number Get the big value The character that indicates a formula. If this character is not 0, the text of a cell must begin with this character if the cell contains a formula. Common usage would be to use '=' as the character to begin a formula in a cell. This value is normally set through the cell model constructor. Returns the GridSheetFamilyItem for the specified model. If there was no item registered for the model, a new item is created and cached. The grid model. The GridSheetFamilyItem for the specified model. Checks whether it having circular reference or not. The cell value Returns true if it having circular reference, other wise false. Checks whether hash table or children contains the cell value. The The cell value. Recalculates formula based on the hidden range. GridRangeInfo object that specifies the cells to be recalculated. Column adjutancy range for the formula cell. Recalculates formula based on the hidden range. Row adjutancy range for the formula cell. GridRangeInfo object that specifies the cells to be recalculated. Adjust references for inserting or removing rows or columns. The grid model. Checks is columns. Checks if cell is inserted. Start id End id checks the cell is need to delete or not. Unparsed formula string derived from origText by adjusting the row and column references. Update formulas in cell. The formula cell reference. The keeps the cleared cells Helper method for adjusting formulas. Valid unparsed formula string. Row offset adjusmtent to be made to the origText. Column offset adjustment to be made to the origText Unparsed formula string derived from origText by adjusting the row and column references. For example, calling AdjustReferences("=A4+C4", 2, 1) returns the string "=B6+D6". This is a helper method that is used to adjust formula references for inserted and deleted rows and columns. Normally, you would not need this method unless you are managing formulas outside the GridControl as in a virtual GridControl or a GridDataBoundGrid. This AdjustReferences implementation does not support updating references with sheet names within the formulas. Helper method for adjusting formulas. Valid unparsed formula string. Row offset adjusmtent to be made to the origText. Column offset adjustment to be made to the origText The name of the sheet where the copy took place. The name of the sheet where the cell holding origText is located. Unparsed formula string derived from origText by adjusting the row and column references. This AdjustReferences implementation does support updating references with sheet names within the formulas. Helper method for adjusting formulas. Valid unparsed formula string. Row offset adjustment to be made to the origText. Column offset adjustment to be made to the origText The row count The column count Unparsed formula string derived from origText by adjusting the row and column references. For example, calling AdjustReferences("=A4+C4", 2, 1) returns the string "=B6+D6". This is a helper method that is used to adjust formula references for inserted and deleted rows and columns. Normally, you would not need this method unless you are managing formulas outside the GridControl as in a virtual GridControl or a GridDataBoundGrid. This AdjustReferences implementation does not support updating references with sheet names within the formulas. Specifies if the clipboard buffer came from cut operation or not. Determine whether need to adjust or not. The sheet name. The required name. The current sheet name. Returns true if sheet name is empty of current sheet name and required sheet name is same. Helper method for adjusting formulas. Valid unparsed formula string. Row offset adjustment to be made to the origText. Column offset adjustment to be made to the origText The row count The column count The required name. The current sheet name. Unparsed formula string derived from origText by adjusting the row and column references. Helper method for adjusting formulas. Valid unparsed formula string. Row offset adjustment to be made to the origText. Column offset adjustment to be made to the origText The row count The column count The required name. The current sheet name. Boolean value. If true, the reference is deleted or not. Unparsed formula string derived from origText by adjusting the row and column references. Displays information on the cell currently being calculated. String with information on the cell currently being calculated. Removes a sheet from a sheet family. The name of the sheet to be removed. The GridModel associated with this sheet. This method only updates the GridFormulaEngine structure with respect to removing a sheet from a family of sheets that has been created using . This procedure first renames the sheet to be deleted as #REF using . This has the effect of replacing any formula on another sheet that references this deleted sheet with a #REF to indicate that formula has a reference problem. It will then call with the new name #REF to remove the renamed sheet. This method does not remove the grid from your UI structures. For example, if you have several grids in a TabControl, calling RemoveGridSheet does not remove the grid from any tabpage. Used by the method to decide what characters can precede a SheetName in a formula. The default value is "+-/*<>=(,:". Changes a sheet name that was previously registered using . This method iterates through all the cells in all the sheets in the sheet family, swapping all occurrences of the oldName in any formula with the newName. The old sheet name. The new sheet name. True if the sheet was successfully renamed. If false returns, check whether the sheet family already contains the new name. returns boolean value Changes a sheet name that was previously registered using . This method iterates through all the cells in all the sheets in the sheet family, swapping all occurrences of the oldName in any formula with the newName. The old sheet name. The new sheet name. The bool value used to determine whether need to set reference or not. True if the sheet was successfully renamed. If false returns, check whether the sheet family already contains the new name. returns Boolean value Registers a grid so it can be referenced in a formula from another grid. The reference name used to refer to this grid from formulas in other grids. The GridModel from the grid being registered. /// An integer previously created with a call to GridFormulaEngine.CreateSheetFamilyID. This number is used to identify the grids as belonging to a particular family of grids. You can only reference grids from within the same family. Essential Grid supports multisheet references with its formulas. For example, if you have two tabpages with a GridControl on each, you can reference cells from the first in the second grid. For this to work, both grids need to be registered using this method. The syntax for using a sheet reference as part of a formula is to prefix a cell reference with the sheet reference name followed by an exclamation point. The formula "= sheet1!A1 + sheet2!C3" would add the value of cell A1 for the grid whose reference name is sheet1 to the value from cell C3 in the grid whose reference name is sheet2. Use this code to use cross sheet references. //Register 3 grids so cell can be referenced across grids. int sheetfamilyID = GridFormulaEngine.CreateSheetFamilyID(); GridFormulaEngine.RegisterGridAsSheet("summary", this.gridControl1.Model, sheetfamilyID); GridFormulaEngine.RegisterGridAsSheet("income", this.gridControl2.Model, sheetfamilyID); GridFormulaEngine.RegisterGridAsSheet("expenses", this.gridControl3.Model, sheetfamilyID); .... //Sample formula usage for cells in gridControl1, the 'summary' grid. //This code sums up some cells from gridControl3, the 'expenses' grid, //and gridControl2, the 'income' grid. //Sum the range B2:B8 from the expenses grid. this.gridControl1[3,4].Text = "= Sum(expenses!B2:expenses!B8)"; //Sum the range B2:B4 from the income grid. this.gridControl1[4,4].Text = "= Sum(income!B2:income!B4)"; 'Register 3 grids so cells can be referenced across grids. Dim sheetfamilyID As Integer = GridFormulaEngine.CreateSheetFamilyID(); GridFormulaEngine.RegisterGridAsSheet("summary", Me.gridControl1.Model, sheetfamilyID) GridFormulaEngine.RegisterGridAsSheet("income", Me.gridControl2.Model, sheetfamilyID) GridFormulaEngine.RegisterGridAsSheet("expenses", Me.gridControl3.Model, sheetfamilyID) .... 'Sample formula usage for cells in gridControl1, the 'summary' grid. 'This code sums ups some cells from gridControl3, the 'expenses' grid, 'and gridControl2, the 'income' grid. 'Sum the range B2:B8 from the expenses grid. Me.gridControl1(3,4).Text = "= Sum(expenses!B2:expenses!B8)" 'Sum the range B2:B4 from the income grid. Me.gridControl1(4,4).Text = "= Sum(income!B2:income!B4)" Returns an integer that is used to identify a family of grids. return integer Essential Grid supports multisheet references within a family of grids. To use this functionality, you employ the method to get a unique identifier for the family. Then in the RegisterGridAsSheet method that you call to add grids to this family, you pass this unique identifier to mark the grids as belonging to this family. You can only cross reference grids within the same family. This event fired when grid cells where changed. The source control. The that contains event data. Unregisters a grid so it can no longer be referenced in a formula from another grid. The reference name used to refer to this grid from formulas in other grids. The grid model. creates token for sheets. The reference text. The Token. creates token for sheets. The reference text. Initialize the new instance for class. The GridModel from the underlying grid. Recalculates any cell that depends upon the passed in cell. A cell such as A21 or EE31. Recalculates every cell that depends upon any cell in the passed-in range. For example, if range is GridRangeInfo(1,1,2,2), and cells (5,6) and (12,17) hold formulas that reference the cells in the range, then cells (5,6) and (12,17) will be re-computed as the result of this call. GridRangeInfo object to be refreshed. Recalculates any formula cells in the specified range. The calculations for non-visible formula cells are performed the next time cell are actually displayed. If you want the calculation performed immediately on cells (visible or not), call the two argument overload of RecalculateRange, passing the forceCalculations argument as True. GridRangeInfo object that specifies the cells to be recalculated. Recalculates any formula cells in the specified range. GridRangeInfo object that specifies the cells to be recalculated. Determines whether the calculations on non-visible cells are performed immediately or delayed until the next time the cell is drawn. For visible cells, the calculations are done immediately. Recalculates any formula cells in the specified range. GridRangeInfo object that specifies the cells to be recalculated. Determines whether the calculations on non-visible cells are performed immediately or delayed until the next time the cell is drawn. For visible cells, the calculations are done immediately. When forceParsing is False, a formula is only re-parsed if FormulaTag is NULL, or FormulaTag.Formula is empty. Otherwise, the existing parsed formula in FormulaTag.Formula is used to perform the calculation. The value of forceParsing only affects the Engine if forceCalculations is True. This method does not do anything if is true. Recalculates any formula cells in the specified range. GridRangInfo object that specifies the cells to be recalculated. The GridModel object where the range to be updated is located. Determines whether the calculations on non-visible cells are performed immediately or delayed until the next time the cell is drawn. For visible cells, the calculations are done immediately. When forceParsing is False, a formula is only re-parsed if FormulaTag is NULL, or FormulaTag.Formula is empty. Otherwise, the existing parsed formula in FormulaTag.Formula is used to perform the calculation. The value of forceParsing only affects the Engine if forceCalculations is True. This method does not do anything if is True. Recalculates any formula cells in the specified range. GridRangInfo object that specifies the cells to be recalculated. The GridModel object where the range to be updated is located. Determines whether the calculations on non-visible cells are performed immediately or delayed until the next time the cell is drawn. For visible cells, the calculations are done immediately. When forceParsing is False, a formula is only re-parsed if FormulaTag is NULL, or FormulaTag.Formula is empty. Otherwise, the existing parsed formula in FormulaTag.Formula is used to perform the calculation. The value of forceParsing only affects the Engine if forceCalculations is True. determine need to perform in begin update. This method does not do anything if is True. updates the value to perform calcuation for range of cells in RecalculateRange function grid model The that contains event data. String array that holds the strings used in error messages within the Formula Engine. If you want to change the error messages displayed within the Formula Engine, you can set the new strings into the appropriate position in the FormulaErrorStrings array. You should assign your new strings to the corresponding positions. Here is the code that shows position of each string in FormulaErrorStrings: public string[] FormulaErrorStrings = new string[] { "binary operators cannot start an expression", //0 "cannot parse", //1 "bad library", //2 "invalid char in front of", //3 "number contains 2 decimal points", //4 "expression cannot end with an operator", //5 "invalid characters following an operator", //6 "invalid character in number", //7 "mismatched parentheses", //8 "unknown formula name", //9 "requires a single argument", //10 "requires 3 arguments", //11 "invalid Math argument", //12 "requires 2 arguments", //13 "bad index", //14 "too complex", //15 "circular reference: ", //16 "missing formula", //17 "improper formula", //18 "invalid expression", //19 "cell empty" //20 "bad formula", //21 "empty expression", //22 "Virtual Mode required - set UsesVirtualDataSource", //23 "mismatched string quotes", //24 "wrong number of arguments", //25 "invalid arguments", //26 "iterations do not converge", //27 "Control named '{0}' is already registered", //28 "Calculation overflow", //29 "missing operand" //30 "unknown sheet" //30 }; Saves the string value. The reference text. returns the modified string. set strings by replacing "#N/A" , "#N" errors. The reference string The error strings collections. Initialize new instance for class. Character recognized by the parsing engine as decimal separator for numbers. Character recognized by the parsing code as the delimiter for arguments in a named formula's argument list. Checks if given string holds a valid formula. String to be tested. Tokenized string holding holding valid parsed formula. Error message from the grid if string is invalid. Computed value from parsed formula. True if string holds a valid formula, false otherwise. Checks if the given string holds a valid formula. String to be tested. True if string holds a valid formula, false otherwise. Get the first row Index of Cell Range Cell Range to find index get the top row index Get the cell Range for table NameRange Formula or NamedRange cell range string determine the unparsedkey value determine thee parsed key value Parses a formula string into a tokenized string. The string to be parsed. The parsed string. This method accepts a string that holds a formula, like =Sum(A1:B5), and translates this string into a tokenized expression that can be computed using the ComputedValue method. Before calling the method, you should set FormulaContextCell to properly reflect which cell owns this formula. The return value, which is the tokenized string, is referred to as a parsed formula string. This example shows how to parse the given formula text. GridFormulaEngine calculateEngine = new GridFormulaEngine(this.gridControl1.Model); // Parses the given string. string parsedFormula = calculateEngine.Parse("=(29-7)+56"); Console.WriteLine("The parsed formula string is " + parsedFormula); Dim calculateEngine As New GridFormulaEngine(Me.gridControl1.Model) ' Parses the given string. Dim parsedFormula As String = calculateEngine.Parse("=(29-7)+56") Determine the sheet tokens whether its valid or not. The text. Returns false when TokenToGridModel contains text. otherwise returns true. Parse the given text by replacing error strings. The parsed text. Returns parsed string. Used to find BMARKER position. The substring position The text . The Boolean value. Used to handle expression single e's. The text. Returns the modified string. Find the next table formula or table Range end index i.e last index of '[' formula to find index location of start index to search the char '[' locatio of end index Used to find the non BMARKER text. The text. return the BMARKER position. Parse the simple text. The text. The array of markers The array of operators Referenced bool to determine whether need to continue or not. Finds the last BMARKER position. The text. Returns the Last BMARKER position. Replaces namedranges with their values. Accepts a string such as Sin(SumRange), and tokenizes it into bqSIN[A1A4a]b which serves as input to ComputedValue. argList containing named ranges. Tokenizes all library references. Accepts a string such as Sin(A1+A2), and tokenizes it into bqSIN[A1A2a]b which serves as input to ComputedValue. Formula to be tokenized. Swap the inner parenthesis. The reference string. Adding parenthesis to arguments. The reference string. Updates all cells that depend upon the given named range. The named range whose cells should be updated. Removes entries in the DependentNamedRangeCells collection for the given named range. The named range. Adds a cell to the DependentNamedRangeCells list. The named range. The cell (such as C11 or AJ232). Orders a namedrange collection according to string length. The GridFormulaEngine needs an ordered list of named ranges to be able to properly parse named ranges. If you manually add named ranges to namedranges, then you should call this method afterwards. Adds a named range to the namedranges collection. The name of the range to be added. The range to be added. True if successfully added, False otherwise. The range should be a string such as A4:C8. Removes a range from the namedranges collection. The name of the range to be removed. True is successfully remove, False otherwise. This example shows how to remove the NamedRange with the specified key from the NamedRangeCollection. // Removes the named range from the collection. GridFormulaEngine calculateEngine = new GridFormulaEngine(this.gridControl1.Model); calculateEngine.RemoveNamedRange("A"); ' Removes the named range from the collection. Dim calculateEngine As New GridFormulaEngine(Me.gridControl1.Model) calculateEngine.RemoveNamedRange("A") A method that checks the possible cases for error string(invalid arguments for formula). The arguments of formula. The formula's argument type. Returns the Error string if formula has invalid arguments Adds a function to the Function Library. The name of the function to be added. The function to be added. True if successfully removed, False otherwise. LibraryFunction is a delegate the defines the signature of functions that you can add to the Function Library. public delegate string LibraryFunction(string args); This example shows how to add a function to the library. GridFormulaCellModel myModel = this.gridControl1.CellModels["FormulaCell"] as GridFormulaCellModel; GridFormulaEngine calculateEngine = new GridFormulaEngine(this.gridControl1.Model); // Add the custom-function to the library functions. myModel.Engine.AddFunction("GetMaxNum", new GridFormulaEngine.LibraryFunction(myMaxNum)); // Custom function to be added to the library. public string myMaxNum(string Args) { GridFormulaCellModel myModel = this.gridControl1.CellModels["FormulaCell"] as GridFormulaCellModel; GridFormulaEngine engine = myModel.Engine; // Perform the required operations. int a, b, c; string[] coll = Args.Split(new char[] { ',' }); a = Convert.ToInt32(coll[0]); b = Convert.ToInt32(coll[1]); c = Convert.ToInt32(coll[2]); int big = (a > b ? a : b); int bigger = (big > c ? big : c); // Make sure to define the custom function with string return type. return bigger.ToString(); } Dim myModel As GridFormulaCellModel = TryCast(Me.gridControl1.CellModels("FormulaCell"), GridFormulaCellModel) Dim calculateEngine As New GridFormulaEngine(Me.gridControl1.Model) ' Add the custom-function to the library functions. myModel.Engine.AddFunction("GetMaxNum", New GridFormulaEngine.LibraryFunction(myMaxNum)) ' Custom function to be added to the library. Public Function myMaxNum(ByVal Args As String) As String Dim myModel As GridFormulaCellModel = TryCast(Me.gridControl1.CellModels("FormulaCell"), GridFormulaCellModel) Dim engine As GridFormulaEngine = myModel.Engine ' Perform the required operations. Dim a, b, c As Integer Dim coll() As String = Args.Split(New Char() { ","c }) a = Convert.ToInt32(coll(0)) b = Convert.ToInt32(coll(1)) c = Convert.ToInt32(coll(2)) Dim big As Integer = (If(a > b, a, b)) Dim bigger As Integer = (If(big > c, big, c)) ' Make sure to define the custom function with string return type. Return bigger.ToString() End Function Removes a function from the Function Library. The name of the function to be removed. True if successfully removed, False otherwise. This example shows how to remove the function from the library. // Removes the function from the library. GridFormulaEngine calculateEngine = new GridFormulaEngine(this.gridControl1.Model); calculateEngine.RemoveFunction("Sum"); ' Removes the function from the library. Dim calculateEngine As New GridFormulaEngine(Me.gridControl1.Model) calculateEngine.RemoveFunction("Sum") Update the Dependent cells. The cell range. Maintains a list of cells that a formula cell is dependent upon. String contains cell reference. Returns the simple average of all values listed in the argument. A string holding a list (separated by commas) of: cell references, formulas, or numbers. A string holding the simple average of all values listed in the argument. Returns the inclusive OR of all values treated as logical values listed in the argument. A string holding a list (separated by commas) of: cell references, formulas, or numbers. Each item in the list is considered True if it is nonzero, and False if it is zero. A string holding the OR of all values listed in the argument. Returns the AND of all values treated as logical values listed in the argument. A string holding a list (separated by commas) of: cell references, formulas, or numbers. Each item in the list is considered True if it is nonzero, and False if it is zero. A string holding the AND of all values listed in the argument. Flips the logical value represented by the argument. The argument is treated as a logical expression with a non-zero value considered True and a zero value considered False. A string holding either a single argument consisting of a cell reference, a formula, or a number. Returns 0 if the argument evaluates to a non-zero value. Otherwise, it returns 1. Conditionally computes one of two alternatives depending upon a logical expression. The first argument is treated as a logical expression with a non-zero value considered True and a zero value considered False. The value of only one of the alternatives is computed depending upon the logical expression. A string holding a list of three arguments. Returns a string holding the second argument if the first argument is True (non-zero). Otherwise, it returns a string holding the third argument. Returns the sum of all values listed in the argument. A string holding a list (separated by commas) of: cell references, formulas, or numbers. A string holding the sum of all values listed in the argument. Returns the maximum value of all values listed in the argument. A string holding a list (separated by commas) of: cell references, formulas, or numbers. A string holding the maximum value of all values listed in the argument. Returns the minimum value of all values listed in the argument. A string holding a list (separated by commas) of: cell references, formulas, or numbers. A string holding the minimum value of all values listed in the argument. Returns the number pi. Ignored. Can be empty. A string holding the number pi. Returns a number indicating the sign of the argument. A cell reference, formula, or number. A string holding a number representing the sign of the argument. Returns a specified number raised to the specified power. String containing two parameters separated by commas: the first being base number, the second being the exponent. A string holding the value of the base number raised to the exponent. Returns a specified Math function result. String containing two parameters separated by commas: the first being base number, the second being the exponent. The default math function need to calculate. A string result of ComouteMath function. Computes angle whose cosine is the argument. A cell reference, formula, or number. A string holding angle whose cosine is the argument. Computes angle whose sine is the argument. A cell reference, formula, or number. A string holding angle whose sine is the argument. Computes angle whose tangent is the argument. A cell reference, formula, or number. A string holding the tangent of the argument. Computes the cosine of the argument. A cell reference, formula, or number. A string holding the cosine of the argument. Computes the sine of the argument. A cell reference, formula, or number. A string holding the sine of the argument. Computes the hyperbolic cosine of the argument. A cell reference, formula, or number. A string holding the hyperbolic cosine of the argument. Computes the hyperbolic sine of the argument. A cell reference, formula, or number. A string holding the hyperbolic sine of the argument. Computes the hyperbolic tangent of the argument. A cell reference, formula, or number. A string holding the hyperbolic tangent of the argument. Computes the smallest whole number greater than or equal to the argument. A cell reference, formula, or number. A string holding the smallest whole number greater than or equal to the argument. Computes the largest whole number less than or equal to the argument. A cell reference, formula, or number. A string holding the largest whole number less than or equal to the argument. Computes the natural logarithm of the value in the argument. A cell reference, formula, or number. A string holding natural logarithm of the value in the argument. Computes the logarithm of the first value using the second value as the base. A cell reference, formula, or number. A string holding logarithm of the value in the argument using the second argument as the base. Computes the base 10 logarithm of the value in the argument. A cell reference, formula, or number. A string holding base 10 logarithm of the value in the argument. Computes e raised to the value of the argument. A cell reference, formula, or number. A string holding the e raised to the value of the argument. Computes the square root of the argument. A cell reference, formula, or number. A string holding the square root of the argument. Computes the absolute value of the argument. A cell reference, formula, or number. A string holding the absolute value of the argument. Computes the tangent the argument. A cell reference, formula, or number. A string holding the tangent of the argument. Returns an evenly distributed random number greater than or equal zero and less than one. Ignored. Can be empty. A string holding the random number. Computes the sum of range2 if the item in the range1 satisfies the condition. Range1, condition, range2. The conditional sum. Computes the declining balance of an asset. Delimited string containing the initial cost, salvage value, life of asset, period of calculation, and months in initial year. returns declining balance of an asset. Computes the double declining balance of an asset. Delimited string containing the initial cost, salvage value, life of asset, period of calculation, factor. returns double declining balance of an asset Computes the future value of an investment. Delimited string containing the rate as percentage per period, number of periods, payment per period, present value, and payment type (0 = end of period, 1 = start of period). returns future value of an investment Computes the interest payment for a period. Delimited string containing the rate as percentage per period, the period, number of periods, present value, future value, and payment type (0 = end of period, 1 = start of period). Interest payment. Computes the internal rate of return of a series of cash flows. Delimited string containing a range of cells and an initial guess. Internal rate of return. This IRR calculation uses Newton's method to approximate a root of f(r) = Sum( values[i]/(1+r)^i) = 0 where the Sum index is i = 1 to the number of values. The algorithm returns a value if the relative difference between root approximations is less than 1e-5. It fails if this accuracy is not attained in 20 iterations. Converts the dateTime into an serial number. Delimited string containing a DateTime. The serial number of date time. returns the true if date time converted, otherwise returns false. Computes the internal rate of return of a series of cash flows. values, dates, guess. Values and dates are ranges of cells holding the values and dates. Guess is the initial guess. The first date is the the start date for the calculation. Internal rate of return. This XIRR calculation is similar to IRR except that the values are not equally spaced in time. The algorithm returns a value if the relative difference between root approximations is less than 1e-5. It fails if this accuracy is not attained in 20 iterations. Computes the simple interest payment. Delimited string containing the rate as percentage per period, the period, number of periods, and present value. Simple interest payment. Computes the modified internal rate of return of a series of cash flows. Delimited string containing a range of cells, finance interest rate, and a reinvest interest rate. Modified internal rate of return. Computes the number of periods in an investment. Delimited string containing the rate as percentage per period, payment per period, present value, future value, and payment type (0 = end of period, 1 = start of period). Number of periods. Computes the net present value of an investment. Delimited string containing the rate as percentage per period and a list of invested values. Net present value. Computes the payment for a loan. Delimited string containing the rate as percentage per period, number of periods, present value, future value, and payment type (0 = end of period, 1 = start of period). Payment amount. Computes the principal payment for a period. Delimited string containing the rate as percentage per period, the period, number of periods, present value, future value, and payment type (0 = end of period, 1 = start of period). Principal payment. Computes the present value of an investment. Delimited string containing the rate as percentage per period, number of periods, payment per period, future value, and payment type (0 = end of period, 1 = start of period). Present value. Computes the internal rate of return of a series of cash flows. Delimited string containing a range of cells and an initial guess. Internal rate of return. This IRR calculation uses Newton's method to approximate a root of f(r) = Sum( values[i]/(1+r)^i) = 0 where the Sum index is i = 1 to the number of values. The algorithm returns a value if the relative difference between root approximations is less than 1e-7. It fails if this accuracy is not attained in 20 iterations. Computes the straight-line depreciation of an asset per period. Delimited string containing the cost, salvage value, and life. returns Depreciation. Computes the sum of years digits depreciation of an asset per period. Delimited string containing the cost, salvage value, life, and period. Depreciation for the requested period. Computes the variable declining balance of an asset Delimited string containing the initial cost, salvage value, life of asset, period of calculation, factor. Variable declining balance. The inverse of Cosh. Value >= 1. returns ACosh(value). The inverse of Sinh. The Value. returns ASinh(value). The inverse of Tanh. |Value| < 1. returns ATanh(value). The ArcTangent of the x and y values. x_value and y_value. Angle whose tangent is y_value/x_value. The number of combinations of a given number of items. number, number_items. The number of combinations. Converts radians into degrees. Value in radians. returns Degrees. Rounds up to larger in magnitude even number. Number to be rounded. Rounded even value. Keeps the factorial values up to 12. Stores the all the alphabets in a single array. Factorial of a given number. The x args. returns x!. Rounds up to larger in magnitude odd number. Number to be rounded. Rounded odd value. Converts degrees into radians. Value in degrees. returns Radians. Rounds a number to a specified number of digits. Number and number of digits. Rounded number. Rounds a number to a specified number of digits. Number and number of digits. Rounded number. Rounds a number to a specified number of digits. Number and number of digits. Rounded number. Returns the sum of the square of all values listed in the argument. A string holding a list (separated by commas) of: cell references, formulas, or numbers. A string holding the sum of the squares of all values listed in the argument. Returns the sum of the differences of squares of the two ranges. x_range and y_range. A string holding sum of the differences of squares. Returns the sum of the sums of squares of the two ranges. x_range and y_range. A string holding sum of the sums of squares. Returns the sum of the squares of the differences between two ranges. x_range and y_range. A string holding sum of the squares of the differences. Specifies if 1900 should be treated as Leap Year (Excel Compatibility) Create and assign new dateTime variable. Returns the number of days since 01 Jan 1900. Year, month, and day. Number of days. Returns the serial day number for the given date. The year of the date. The month of the date. The day of the date. The serial day number. The serial day number is the number of days since January 1, 1900 with the serial day number of January 1, 1900 being counted as 1. The serial day number is how Excel stores dates. It is useful for including dates in calculations. Gets the date associated with a serial day number. The serial day number. The date value. The serial day number is the number of days since January 1, 1900 with the serial day number of January 1, 1900 being counted as 1. The serial day number is how Excel stores dates. It is useful for including dates in calculations. Returns the number of days since 01 Jan 1900. Text containing a date. Number of days. Returns the day of the serial number date. Serial number date. returns Day. Number of days between 2 dates using 360 day year. Serial number date1, serial number date1, and method. Days between the dates. Returns the hour of the given time. Given time. returns Hour. Returns the Minute of the given time. Given time. returns Minute. Returns the second of the given time. Given time. returns Second. Returns the month of the given date. Given time. returns Month. Returns the current date and time as a date serial number. value ignored. rCurrent date and time as serial number. Returns the current date as a date serial number. value ignored. Current date as date serial number. Returns a fraction of a day. Hour, minute, and second. Fraction of a day. Returns a fraction of a day. Time as a text string. Fraction of a day. Day of the week. Serial number date1 and return_type. Days between the dates. Returns the year of the given date. Given date. returns Month. Returns the average deviation of all values listed in the argument. A string holding a list (separated by commas) of: cell references, formulas, or numbers. A string holding the average deviation of all values listed in the argument. Returns the simple average of all values (including text) listed in the argument. A string holding a list (separated by commas) of: cell references, formulas, or numbers. A string holding the simple average of all values listed in the argument. Returns the natural logarithm of the gamma function. The value to be evaluated. Returns natural logarithm of gamma function. Returns the inverse of gamma distribution. Required. The probability associated with the gamma distribution. Required. A parameter to the distribution. Required. A parameter to the distribution. If beta = 1, GAMMA.INV returns the standard gamma distribution. Returns the inverse of the gamma cumulative distribution.. P, alpha and beta should be positive real numbers, with p between 0 and 1. Returns the gamma distribution. You can use this function to study variables that may have a skewed distribution. The gamma distribution is commonly used in queuing analysis. Required. A parameter to the distribution. Required. A parameter to the distribution. If beta = 1, GAMMA.INV returns the standard gamma distribution. Required. A logical value that determines the form of the function. If cumulative is TRUE, GAMMADIST returns the cumulative distribution function; if FALSE, it returns the probability density function. Returns the inverse of the gamma cumulative distribution.. P, alpha and beta should be positive real numbers, with p between 0 and 1. For a set of supplied parameters, the Excel Gamma.Dist function calculates the value of either the cumulative distribution or the probability density function for the Gamma Distribution. Required. A parameter to the distribution. Required. A parameter to the distribution. If beta = 1, GAMMA.INV returns the standard gamma distribution. Required. A logical value that determines the form of the function. If cumulative is TRUE, GAMMADIST returns the cumulative distribution function; if FALSE, it returns the probability density function. Returns the gamma distribution. You can use this function to study variables that may have a skewed distribution. Returns the gamma distribution. X, alpha, beta, cumulative. Returns gamma distribution. X, alpha and beta should be positive real numbers. Cumulative should be either True if you want to return the value of the distribution function, or False if you want to return the value of the density function. The distribution value is computed interactively using Trapezoidal Rule to six to seven significant digits or 20 iteration maximum. Returns the inverse of gamma distribution. P, alpha, beta Returns x such that gamma distribution at x is p. P, alpha and beta should be positive real numbers, with p between 0 and 1. Returns the geometric mean of all values listed in the argument. A string holding a list (separated by commas) of: cell references, formulas, or numbers. The geometric mean of all values listed in the argument. Returns the harmonic mean of all values listed in the argument. A string holding a list (separated by commas) of: cell references, formulas, or numbers. The harmonic mean all values listed in the argument. Returns the hypergeometric distribution. Number of sample successes, number of sample, number of population successes, number of population. Returns the gamma distribution. Returns the y-intercept of the least square fit line through the given points. y_range, x_range. returns y-intercept. Returns the binomial distribution. Number of successes, number of trials, probability, cumulative. Returns binomial distribution. Returns the individual term binomial distribution probability. Use BINOM.DIST in problems with a fixed number of tests or trials, when the outcomes of any trial are only success or failure, when trials are independent, and when the probability of success is constant throughout the experiment. Required. The number of independent trials. Required. The probability of success on each trial. Required. The number of successes in trials. Returns binomial distribution. Returns the chi-squared distribution. X degrees of freedom. Returns chi-squared distribution. stores the gauss x values in array. stores the gauss w values in array. uses gauss quad to estimate the integral Required. The value at which you want to evaluate the distribution. Required. The number of degrees of freedom. Returns the inverse of the chi-squared distribution. X degrees of freedom. Returns inverse of the chi-squared distribution. Returns the Chi Test for independence. Actual_range, expected_range. returns y-intercept. Computes the normal density. Required. The value for which you want the distribution. Returns the normal distribution. X, mean, standarddev, cumulative. Returns normal distribution. Cumulative should be either True if you want to return the value of the distribution function or False if you want to return the value of the density function. The distribution value is computed interactively using Trapezoidal Rule to six to seven significant digits or 20 iteration maximum. Returns the standard normal cumulative distribution function. The distribution has a mean of 0 (zero) and a standard deviation of one. Syntax: NORMSDIST(z) Z is the value for which you want the distribution. Returns string standard normal cumulative distribution function Returns the inverse of normal distribution. P, mean, standard deviation. Returns x such that normal distribution at x is p. P should be between 0 and 1. Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation. Required. A probability corresponding to the normal distribution. Required. The arithmetic mean of the distribution. Required. The standard deviation of the distribution. Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation. Returns the inverse of the standard normal cumulative distribution. The distribution has a mean of zero and a standard deviation of one. Syntax: NORMSINV(p) p is a probability corresponding to the normal distribution. Returns string for inverse of the standard normal cumulative distribution p should be between 0 and 1. Returns a confidence interval radius. Alpha, standard deviation, size. Returns x such that normal distribution at x is p. P should be between 0 and 1. Returns the correlation coefficient between the two sets of points. Range1, range2. Correlation coefficient. Returns the count of all values (including text) listed in the argument evaluate to a number. A string holding a list (separated by commas) of: cell references, formulas, or numbers. A string holding the count of all numerical values listed in the argument. Returns the count of all values (including text) listed in the argument. A string holding a list (separated by commas) of: cell references, formulas, or numbers. A string holding the count of all values listed in the argument. Returns the count of blank cells listed in the argument. A string holding a list (separated by commas) of: cell references, formulas, or numbers. A string holding the count of blank cells listed in the argument. Counts the cells specified by some criteria. The criteria range, the criteria. returns string to the cell count Counts the cells specified by some criteria. The criteria ranges and its criterias. returns string to the cell count Calculates the CountIF and CountIFS formula The criteria range, the criteria If true, calculate CountIF formula. Else calculate CountIFS formula. Number of cells meeting the criteria. Returns the covariance between the two sets of points. Range1, range2. returns Covariance. Returns the smallest value for which the cumulative binomial distribution is greater than or equal to a criterion value. Number of trials, probability, alpha. Returns the critcal value. Converts a number to text using currency format. Number and the number of digits. Currency format string. Converts a number to text using currency format. Number and the number of digits. Currency format string. Returns the weighted average of the present value of the cash flows Number and the number of digits Number of years Calculates the equivalent interest rate for the growth of an investment. Investment periods, present and future value of the investments. Returns the equivalent interest. Returns the discount rate for a security. Number and the number of digits Rate of Discount Returns the interest rate for a fully invested security. Number and the number of digits Rate of interest Returns the future value of an initial principal after applying a series of compound interest rates. Number and the number of digits Number of future value Returns the cumulative interest paid for an investment period with a constant interest rate. Number and the number of digits Number of interest rate Returns the cumulative principal paid for an investment period with a constant interest rate. Number and the number of digits Cumulative principal value Returns the amount received at maturity for a fully invested security. Number and the number of digits Received amount Calculates the accrued interest of a security in the case of periodic payments. Number and the number of digits Accrued interest This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. Although this function is still available for backward compatibility, you should consider using the new functions from now on, because this function may not be available in future versions of Excel. Required. The number of Bernoulli trials. Required. The probability of a success on each trial. Required. The criterion value. Returns the smallest value for which the cumulative binomial distribution is greater than or equal to a criterion value. Use this function for quality assurance applications. For example, use CRITBINOM to determine the greatest number of defective parts that are allowed to come off an assembly line run without rejecting the entire lot. Returns the sum of the squares of the mean deviations. A string holding a list (separated by commas) of: cell references, formulas, or numbers. Sum of the squares of the mean deviation. Returns the exponential distribution. X, lambda, cumulative. Returns exponential distribution. Cumulative should be either True if you want to return the value of the distribution function or False if you want to return the value of the density function. Returns the F (Fisher) probability distribution. X, degreesfreedom1, degreesfreedom2. Returns the F probability distribution. Returns theF probability distribution for two data sets. You can use this function to determine whether two data sets have different degrees of diversity. Required. The value at which to evaluate the function. Required. The numerator degrees of freedom. Required. The denominator degrees of freedom. Returns the (right-tailed) F probability distribution (degree of diversity) for two data sets. You can use this function to determine whether two data sets have different degrees of diversity. Returns theF probability distribution for two data sets. You can use this function to determine whether two data sets have different degrees of diversity. Required. The value at which to evaluate the function. Required. The numerator degrees of freedom. Required. The denominator degrees of freedom. Returns the (right-tailed) F probability distribution (degree of diversity) for two data sets. You can use this function to determine whether two data sets have different degrees of diversity. The F distribution can be used in an F-test that compares the degree of variability in two data sets. Required. The value at which to evaluate the function. Required. The numerator degrees of freedom. Required. The denominator degrees of freedom. Returns the (right-tailed) F probability distribution (degree of diversity) for two data sets. You can use this function to determine whether two data sets have different degrees of diversity. Returns the inverse of F distribution. P, degreesfreedom1, degreesfreedom2. Returns x such that F distribution at x is p. P should be between 0 and 1. Returns the Fisher transformation of the input variable. Input variable x. Fisher transformation of x. X should be between -1 and 1. Returns the inverse of Fisher transformation. Input variable y. The value x such that the Fisher transformation y is x. Returns a forecasted value based on two sets of points using Least Square Fit regression. X, rangex, rangey. returns Forecasted. returns x such that F distribution at x is p. returns x such that F distribution at x is p. Returns the kurtosis of the passed-in values. A string holding a list (separated by commas) of: cell references, formulas, or numbers. The kurtosis of the data. Returns the kth largest value in the range. The Range, k. Kth largest value. Returns the lognormal distribution. X, mean, standarddev. Returns lognormal distribution. Returns the inverse of the lognormal distribution. P, mean, standarddev. Returns the value x where the lognormal distribution of x is p. Returns the maximum value of all values listed in the argument including logical values. A string holding a list (separated by commas) of: cell references, formulas, or numbers. A string holding the maximum value of all values listed in the argument. True is treated as 1 and False is treated as 0. Returns the median value in the range. A string holding a list (separated by commas) of: cell references, formulas, or numbers. Median value. Returns the minimum value of all values listed in the argument including logical values. A string holding a list (separated by commas) of: cell references, formulas, or numbers. A string holding the minimum value of all values listed in the argument. True is treated as 1 and False is treated as 0. Returns the most frequent value in the range. A string holding a list (separated by commas) of: cell references, formulas, or numbers. The most frequent value. Returns the negative binomial distribution. Number of failures, success threshold, probability, cumulative. Returns negative binomial distribution. Returns the Pearson product moment correlation coefficient. range1, range2 Pearson product Returns the percentile position in the range. The Range, k. Percentile position. K is a value between 0 and 1. Returns the percentage rank in the range. Range, x, significant digits. Percentile position. Significant digits are optional, defaulting to 3. The number of permutations of n items taken k at the time. The arglist, N, k The number of combinations. Returns the Poisson distribution. X, mean, cumulative. Returns the exponential distribution. Cumulative should be either True if you want to return the value of the distribution function or False if you want to return the value of the density function. Returns the probability that a value in the given range occurs. Xrange1, prange2, lowerbound, upperbound. The probability. Returns the quartile position in the range. The Range, q. Percentile position. Q is 0, 1, 2, 3, 4. Returns the rank of x in the range. X, range, order. returns Rank. Returns the square of the Pearson product moment correlation coefficient. Range1, range2. Square of the Pearson product. Returns the skewness of a distribution. A string holding a list (separated by commas) of: cell references, formulas, or numbers. Skewness of a distribution. Returns the sample standard deviation. The Double array out double variable. Returns the sample standard deviation. Returns the m parameter of the exponential curve y = b * m^x that best fits the given points. Only the first two Excel parameters are used. Y_range, x_range. returns m parameter. Returns the growth estimate using the exponential curve y = b * m^x that best fits the given points. Only the first two Excel parameters are used. Y_range, x_range. returns estimated value. A method that sets the data value to the specified cell. The grid cell The value. bool value is Column Index value Returns the m and b value used in exponential curve y = b * m^x. The set of y-values required in y = b*m^x The set of x-values in y = b*m^x The double value The double value returns calculated b,m value. Returns the b parameter of the exponential curve y = b * m^x that best fits the given points. Y_range, x_range. returns b parameter. Returns the slope of the least square fit line through the given points. Y_range, x_range. returns y-intercept. Returns the kth smallest value in the range. The Range, k. Kth smallest value. Returns a normalized value. X, mean, stddev. Normalized value. Returns the sample standard deviation. A string holding a list (separated by commas) of: cell references, formulas, or numbers. The sample standard deviation. Returns the sample standard deviation. A string holding a list (separated by commas) of: cell references, formulas, or numbers. The sample standard deviation. Treats True as 1 and False as 0. Returns the population standard deviation. A string holding a list (separated by commas) of: cell references, formulas, or numbers. The population standard deviation. Returns the population standard deviation. A string holding a list (separated by commas) of: cell references, formulas, or numbers. The population standard deviation. Treats True as 1 and False as 0. Returns the standard error of the least square fit line through the given points. Y_range, x_range. Standard error. Returns the mean of the range after removing points on either extreme. Range, percent. Kth smallest value. Returns sample variance of the listed values. A string holding a list (separated by commas) of: cell references, formulas, or numbers. The sample variance. Get the double values from the given range. the String range. returns the array of double values. Returns sample variance of the listed values. A string holding a list (separated by commas) of: cell references, formulas, or numbers. The sample variance. True is treated as 1 and False is treated as 0. Returns population variance of the listed values. A string holding a list (separated by commas) of: cell references, formulas, or numbers. The population variance. Returns population variance of the listed values. A string holding a list (separated by commas) of: cell references, formulas, or numbers. The population variance. True is treated as 1 and False is treated as 0. Returns the Weibull distribution. X, alpha, beta, cumulative. Returns Weibull distribution. Returns the one-tailed probability value of a Z test. Range, mu, sigma. Kth smallest value. Returns a horizontal table look up value. Contains search value, table, return index and match properties. Matching value found in the table. For example, =HLOOKUP("Axles",A1:C4,2,TRUE) looks for the exact match for Axles in A1:C1 and returns the corresponding value in A2:C2. Returns a vertical table look up value. Contains search value, table, return index and match properties. Matching value found in the table. For example, =VLOOKUP("Axles",A1:C4,2,TRUE) looks for the exact match for Axles in A1:A4 and returns the corresponding value in B1:B4. Returns the left so many characters in the given string. Contains the string and the number of characters. returns a string. Returns the length of the given string. Contains the string. An integer length. Returns a substring of the given string. Contains the original string, start position of the substring, and the number of characters in the substring. returns a string. Returns the right so many characters in the given string. Contains the string and the number of characters. returns a string. Returns True if the ParseArgumentSeparator character is included in a string. The string to be searched. True or False. Returns an array of strings from an argument list. A delimited argument list. Array of strings from an argument list. Returns a single character string. List of strings to be concatenated. A single string. Returns the value at a specified row and column from within a given range. look_range, row, col The value. Both array and reference form of this function are supported. Returns the reference specified by a text string. References are immediately evaluated to display their contents. Syntax: INDIRECT(CellRefString, [IsA1Style]) Cell reference string. Reference specified the argument. In a given string, this method substitutes an occurrence of one string with another string. A list of 3 or 4 arguments: the original string, the search string, the replacement string, and optionally, an integer representing the occurrence to be replaced. The modified string. Removes the TIC string from that given string. The String. Returns the modified string. Returns the product of the arguments in the list. List of arguments. Product of the arguments. Returns a quoted string from a date or number. Value to be converted to a string. Quoted string. Returns a number. A date or number string. returns a number. Returns the remainder after dividing one number by another. Two numbers in a list. The remainder. Returns the integer value. Number to be truncated. An integer. Truncates a number to an integer. Value and number of digits. Truncated value. Returns the sum of the products of corresponding values. Two cell ranges. Sum of the products. Returns True is the string denotes an error. String to be tested. True if the value is an error. Determines whether the string contains a number or not. String to be tested. True if the string is a number. Returns the logical value False. Logical False value string. Returns the logical value True. Logical True value string. Converts a number to text using currency format. Number and the number of digits. Currency format string. Rounds a number to the specified number of decimals, formats the number in decimal format using a period and commas, and return the result as text. Number, number of digits, a flag that prevents from include commas in the returned text. Formatted number as string. Converts text to lowercase. Value to convert. Converted string. Converts text to uppercase. Value to convert. Converted string. Removes all leading and trailing white-space characters. Value to trim. The string that remains after all leading and trailing white-space characters were removed. Determines whether the value is a logical value. Value to be tested. True if the value is a logical value, False otherwise. Determines whether the value is the #NA error value. Value to be tested. True if the value is the #NA error value, False otherwise. Returns True is the string denotes an error except #N/A. Value to be tested. True if the value is an error except #N/A, false otherwise. Determines whether the value is empty string. Value to be tested. True if the value is empty, False otherwise. Determines whether the value is string or not. Value to be tested. True if the value is a string, false otherwise. Determines whether the value is not a string. Value to be tested. True if the value is not a string, false otherwise. Returns the Multinominal value of given range of numbers. Given numbers Multinominal value of given range of numbers Rounds the given number to a specified multiple number Given number, multiple value Mround value of given number Returns the random integer number between the given two numbers. StartNumber, EndNumber Random number between two values Return the square root of product of given number with PI. number to find Sqrtpi. Return Sqrtpi value of giveen number Returns the integer portion of division function. Numerator, Denominator to find the quotient Returns integer value. Returns the Double Factorial value for given number number to find FactDouble FactDouble of given number Returns the largest integer divides the numbers without any reminders. number1,number2,... GCD value of given numbers. Returns the smallest positive integer that is a multiple of all given values. Number1,Number2,... LCM value of given numbers Returns the arabic numeral to roman in TEXT format Number ,Form for style of roman text 0 or omitted Classic. 1 More concise. 2 More concise. 3 More concise. 4 Simplified. TRUE Classic. FALSE Simplified. Retuns the Roman string of given numaric value based on the style form Returns a value you specify if a formula evaluates to an error otherwise, returns the result of the formula. String to be tested. Returns the string or text referred by the given value. value to find the refrred text - Required Referred Text Determines whether the value is even or not. Value to be tested. True, if the value is even, false otherwise. Determines whether the value is odd or not. Value to be tested. True, if the value is odd, false otherwise. Returns a number converted from the provided value. Value to be converted. A number in string format or an error string. Returns the error value(#N/A). Used internally. empty string. error value. Returns the error value (#N/A - value not available). error value. Returns a number corresponding to the predefined error values(#NULL!, #VALUE!, #REF!, #NAME?, #NUM!, #N/A, "#GETTING_DATA). Returns #N/A if not or any value enclosed within double quotes. this function used to obtain the address of a cell in a worksheet, given specified row and column numbers The argList contain the row and column postion and type of reference Address of the given row and column Returns a value from result table either from a one-row or one-column range or from an array Lookup Value, lookup range, result range Matching value found in the table Returns the number of the starting position of the first string from the second string. first strring, second string and starting position index of the string Returns the exclusive OR of all values treated as logical values listed in the argument. A string holding a list (separated by commas) of cell references, formulas, or numbers. Each item in the list is considered True if it is nonzero and False if it is zero. A string holding the exclusive OR of all values listed in the argument. Returns a value you specify if a formula evaluates to #N/A otherwise, returns the result of the formula. String to be tested. Returns the computed value. Retuns the text removing the first 32 nonprintable characters(ranging from 0 to 31) in 7-bit ASCII code. Text or range holding text including nonprintable characters Text without nonprintable characters(first 32) Returns the character whose number code is specified in the argument. The number used to retrieve the character. The character string. Checks whether the value is a reference or not. value or reference TRUE or FALSE Returns the average of all the cells in a range which is statisfy the given single criteria range of cells, criteria, average_range returns the average value of the cells. Returns the average of all the cells in a range which is statisfy the given multible criteria range of cells, criteria1, average_range1,... returns the average value of the cells. Returns the sum value of all cells that meet multiple criteria. range of cells, criteria1, average_range1,... returns the sum value of all cells. Returns the total number of working days between the two dates. start date, end date, number of holidays. number of working days. Replace the part of the text with a new text from orginal text Text,Start index, Number of char to replace, new text replaced string Return the numeric code for first char of text text numeric code Convert the text to number text, decimal separator,group separator Returns the text like first letter with upper letter in each word Text proper text Returns the Unicode char for the respective numeric value Number unicode char Returns the corresponding number code for the first char of string. text numeric code Returns the number of repeated text text, repeated count text Used to calculate the value of ComputeFormulaText function Represents the string values used in the function This example hows how to compute the given formula string in a given formula string. GridFormulaEngine calculateEngine = new GridFormulaEngine(this.gridControl1.Model); string myFormula = "(7+6)*2"; // Parses the given string. string parsedValue = calculateEngine.Parse(myFormula); // Computes the resultant value. string computedValue = calculateEngine.ComputeFormulaText(parsedValue); Console.WriteLine("The computed value is " + computedValue); Dim calculateEngine As New GridFormulaEngine(Me.gridControl1.Model) Dim myFormula As String = "(7+6)*2" ' Parses the given string Dim parsedValue As String = calculateEngine.Parse(myFormula) ' Computes the resultant value. Dim computedValue As String = calculateEngine.ComputeFormulaText(parsedValue) Used to calculate the value of ComputeIsFormula function Represents the string values used in the function Returns the interger value for the datatype of given text text integer value Returns the number of the starting position of the first string from the second string. first strring, second string and starting position index of the string return the sheet number of the given value SheetName or cell or named range sheet number return the sheet number of the given values SheetName or cell or named range sheet number Returns the number of columns of the passed in cell reference. Contains one argument - reference number of columns. Used to find the determinant internally for matrix function double array number double value A method to get submatrix for matrix function used internally. double Array - Matrix Matix rows Columns Matrix Returns the number of columns of the passed in cell reference. Contains one argument - reference number of columns. Returns the number of columns of the passed in cell reference. Contains one argument - reference number of columns. Retrun the inverse matrix as ref double array inverse array inverse matrix Returns the number of columns of the passed in cell reference. Contains one argument - reference number of columns. Used to calculate the value of ComputeBase function Represents the string values Returns the decimal number of the given text to the given base. text,base Decimal number. Used to calculate the value of ComputeIntrat function Represents string values used in the function Used to calculate the value of ComputeSeriessum function Represents the string values used in the function Returns the Arabic value of Raman numeric Returns the RoundUp of the given number to the given significance Number, significance, mode RoundUp number Used to parse the string Represents the input Represents the radix value Represents the digits Represents the output Returns the week number of a specific date serial_number,start_day of week (optional) 1 or omitted - Sunday 2 Monday 11 Monday 12 Tuesday 13 Wednesday 14 Thursday 15 Friday 16 Saturday 17 Sunday 21 Monday returns the week number Returns ISO week number of the year for a given date date returns ISO week number Returns the number of days between two dates. startDate, endDate Returns the number of days returns the date of given date after the specific month startDate, months returns the date Returns the last date of the date after the specific month of given date. startDate, month return the date. Returns the serial number of the given date before or after a specified number of workdays startDate, days, weekend (optional) , holidays (optional) return the serial number of specific date. returns the date of the given date after the number of working days startDate, days, holidays (optional) returns the date Returns the encode url of the given text text returns the EncodeURL Used to calculate the value of ComputeWebService function Represents the string values used in the function Used to calculate the value of ComputeFilterXml function Represents the string values used in the function Finds the first occurrence of one string in another string. Conatins two or three arguments. The first argument is the string to find. The second string is the string that is being searched. The third argument is the start location in the second string for the search. The location of the found string. Returns the left so many characters in the given string. Contains the string and the number of characters. A left sub string.. Returns the length of the given string. Contains the string. An integer length. Returns a substring of the given string. Contains the original string, start position of the substring, and the number of characters in the substring. A substring. Returns the right so many characters in the given string. Contains the string and the number of characters. A right substring. Used to calculate the value of ComputeAsc function Represents the string values Used to calculate the value of ComputeJis function Represents string values used in the function replaces part of a text string, based on the number of characters, with a different text string Text in which is want to replace, The position of the character in old_text., The number of characters in old_text returns replaced text Finds the day of February 29. The first date time argument The second date time argument If it is leap year returns true, other wise returns false. Used to calculate the value of ComputeHyperlink function Represents the string values used in the function Returns the current operation environment information Type environment information Returns the row index of the passed in cell reference. Contains zero or one argument. If no argument is passed, returns the row index of the location of this Row function cell, otherwise returns the row index of the passed in cell reference. The row index. This method doesn't return an array of row numbers as the array formula entry is not supported in engine. It is another usecase of this library function. Returns the number of rows of the passed in cell reference. Contains one argument. number of rows. Returns the number of columns of the passed in cell reference. Contains one argument - reference number of columns. Returns the area of the passed in cell reference range Contains one argument - reference area of the passed in cell reference. Used to calculate the value of ComputeCell function Represents the string values used in the function Used to calculate the value of ComputeTranspose function Represents the string values used in the function returns the fraction of the year represented by the number of whole days between two given dates startDate, endDate, basis (optional) returns the fraction of the year Returns the number of whole workdays between two dates, week end and holidays are not consider as working days start_date, end_date,weekend (optional), holidays (optional) return the work days Returns the row index of the passed in cell reference. Contains zero or one argument. If no argument is passed, returns the row index of the location of this Row function cell, otherwise returns the row index of the passed in cell reference. The row index. This method doesn't return an array of row numbers as the array formula entry is not supported in engine. It is another usecase of this library function. Used to convert the text Represents input string Represents the language pair Used to get the between string Represents the source string Represents the starting string Represents the ending string collection of numbers with writing format. The number. Returns the secant of an angle. A cell reference, or number. A string conaining the secant of an angle Returns the hyperbolic secant of an angle. A cell reference, or number A string containing the hyperbolic secant of an angle. Returns the hyperbolic cosine of a number. A cell reference or a number A string containing the hyperbolic cosine of a number Returns the cotangent of an angle. A cell reference or a number A string containing the cotangent of an angle Returns the cosecant of an angle a cell reference or number A string containing the cosecant of an angle Returns the hyperbolic cosecant of an angle. A string containing the hyperbolic cosecant of an angle Returns the arccotangent of a number. A cell reference or number A string containing the arccotangent of a number Returns the hyperbolic arccotangent of a number. A cell reference or number A string containing the hyperbolic arccotangent of a number Returns the archyperbolic secant of an angle. A cell reference or a number A string containing the archyperbolic secant of an angle Returns the archyperbolic cosecant of an angle. A cell reference or a cell or a number A string containing the archyperbolic cosecant of an angle Returns the full product of two 32-bit numbers. The two 32 bit numbers. A string containing the product of two 32 bit numbers. Used to calculate the value of ComputeDivRem function Represents the string value used in the function A string containing the remainder in an output parameter.. Used to calculate the value of ComputeIEEERemainder function Represents the string values used in the function Used to calculate the value of ComputeTruncate function Represents the string values used in the function Used to calculate the value of ComputeCombinA function Represents the string values used in the function Used to calculate the value of ComputeConfidenceT function Represents the string values used in the function Returns the skewness of a distribution based on a population a characterization of the degree of asymmetry of a distribution around its mean. numbers or names, arrays, or reference that contain numbers Skewness of a distribution. Returns population covariance, the average of the products of deviations for each data point pair in two data sets. range1, range2. The covarianceP Returns the sample covariance, the average of the products of deviations for each data point pair in two data sets. range1, range2. The covariances Returns the sample covariance between two arrays. Arrays should be of equal length, and contain more than one element. Returns the sample covariance between two arrays. Arrays should be of equal length, and contain more than one element. The double array1 The double array2 In most applications, the decay factor is between 0 and 1. Weigth on the last element in arrays is 1.0, the 2nd to last element d, 3rd to last d^2, ... Returns the sum of a geometric series of length n, who's first element is 1. For decay factor d, S = 1 + d + d^2 + ... + d^(n-1) Decay factor Typically between -1 adn +1. Number of elements in the geometric series, must be positive. Returns the inverse of the sum of a geometric series of length n, who's first element is 1. For decay factor d, S = 1 + d + d^2 + ... + d^(n-1). Return 1/S. Decay factor Typically between -1 adn +1. Number of elements in the geometric series, must be positive. Returns the sum of an infinite geometric series who's first element is 1. For decay factor d, S = 1 + d + d^2 + ... Decay factor. Typically between -1 adn +1. Returns the half-life of a geometric series of length n, who's first element is 1. For decay factor d, 1 + d + d^2 + ... + d^(h-1) = 0.5 * [1 + d + d^2 + ... + d^(n-1)] Decay factor Typically between -1 adn +1. Number of elements in the geometric series, must be positive. Returns the mean of an array. Array of data for which we are calculating the mean. This example shows how to get the mean of given array of values. GridFormulaEngine calculateEngine = new GridFormulaEngine(this.gridControl1.Model); double[] arr = { 4, 7, 9, 14, 23, 56 }; double q = 1; // Computes the mean value of given numbers. this.gridControl1[5, 5].CellValue = calculateEngine.Mean(arr); Console.WriteLine("The mean of array values are " + this.gridControl1[5, 5].CellValue); Dim calculateEngine As New GridFormulaEngine(Me.gridControl1.Model) Dim arr() As Double = { 4, 7, 9, 14, 23, 56 } Dim q As Double = 1 ' Computes the mean value of given numbers. Me.gridControl1(5, 5).CellValue = calculateEngine.Mean(arr) Returns the most recent points from an array (the points with the highest index values). For functions with a decay factor, the weight on the last element in the array is the highest. In many applications this corresponds with the assumption that the last element in the array represents the most recent data point. Array from which the data points will be selected. The number of data points to be returned. Returns the mean of an array. Array of data for which we are calculating the mean. For time series, the last element (index = n-1), is the most recent. In most applications, the decay factor is between 0 and 1. Weight on the last element in array is 1.0, the 2nd to last element d, 3rd to last d^2, ... Returns the mean of an array. Array of data for which we are calculating the mean. For time series, the last element (index = n-1), is the most recent. In most applications, the decay factor is between 0 and 1. Weight on the last element in array is 1.0, the 2nd to last element d, 3rd to last d^2, ... Window length. Method uses the most recent n points, n = length. This example shows how to get the mean of given array values and specifying it's decay factor. Dim calculateEngine As New GridFormulaEngine(Me.gridControl1.Model) Dim arr() As Double = { 4, 7, 9, 14, 23, 56 } ' Computes the mean value of given numbers. Me.gridControl1(5, 5).CellValue = calculateEngine.Mean(arr,1,2) Returns the weighted averages of the values in valueArray using the corresponding weights in weightArray. array of values for which we are computing the weighted average array of weights used in computing the weighted average Returns the percentile position in the range. Range, k. Percentile position. K is a value between 0 and 1. Returns the percentile position in the range. Range, k. Percentile position. K is a value between 0 and 1. Returns the percentage rank Exc in the range. Range, x, significant digits. Percentile position. Significant digits are optional, defaulting to 3. Returns the percentage rank Inc in the range. Range, x, significant digits. Percentile position. Significant digits are optional, defaulting to 3. Returns the sample standard deviation. A string holding a list (separated by commas) of cell references, formulas, or numbers. The sample standard deviation. Treats True as 1; False as 0. Returns the sample standard deviation. A string holding a list (separated by commas) of cell references, formulas, or numbers. The sample standard deviation. Treats True as 1; False as 0. Returns sample variance of the listed values. A string holding a list (separated by commas) of cell references, formulas, or numbers. The sample variance. Calculates variance based on the entire population (ignores logical values and text in the population). A string holding a list (separated by commas) of cell references, formulas, or numbers. The sample variance. Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects. n, k The number of combinations. Returns the normal distribution for the specified mean and standard deviation. x, mean, standarddev, cumulative. The normal distribution. Cumulative should be either True if you want to return the value of the distribution function or False if you want to return the value of the density function. Returns the Probabilitydistribution of the normal distribution. Value at which the distribution is evaluated. Mean of the distribution. Standard deviation of the distribution. Returns the CDF of the normal distribution. Value at which the distribution is evaluated. Mean of the distribution. Standard deviation of the distribution. Returns the inverse of the CDF of the normal distribution. Cumulative probability of the distribution. 0 <= p >= 1. Mean of the distribution. Standard deviation of the distribution. Returns the PDF of the standard normal distribution. Value at which the distribution is evaluated. Returns the CDF of the standard normal distribution. Value at which the distribution is evaluated. Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation. P, mean, standard deviation. Returns x such that normal distribution at x is p. P should be between 0 and 1. Returns the standard normal cumulative distribution function. The distribution has a mean of 0 (zero) and a standard deviation of one. Syntax: NORMSDIST(z) Z is the value for which you want the distribution. Standard normal cumulative distribution. Returns the PDF of the standard normal distribution. Value at which the distribution is evaluated. Returns the CDF of the standard normal distribution. Value at which the distribution is evaluated. Returns the inverse of the standard normal cumulative distribution. The distribution has a mean of zero and a standard deviation of one. Syntax: NORMSINV(p) p is a probability corresponding to the normal distribution. Inverse of standard normal cumulative distribution. p should be between 0 and 1. Returns the inverse of the CDF of the standard normal distribution. Cumulative probability of the distribution. p is between 0 and 1. Calculates the Weibull Probability Density Function or the Weibull Cumulative Distribution Function for a supplied set of parameters. x, alpha, beta, cumulative. Returns the calculated weibull distribution. cumulative = A logical argument which denotes the type of distribution to be used TRUE = Weibull Cumulative Distribution Function FALSE = Weibull Probability Density Function Returns the exponential distribution. x, lambda, cumulative. The exponential distribution. Cumulative should be either True if you want to return the value of the distribution function or False if you want to return the value of the density function. Returns the gamma distribution. X, alpha, beta, cumulative. The gamma distribution. X, alpha, and beta should be positive real numbers. Cumulative should be either True if you want to return the value of the distribution function or False if you want to return the value of the density function. The distribution value is computed interactively using Trapezoidal Rule to six to seven significant digits or 20 iteration maximum. Returns the inverse of gamma distribution. p, alpha, beta Returns x such that gamma distribution at x is p. P, alpha, and beta should be positive real numbers, with p between 0 and 1. Returns the natural logarithm of the gamma function. The value to be evaluated. The natural logarithm of the gamma function. Returns the inverse of F distribution. p, degreesfreedom1, degreesfreedom2. Returns x such that F distribution at x is p. P should be between 0 and 1. Returns the inverse of F distribution. p, degreesfreedom1, degreesfreedom2. Returns x such that F distribution at x is p. P should be between 0 and 1. Returns the smallest value for which the cumulative binomial distribution is greater than or equal to a criterion value. Number of trials, probability, alpha. Returns the critical value. Returns the hypergeometric distribution. Number of sample successes, number of sample, number of population successes, number of population. Returns the gamma distribution. Returns the inverse of the lognormal distribution. p, mean, standarddev. Returns the value x where the lognormal distribution of x is p. Returns the lognormal distribution. x, mean, standarddev. The lognormal distribution. Returns a confidence interval radius. Alpha, standard deviation, size. Returns x such that normal distribution at x is p. P should be between 0 and 1. Returns the chi-squared distribution. x, degrees of freedom. The chi-squared distribution. Chi-squared probability density function. The value at which the PDF is evaluated. Degress of freedom, or number independent standard normal distributions. Returns the chi-squared distribution. x, degrees of freedom. The chi-squared distribution. Returns the F probability distribution. x, degreesfreedom1, degreesfreedom2. Returns the F probability distribution. Returns the PDF of the F distribution. Value at which the distribution is evaluated. Degrees of freedom for numerator chi-sqared distribution. k1 > 0. Degrees of freedom for denominator chi-sqared distribution. k2 > 0. Returns the CDF of the F distribution. Value at which the distribution is evaluated. Degrees of freedom for numerator chi-sqared distribution. Degrees of freedom for denominator chi-sqared distribution. Returns the inverse of the CDF of the F distribution. For k = 3, and 5+ the solution is an approximation. Cumulative probability of the distribution. p is between 0 and 1. Degrees of freedom for numerator chi-sqared distribution. Degrees of freedom for denominator chi-sqared distribution. Returns the PDF of the F distribution. Value at which the distribution is evaluated. Degrees of freedom for numerator chi-sqared distribution. Degrees of freedom for denominator chi-sqared distribution. The ProbabilityDensityFunction. Returns the PDF Returns the inverse of the CDF of the normal distribution. Cumulative probability of the distribution. 0 <= p >= 1. Mean of the distribution. Standard deviation of the distribution. Returns the inverse of the CDF of the standard normal distribution. Cumulative probability of the distribution. p is between 0 and 1. Returns the beta distribution. x, degreesfreedom1, degreesfreedom2. Returns the beta distribution. Returns the Beta cumulative density function. Value of the random variable for which the CDF is beign evaluated. x is between 0 and 1. First shape parameter. Second shape parameter. Returns the Beta probability density function. Value of the random variable for which the PDF is beign evaluated. x is between 0 and 1. Number of trials. Number of times the event occurs in n trials. Euler integral. Integral from 0 to infinity of e^(-t) * t^(z-1) dt If z > 143 the return value will exceed the double.MaxValue. The function will throw an exception. To get the CDF of the beta distribution. Required. A logical value that determines the form of the function. Required. A parameter to the distribution. Required. A parameter to the distribution. Returns the CDE of the beta function. To get the CDF of the beta distribution. Required. A logical value that determines the form of the function. Required. A parameter to the distribution. Required. A parameter to the distribution. Returns the CDE of the beta function. To get the CDF of the beta distribution. Required. A logical value that determines the form of the function. Required. A parameter to the distribution. Required. A parameter to the distribution. Returns the CDE of the beta function. Euler integral. Required. A logical value that determines the form of the function. Required. A parameter to the distribution. Required. A parameter to the distribution. Returns the integral of the beta function. Euler integral. Required. A logical value that determines the form of the function. Required. A parameter to the distribution. Required. A parameter to the distribution. Required. A logical value that determines the form of function. Returns the Euler integral of the beta function. Returns the F (Fisher) probability distribution. x, degreesfreedom1, degreesfreedom2. Returns the F probability distribution. Returns the Chi Test for independence. Actual_range, expected_range. Result of Chi Test: y-intercept. Returns the inverse of the chi-squared distribution. x, degrees of freedom. The inverse of the chi-squared distribution. Returns the inverse of the chi-squared distribution. x, degrees of freedom. The inverse of the chi-squared distribution. Returns the binomial distribution. Number of successes, number of trials, probability, cumulative. The binomial distribution. Returns the one-tailed probability value of a Z test. Range, mu, sigma. Kth smallest value. Returns the rank of x in the range. X, range, order. Rank of x. Returns the rank of x in the range. X, range, order. Rank of x. The Irwin-Hall distribution results from the sum on n independent standard uniform variables The value at which to evaluate the distribution. The Irwin-Hall distribution results from the sum on n independent standard uniform variables The value at which to evaluate the distribution. The number of standard uniform variables. Returns the number of possible combinations of k objects from a set of n object. The order of the chosen objects does not matter. Number of objects Number of objects chosen Returns the rounded combination values. Returns the number of possible logarithmic combinations of k objects from a set of n object. Number of objects Number of objects chosen The logarithmic combination of n and k. Find the logFactorial for given number. Number which is need to find LogFactorial. returns the logFactorial for given number. Returns n! 0! = 1,otherwise n! = n * (n-1) * (n-2) * ... * 2 * 1, Returns the PDF of the uniform distribution. Number of successes, number of trials, probability, cumulative. The binomial distribution. Returns the PDF of the uniform distribution. Value at which the distribution is evaluated. Minimum value of the distribution. Maximum value of the distribution. Returns the CDF of the uniform distribution. Value at which the distribution is evaluated. Minimum value of the distribution. Maximum value of the distribution. Returns the quartile position in the range. Range, q. Percentile position. Q is 0, 1, 2, 3, 4. Returns the quartile position in the range. Range, q. Percentile position. Q is 0, 1, 2, 3, 4. Returns the negative binomial distribution. Number of failures, success threshold, probability, cumulative. The negative binomial distribution. Returns the most frequent value in the range. A string holding a list (separated by commas) of cell references, formulas, or numbers. The most frequent value. Returns a vertical array of the most frequently occurring, or repetitive values in an array or range of data. A string holding a list (separated by commas) of cell references, formulas, or numbers. The most frequent value. Returns the Poisson distribution. x, mean, cumulative Returns the exponential distribution. Cumulative should be either True if you want to return the value of the distribution function or False if you want to return the value of the density function. Returns the Student's t-distribution. x, degreesfreedom1. Returns the Student's t-distribution. Returns the Student's t-distribution. x, degreesfreedom1. Returns the Student's t-distribution. Returns the PDF of Student's t distribution. Value at which the distribution is evaluated. Degrees of freedom. Returns the CDF of Student's t distribution. Value at which the distribution is evaluated. Degrees of freedom. Returns the inverse of the CDF of the Student's t distribution. For k = 3, and 5+ the solution is an approximation. Cumulative probability of the distribution. p is between 0 and 1. Degrees of freedom. Determines whether the arg is a valid cell name. Cell name. True is the arg is a valid cell name, false otherwise. Determines whether the computed value is a valid cell name. Formula to The cell name True if the computed value is string type, false otherwise. Determines whether the computed value is a valid cell name by checking all it dependent cells. return boolean value to indicate whether the computed value is a valid cell name Computes the Decimal Number for the given binary NUmber. Input BinaryNumber The resultant Decimal Number Computes the Octal Number for the given binary NUmber. Input BinaryNumber The resultant Octal Number Computes the HexaDecimal Number for the given binary NUmber. Input BinaryNumber The resultant HexaDecimal Number Computes the Binary value for the given Decimal Number. Data to be converted. Returns the calculated Binary value. Computes the Octal value for the given Decimal Number. data to be converted. Returns the calculated Octal value. Computes the Hexadecimal value for the given Decimal Number. Data to be converted. Returns the calculated Hexadecimal value. Computes the Binary value for the given Hexadecimal Data. Data to be converted. Returns the calculated Binary value. Computes the Octal Equivalent for the given Hexadecimal value Data to be converted. The calculated Octal value for the given. Computes the Decimal Equivalent for the given Hexadecimal value Data to be converted. The calculated Decimal value for the given. Computes the Binary value for the given Octal Number. Data to be converted. Returns the calculated Binary value. Calculates the Hexadecimal equivalent value for the given Octal value Data to be converted. The Converted Hexadecimal value. Computes the Decimal Equivalent for the given Octal value The Value to be converted to Decimal The calculated value for the given Gets the Imaginary part of the given Complex number. Given complex number. Imaginary part of the given complex Number. Gets the Real part of the given Complex number. Given complex number. Real part of the given complex Number. Obtains the complex number for the given real and imaginary part. Given real and Imaginary part. The complex number derived from the real and imaginary part. Computes the sum of two complex number. Parameter that is used for performing sum The calculated sum of the numbers Computes the Difference of two complex number. Parameter that is used for performing Subtraction The calculated difference of the numbers Returns the complex conjugate of a complex number in x + yi or x + yj text format. Input Complex Number The complex conjugate of a complex number in x + yi or x + yj text format. Computes the Product of the given Complex Numbers Input Complex Numbers The multiplied result of the two complex numbers. Computes the Division of the given Complex Numbers Input Complex Numbers The Divided result of the two complex numbers. Returns the argument (theta), an angle expressed in radians Input Complex Number The argument (theta), an angle expressed in radians Returns the absolute value (modulus) of a complex number in x + yi or x + yj text format. Input Complex Number The absolute value (modulus) of given complex number Returns the Square Root of the given Complex Number. Input Complex Number The Square Root of the given Complex Number. Returns the Hyperbolic Sine value of the given Complex Number. Input Complex Number The Hyperbolic Sine Value of the given Complex Number. Returns the IMCSCH of the given Complex Number. Input Complex Number The IMCSCH of the given Complex Number. Returns the Hyperbolic Cos value of the given Complex Number. Input Complex Number The Hyperbolic Cos Value of the given Complex Number. Returns the IMTanH of the given Complex Number. Input Complex Number The IMTanH of the given Complex Number. Returns the IMCotH of the given Complex Number. Input Complex Number The IMCotH of the given Complex Number. Returns the IMSecH of the given Complex Number. Input Complex Number The IMSecH of the given Complex Number. Returns the LOG10 value of the given Complex Number. Input Complex Number The Log10 of the given Complex Number. Returns the Log2 of the given Complex Number. Input Complex Number The Log2 of the given Complex Number. Returns the LOG value of the given Complex Number. Input Complex Number The Log of the given Complex Number. Returns the Exponent of the given Complex Number. Input Complex Number The Exponent of the given Complex Number. Returns the power of the given Complex Number. Input Complex Number The power of the given Complex Number. Compares the given two values Two Numbers to be compared. Returns the result of the comparision in the form of 0 or 1 Compares the given two values Two Numbers to be compared. Returns the result of the comparision in the form of 0 or 1 Computes the Bit AND of the given two numbers. Input Numbersfor which the AND operations has to be performed. Bit AND value of the given two numbers. Computes the Bit OR of the given two numbers. Input Numbersfor which the OR operations has to be performed. Bit OR value of the given two numbers. Computes the Bit XoR of the given two numbers. Input Numbersfor which the OR operations has to be performed. Bit OR value of the given two numbers. Computes the Bit Left Shift of the given number. Input Numbersfor which the OR operations has to be performed. Bit Left Shift value of the given number. Computes the Bit Right Shift of the given number. Input Numbersfor which the Bit Right Shift operations has to be performed. Bit Right Shift value of the given number. Returns the IMSin of the given Complex Number. Input Complex Number The IMSin of the given Complex Number. Returns the IMCSC of the given Complex Number. Input Complex Number The IMCSC of the given Complex Number. Returns the IMCos of the given Complex Number. Input Complex Number The IMCos of the given Complex Number. Returns the IMSEC of the given Complex Number. Input Complex Number The IMSEC of the given Complex Number. Returns the IMTan of the given Complex Number. Input Complex Number The IMTan of the given Complex Number. Returns the IMCot of the given Complex Number. Input Complex Number The IMCot of the given Complex Number. Returns the error function . Input Number The error function. Returns the error function . Input Number The error function. Returns the Complement of error function . Input Number The Complement of error function. Used to calculate the value of ComputeBesselI function Represents the string values Returns the result of ComputeBesselI calculation Used to calcualte the besseli0 function Represents the double value Returns the result of besseli0 calculation Used to calculate the besseli1 function Represents the double value Returns the result of besseli1 calculation Returns the BesselJ function of order n of the specified number. Input Number The BesselJ of the Number. Returns the Bessel function of order 1 of the specified number. Input number. Returns the Bessel function of order 1 of the specified number. Returns the Bessel function of order 0 of the specified number. Input number. Returns the Bessel function of order 1 of the specified number. Returns the BesselY function of order n of the specified number. Input Number The BesselY of the Number. Returns the Bessel function of the second kind, of order 0 of the specified number. Input number. Returns the Bessel function of second kind, of order 0 of the specified number. Returns the Bessel function of the second kind, of order 1 of the specified number. Input number. Returns the Bessel function of second kind, of order 1 of the specified number. Used to calculate the value of besselk0 function Represents the double value Returns the value of besselK0 function. Used to calculate the value of besselk1 function Represents the double values Returns the value of besselK1 function. Used to calculate the value of ComputebesselK function Represents the string values used in the function Returns the result of ComputebesselK function. Used to calculate the value of ComputeConversion function Represents the string values used in the function Returns the result of compute conversion function. Calculates the Output to the concerned base. Data to be converted. Base of the Given Data Base to be obtained. The data concerning to the base in 'to' parameter Creates and initially loads the Function Library with the supported functions. Zap the quoted columns The required input parameter string. Accepts an argument string and returns a string array of cells. Converts arguments in these forms to a string array of individual cells. A1,A2,B4,C1,...,D8 A1:A5 A1:C5 String containing a cell range. String array of cells. Used to get the data from the datatable The Arguments, it may be cell reference or cell range. Returns data table holding data. Returns the amount received at maturity for a fully invested security. Number and the number of digits Received amount Counts the nonblank cells in a field (column) of records in a list or database that match conditions that you specify. Number and the number of digits Received amount Averages the values in a field (column) of records in a list or database that match conditions you specify. Number and the number of digits Received amount Extracts a single value from a column of a list or database that matches conditions that you specify. Number and the number of digits Received amount Returns the largest number in a field (column) of records in a list or database that matches conditions you that specify. Number and the number of digits Received amount Returns the smallest number in a field (column) of records in a list or database that matches conditions that you specify. Number and the number of digits Received amount Returns the smallest number in a field (column) of records in a list or database that matches conditions that you specify. Number and the number of digits Received amount Estimates the variance of a population based on a sample by using the numbers in a field (column) of records in a list or database that match conditions that you specify. Number and the number of digits Received amount Calculates the variance of a population based on the entire population by using the numbers in a field (column) of records in a list or database that match conditions that you specify. Number and the number of digits Received amount Estimates the standard deviation of a population based on a sample by using the numbers in a field (column) of records in a list or database that match conditions that you specify. Number and the number of digits Received amount Calculates the standard deviation of a population based on the entire population by using the numbers in a field (column) of records in a list or database that match conditions that you specify. Number and the number of digits Received amount Adds the numbers in a field (column) of records in a list or database that match conditions that you specify Number and the number of digits Received amount Provides the column name. String the Field The data table. Returns the column name. Bind the result to Data table. The Mutable string of characters. The data table. Returns the bounded table. Checks the operands. The input data. used to set the data type of column The required data table. Returns the cloned table. Generate the criteria list. The input string argument list. Returns the string builder collections Generate the criteria list. The First row index. The First row index. The first column index The second column index. Sheet name with cell reference. Returns the string builder collection. To check whether the row index can be obtained from the arguments A method to split the arguments using argument seperator. arguments to split. argument seperator used to split. A string array. Removes the quotes in single range. The required collection, Conditionally gets either the formula value or the cell value depending upon whether the requested cell is a FormulaCell. Row index of the requested cell. Column index of the requested cell. String holding either the cell value or the computed formula value. This example shows how to get the cell value from the grid with the specified row and column index. void gridControl1_CellClick(object sender, GridCellClickEventArgs e) { // Gets the cell value from the given row index and column index. GridFormulaEngine calculateEngine = new GridFormulaEngine(this.gridControl1.Model); string cellValue = calculateEngine.GetValueFromGrid(e.RowIndex, e.ColIndex); Console.WriteLine("The Cell value is " + cellValue); } Private Sub gridControl1_CellClick(ByVal sender As Object, ByVal e As GridCellClickEventArgs) ' Gets the cell value from the given row index and column index. Dim calculateEngine As New GridFormulaEngine(Me.gridControl1.Model) Dim cellValue As String = calculateEngine.GetValueFromGrid(e.RowIndex, e.ColIndex) End Sub Conditionally gets either the formula value or the cell value depending upon whether the requested cell is a FormulaCell. The alphanumeric cell label, like A1, or EE14. String holding either the cell value or the computed formula value. This example shows how to get the string value from the specified cell index. // Gets the cell value from a particular cell index. GridFormulaEngine calculateEngine = new GridFormulaEngine(this.gridControl1.Model); string cellValue = calculateEngine.GetValueFromGrid("C33"); Console.WriteLine("The cell value is " + cellValue); ' Gets the cell value from a particular cell index. Dim calculateEngine As New GridFormulaEngine(Me.gridControl1.Model) Dim cellValue As String = calculateEngine.GetValueFromGrid("C33") provides the index. The required input string Returns true if the index is less than reo count, otherwise return false. provides the value from grid. The that contains event data. The row index. The column index. Returns the string of values. Computes the value contained in the argument. This method takes the argument and checks whether it is a parsed formula, raw number, or cell reference like A21. The return value is a string that holds the computed value of the passed-in argument. A parsed formula, raw number, or cell reference. A string with the computed number in it. Computes the value contained in the argument. This method takes the argument and checks whether it is a parsed formula, raw number, or cell reference like A21. The return value is a string that holds the computed value of the passed-in argument. A parsed formula, raw number, or cell reference. If False, this method returns the empty string if the arg is a string. If True, this method will return the string value. A string with the arg value in it. Provides the sheet token. The required input. The result of sheet token. Returns the row index from a cell reference. String holding a cell reference such as C21 or AB11. An integer with the corresponding row number. Returns a column index from a cell reference. String holding a cell reference such as C21 or AB11. An integer with the corresponding column number. Find the last q which is not in bracket. The input string. Returns the position of last q value. Used to compute interior functions. The Formula string. Circular reference check list. Returns the computed result. Computes the value of a parsed formula. The formula to be computed. A string holding the computed value. The string passed into ComputedValue must have been parsed using the Parse method. Before calling the method, you should set FormulaContextCell to properly reflect which cell owns this formula. Get the cells from the args. The circular check list. The input argument Modify the formula computed result. The Formula string. Circular reference check list. Returns the computed result. Match the right bracket. The formula string. Return the position of bracket. used to handle the embedded if function. The formula string. Returns the modified string. Finds the next separator position. The formula string The location of separator. Returns true if found, otherwise return false. Finds the RightBracket position. The formula string The location of separator. Returns true if found, otherwise return false. Returns DateTime string, if current cell format style is date time double value of Date Time formated Date Time Parse the number or DateTime with proper double value. IF Given String is number, It returns the Double value of that number else if it as DateTime it returns ToOADate od DateTime first String second string parsed double value parsed double value return if passed value is DateTime Return true if passed strings are double or DateTime Pop out the value from stack. The stack object. Returns the pop value. Pop out the value from stack. The stack object. Returns the pop string value. Determine whether the given values are equal or not. double value1 double value2 Returns true if equal, otherwise return false. Returns whether or not the calculation for this GridFormulaTag is current or not. The GridFormulaTag to be tested. Returns true if the tag has been computed with the most recent values, false otherwise. Marks the underlying formula as dirty, indicating it needs to be recomputed. It does this by setting the Text property to null. The GridFormulaTag to be marked as not computed. Given a string, it returns a string that is passed through the FormulaParsing event to allow any listener to modify it. A string that is to be potentially parsed. Determines whether the given formula at the given cell will cause a circular reference. The alphanumeric cell label, like A1, or EE14. The formula to be tested. True if the given formula causes a circular reference, false otherwise. Returns Circular reference is valid for host cell and parsedFormula. The host cell reference. The parsed formula string. Returns true if circular reference is failed, otherwise return false. provide the cell list based on the parsed formula. The parsed formula string. Returns the stored list. Gets or sets the cell (in the column-row notation of A1 or E21) whose formula is being parsed or computed. This property should be set only if you are directly parsing and computing formulas by calling the Parse or ComputedValue methods. In this case, you should set the property before calling either method. FormulaContextCell is used to provide support for CurrentRowNotation, circular calculation checks, and reference updating. Gets or sets a value indicating whether blanks are treated as significant in sheet names. Earlier versions of GridFormulaEngine did not support the use of blanks in sheet names. (They were treated as insignificant.) The current version does treat blanks as significant. If you want to revert to the prior treatment of blanks in sheet names, then set this property to false. Gets or sets a value indicating whether fixed references should be adjusted on other than paste. Gets a mapping between a cell and a list of formula cells that depend on it. The key is the given cell, and the value is a Hashtable of cells containing formulas that reference this cell. Here is code that will list formula cells affected by changing the given cell. public void DisplayAllAffectedCells() { GridFormulaEngine engine = ((GridFormulaCellModel)this.gridControl1.CellModels["FormulaCell"]).Engine; foreach(object o in engine.DependentCells.Keys) { string s1 = o as string; Console.Write(s1 + " affects "); Hashtable ht = (Hashtable) engine.DependentCells[s1]; foreach(object o1 in ht.Keys) { string s2 = o1 as string; Console.Write(s2 + " "); } Console.WriteLine(string.Empty); } } Public Sub DisplayAllAffectedCells() Dim engine As GridFormulaEngine = CType(Me.gridControl1.CellModels("FormulaCell"), GridFormulaCellModel).Engine Dim o As Object For Each o In engine.DependentCells.Keys Dim s1 As String = CStr(o) Console.Write((s1 + " affects ")) Dim ht As Hashtable = CType(engine.DependentCells(s1), Hashtable) Dim o1 As Object For Each o1 In ht.Keys Dim s2 As String = CStr(o1) Console.Write((s2 + " ")) Next o1 Console.WriteLine(string.Empty) Next o End Sub 'DisplayAllAffectedCells Gets a mapping between a formula cell and a list of cells upon which it depends. The key is the given formula cell, and the value is a Hashtable of cells that this formula cell references. Here is code that lists formula cells affected by changing a given cell: public void DisplayAllFormulaDependencies() { GridFormulaEngine engine = ((GridFormulaCellModel)this.gridControl1.CellModels["FormulaCell"]).Engine; foreach(object o in engine.DependentFormulaCells.Keys) { string s1 = o as string; Console.Write(s1 + " depends upon "); Hashtable ht = (Hashtable) engine.DependentFormulaCells[s1]; foreach(object o1 in ht.Keys) { string s2 = o1 as string; Console.Write(s2 + " "); } Console.WriteLine(string.Empty); } } Public Sub DisplayAllFormulaDependencies() Dim engine As GridFormulaEngine = CType(Me.gridControl1.CellModels("FormulaCell"), GridFormulaCellModel).Engine Dim o As Object For Each o In engine.DependentFormulaCells.Keys Dim s1 As String = CStr(o) Console.Write((s1 + " depends upon ")) Dim ht As Hashtable = CType(engine.DependentFormulaCells(s1), Hashtable) Dim o1 As Object For Each o1 In ht.Keys Dim s2 As String = CStr(o1) Console.Write((s2 + " ")) Next o1 Console.WriteLine(string.Empty) Next o End Sub 'DisplayAllFormulaDependencies Gets or sets behavior for copy, paste, and drag-and-drop operations. This example shows how to use the FormulaCopyFlags property. // Sets the Copy, paste options of the formula cell in the grid. GridFormulaEngine calculateEngine = new GridFormulaEngine(this.gridControl1.Model); calculateEngine.FormulaCopyFlags = GridFormulaCopyFlags.ClipBoardFormula; calculateEngine.FormulaCopyFlags = GridFormulaCopyFlags.NamedRangeReferencesUpdated; ' Sets the Copy, paste options of the formula cell in the grid. Dim calculateEngine As New GridFormulaEngine(Me.gridControl1.Model) calculateEngine.FormulaCopyFlags = GridFormulaCopyFlags.ClipBoardFormula calculateEngine.FormulaCopyFlags = GridFormulaCopyFlags.NamedRangeReferencesUpdated Gets or sets the number of recursive checks done for circular references. When you edit a cell, the engine parsing will attempt to flag circular references as an error. This value sets the number of dependent cells it will check before assuming there is no circular reference. Checking every reference can be time consuming depending upon the formulas being used. This property lets you decide how many recursions the engine will allow when looking for circular references. The default value is -1 meaning no checks are done as you type formula into the cell. Setting this property to int.MaxValue will make the engine check all dependent cells for a circular reference. Gets or sets a value indicating whether circular references should be checked in the CurrentCell.Validating event. Gets or sets a value indicating whether FormulaTags are cloned when setting one FormulaTag object equal to another. This is by default set to False as normally the FormulaEngine expects to be working with referenced objects, and not clones of referenced objects. Gets or sets a value indicating whether the underlying data is virtually bound to the grid. If the formula engine knows the data is stored within a GridControl.Data object, it can optimize data access. If the grid is being populated through virtual techniques (handling QueryCellInfo), the formula engine has to get the data through that means. The default value is to assume the data is coming from a virtual datasource. There are some other situations, like formulas in headers or frozen cells, when this property should be set to True. Gets or sets a value indicating whether formulas are immediately calculated as dependent cells are changed. Use this property to suspend calculations while a series of changes are made to dependent cells either by the user or programmatically. When the changes are complete, set this property to False, and then call Engine.RecalculateRange to recalculate the affected range. See the sample in GridFormulaCellModel.CalculatingSuspended. Gets or sets the maximum number of recursive calls that can be used to compute a cellvalue. This property comes into play when you have a calculated formula cell that depends on another calculated formula that depends on another calculated formula and so on. If the 'depends on another formula' number exceeds MaximumRecursiveCalls, you will see a Too Complex message displayed in the cell. The default value is 100, but you can set it higher or lower depending upon your expected needs. The purpose of the limit is to avoid a circular reference locking up your application. Gets or sets a value indicating whether to enable / disable using row = 0 in formulas to represent the current row. When this property is set True, entering zero as a row in a formula is interpreted to be the current row. Using the current row notation allows you to sort a column in the grid and maintain the relative formula. After sorting, you do have to call engine.RecalculateRange to allow the relative formulas to reset themselves. See the Grid\Samples\Quick Start\GridControlSort sample to see this sorting support in action. Here is code that places a formula in column 4 that sums columns 1 and 3. Notice it just sets CellType and Text properties on the column style for the column. It is not required that you visit each cell in the column to assign such a formula. //column 4 is formula col which used relative notation (row = 0) //to enter the formulas as a simple string as the default value //in the column this.gridControl1.ColWidths[4] = 100; this.gridControl1[0, 4].Text = "FormulaCell"; this.gridControl1.ColStyles[4].CellType = "FormulaCell"; this.gridControl1.ColStyles[4].Text = "= A0 + C0"; Gets or sets a value indicating whether a SaveCellInfo event should be raised even if the affected cell is off-screen. The default behavior is not to raise a SaveCellInfo event for off-screen cells when a value is modified that affects such cells. This is done for performance considerations. But if you need the SaveCellInfo event raised for every change, you can set this property to ensure this event is raised. Gets or sets whether further calculations on a formula will be attempted in the RecalculateRange method if there is an exception raised during the parsing or calculating of the formula. The default value is false for backward compatibilty purposes. If you set this property to true, then during calls to RecalculateRange with forceCalculations = true, if an exception is raised during parsing or computing, the cell will display "#REF!". This property only has effect if you call RecalculateRange with the forceCalculations parameter set to true. Gets or sets whether to suspend recalculation from occurring more than once on RecalculateRange call or any cell value change for better performance. Default value is false. Gets or sets whether formulas involving unknown sheet names are marked with #REF! text. The default value is false. When this property is false, the engine throws an unknown sheet name error when a formula uses a sheet name that has not been registered with the engine. If you want to avoid this exception being thrown, set this property to true. In this case, the cell will display #REF! and be ignored by the engine. Gets or sets the value of RethrowLibraryException Gets or sets a value indicating whether all function arguments are parsed using GridFormulaEngine.Parse. If you are using NamedRanges or CurrentRowNotationEnabled inside function arguments, you should set this property to true to make sure the proper substitutions are done on the arguments. Gets the named range Hashtable. The key is the uppercase name and the value is the range for this name. This example shows how to use NamedRanges property. // Adds the NamedRange to the NamedRange list. GridFormulaEngine calculateEngine = new GridFormulaEngine(this.gridControl1.Model); calculateEngine.NamedRanges.Add("A", 50); calculateEngine.NamedRanges.Add("B", 25); ' Adds the NamedRange to the NamedRange list. Dim calculateEngine As New GridFormulaEngine(Me.gridControl1.Model) calculateEngine.NamedRanges.Add("A", 50) calculateEngine.NamedRanges.Add("B", 25) Contains the Name ranges of the formula cells Gets the named range Hashtable that holds the original case name as the value. The key is the uppercase name and the value is the original name. Gets the named range Hashtable that holds the original case name as the value. The key is the uppercase name and the value is the original name. Gets namedranges in order of string length. Gets hashtables containing cells that depend upon namedranges. The key properties in DependentNamedRangeCells are namedranges. The value properties are hashtables. Gets the current library functions. This field gives you direct access to all Library Functions. The function name serves as the hash key, and the function delegate serves as the hash value. A property that gets/sets list of # error strings. Gets the WeekEndType into the list Gets or sets a value indicating whether you want all grids to share the same collection of library functions. Gets or sets whether leading zeros are preserved in a call to . If the value of arg is "0123" or a cell reference like A1 where A1 holds 0123, then the default behavior is for GetValueFromArg(arg) to return 123, stripping away any leading zeros. If you want calls to GetValueFromArg to preserve the leading zeros, then set GetValueFromArgPreserveLeadingZeros to true. Gets or sets a value indicating whether strings concatenated using the ampersand operator should be returned inside double quote marks. Gets of sets whether the FormulaEngine treats nonempty strings as zeros when they are encountered during calculations. The default value is false meaning that if a nonempty string is encountered during an arithmetic operation, it will be treated as zero. Gets or sets depth of the engine's calculation stack. It is unlikely that you will need to adjust this value, as its default value of 100 is quite large. Any time a formula is to be computed, a Stack object is created with this number of elements to hold temporary calculations as the formula is being computed. For example, this formula: 1+1+1+...+1 requires a stack depth of 2 as there are only 2 temporary values needed as the formula is evaluated. However, this formula: 1+(1+(1+(1+1))) requires a depth of 5, as the five 1's are pushed onto the stack before the first addition (the right-most one) is performed. Gets the formula engine that holds the proper state information for LibraryFunction call. If you are adding your own custom library functions and need to access GridFormulaEngine members like GetCellsFromArgs or GetValueFromArg from your code, then you should use this static property to retrieve the proper GridFormulaEngine object. This only matters if you are using multiple grids that you have registered using RegisterGridAsSheet, and are adding your own custom formulas. Note that GridFormulaEngine.FunctionEngineContext is only defined within the scope of a library function call, and will be null at all other times. Use GridFormulaEngine.FunctionEngineContext to retrieve the engine when writing custom functions. public string ComputeSumPosNums(string args) { GridFormulaEngine engine = GridFormulaEngine.FunctionEngineContext; string sum = string.Empty; foreach(string r in args.Split(new char[]{','})) { if(r.IndexOf(':') > -1) //is a cellrange { foreach(string s in engine.GetCellsFromArgs(r)) { s1 = engine.GetValueFromArg(s).Replace("'",string.Empty); //... do some calculations to compute sum } } } return sum.ToString(); } Public Function ComputeSumPosNums(args As String) As String Dim engine As GridFormulaEngine = GridFormulaEngine.FunctionEngineContext Dim sum As String = string.Empty Dim r As String For Each r In args.Split(New Char() {","c}) If r.IndexOf(":"c) > - 1 Then 'is a cellrange Dim s As String For Each s In engine.GetCellsFromArgs(r) s1 = engine.GetValueFromArg(s).Replace("'", string.Empty) '... do some calculations to compute sum Next s End If Next r Return sum.ToString() End Function 'ComputeSumPosNums Gets the function name of the active function call. Empty if not in a call. Gets or sets a value indicating whether IF function calculations should specifically avoid computing the non-used alternative. The default value is false for code legacy consistency. When AllowShortCircuitIFs is set true, only the necessary alternative of an IF function is computed. To support this behavior, a change in how nested IF function calculations are done is necessary. The default way of calculating nested functions is inside-out, with the inner most functions being computed to a value before the next outer function is evaluated. To support short circuiting IF functions, nested IF functions need to be computed from the outside-in to know what alternative needs to be evaluated. This outside-in calculation pattern only applies to IF functions, and only when AllowShortCircuitIFs is true. Gets or sets a value indicating whether numerical formulas involving cells that hold strings return an error. The default behavior is for the values of cells that hold strings to be treated as a zero if those cells are used in numerical calculations. When this property is true, the calculation value is returned as double.NAN and an #Value! is displayed in the computed formula. Occurs whenever a string needs to be tested to determine whether it should be treated as a formula string and parsed, or be treated as a non-formula string. This event allows for preprocessing the unparsed formula. This event may be raised more than once in the processing of a string into a formula. provides the information about AdjustReferencesForRangeChange Initialize a new instance for class. The grid model. The row index. The column index New formula text Used by AdjustNameRangesForSize to create an ArrayList ordered by string length. Used internally. Initializes a new instance of the class. Compares 2 strings based on their length. First string to compare. Second string to compare. Zero if both are equal; positive value if second string is greater; negative value if first string is greater. Specifies the options for checking the formula error strings. Formula contains null arguments. For Example:PI,RANDOM...etc Formula contains range argument. For example:AVERAGE,AVERAGEA,...etc Formula contains number and text arguments. For example:LEFT,RIGHT...etc Formula contains number arguments only. For example:ROUND,ROUNDDOWN,LOG...etc Delegate used to define functions that you add to the Function Library. ArrayList derived class that exposes a method to insert the string in a sorted position if not present. This class can be used to maintain a sorted list of strings so ArrayList.BinarySearch can be used to quickly locate a member string. Inserts a string into its sorted position if not present in the list. The string to be tested. True if the string was inserted. Encapsulates the properties that are needed to support multiple families of crossed-referenced grids. This class is for internal use only. Initializes a new instance of the class. Specifies behavior for copy, paste, and drag-and-drop operations. Settings determine whether the formula or the calculated result is copied and whether formula references are updated when cells containing formulas are pasted or dropped. No copy flags set. The computed value text is placed on the Clipboard. The formula text is placed on the Clipboard. Cell references in pasted formulas are adjusted for their new location. Cell references are updated when rows or columns are removed or inserted. Cell references are updated when rows or columns are removed or inserted. Cell references are updated if the cell is moved using an Ole Drag and Drop operation within the same GridControl. Event delegate for the GridFormulaParsing event Used by the event, GridFormulaParsingEventArgs holds a reference to the string that is to be parsed. The GridFormulaParsing event allows the listener to preprocess the string that is being parsed. Please note that this event may be raised more than once as a string is parsed. Here is a code snippet that shows how to tell a grid to also treat any text in a formula cell that begins with a minus(-) or a plus(+) as formulas. The default behavior is to treat only text beginning with equal(=) as formulas. //subscribe to the event before any formulas are loaded into the grid... this.engine = ((GridFormulaCellModel)gridControl1.CellModels["FormulaCell"]).Engine; this.engine.FormulaParsing += new GridFormulaParsingEventHandler(engine_FormulaParsing); //Here is the handler code that adds an = if necessary so any string beginning with +, - or = //is treated as a formula. void engine_FormulaParsing(object sender, GridFormulaParsingEventArgs e) { //allow cells starting with + and - to be treated as formula cells. if (e.Text.StartsWith("-")) e.Text = "=" + e.Text; else if (e.Text.StartsWith("+")) e.Text = "=" + e.Text.Substring(1); } Initializes a new instance of the class. Initializes a new instance of the class. Holds a reference to the string that is to be parsed.. The formula that is to be parsed. Gets or sets the formula about to be parsed. Provides the functionality for displaying and editing a NamedRanges hash table using a CollectionEditor. Initializes a new instance of the class. Initializes a new instance of the class. which allows editing an existing GridFormulaEngine.NamedRanges list. The GridFormulaEngine object that holds the NamedRanges. Store the named ranges with keys in array list. Used to expose showing dialog event. The source control. The that contains event data. Displays a collection editor dialog for editing NamedRanges. The GridFormulaEngine instance whose NamedRanges are being edited. Gets or sets NamedRangeList collection holding the GridFormulaEngine.NamedRange information being edited. Occurs immediately before the Dialog is displayed. The sender is the Dialog being shown. You can handle this event to customize the dialog to some extent. This code changes the title of the dialog. Custom IComparer object used alphabetize the ranges. Used internally. Compares 2 items as strings. The first object to compare. The second object to compare. Value Condition Less than zero is less than . Zero equals . Greater than zero is greater than . Neither nor implements the interface. -or- and are of different types and neither one can handle comparisons with the other. Typed ArrayList that returns NamedRange objects. Initializes a new instance of the class. Gets or sets the element as a NamedRange type. Holds Key and Value for a named range. Initializes a new instance of the class. Initializes a new instance of the class. Name of the NamedRange. Value of the NamedRange. GridFormulaEngine allows you to write formulas where strings can be substituted for explicit values or cell references. For example, instead of hard coding an interest value as in formula '= .052 * B12', you could write '= InterestRate * B12' where InterestRate is the Name for a NameRange object and .052 is its value. Then later, if the interest rate changes, you only have to modify the value of the InterestRate NamedRange object, and do not have to directly modify values in cells. The NamedRange.Key property holds the name and the NamedRange.Value property holds the value. Overridden to return the Key property. The Key property. Gets or sets the name used for this named range. Gets or sets the value for this named range. Used internally. Default Constructor. Used internally. Finds the column index by using column name. The name of the column. The column index; or -1 if column could not be resolved. Gets Listcontrol. Used internally. Provides all the functionality for child control. Used internally. Initializes a new instance of the class. Used internally. Used internally. Initializes a new instance of the class. The Source control The GridListControl Model. Creates the list control item accessibility instance. The index. returns GridListControlItemAccessibleObject Creates a new accessibility object for the control. A new for the control. Gets ListControl. Used internally. Gets Item AccessibleObjects. Used internally. Used internally. Provides all information about child GridListControl accessible objects. Used internally. Initializes a new instance of the class. The main control. Used internally. The number of children belonging to an accessible object. Used internally. Find the child object by using index. The zero-based index of the accessible child. An that represents the accessible child corresponding to the specified index. Used internally. Retrieves the object that has the keyboard focus. An that specifies the currently focused child. This method returns the calling object if the object itself is focused. Returns null if no object has focus. Used internally. Retrieves the currently selected child. An that represents the currently selected child. This method returns the calling object if the object itself is selected. Returns null if is no child is currently selected and the object itself does not have focus. Used internally. Retrieves the child object at the specified screen coordinates. The horizontal screen coordinate. The vertical screen coordinate. An that represents the child object at the given screen coordinates. This method returns the calling object if the object itself is at the location specified. Returns null if no object is at the tested location. Used internally. Navigate to another AccessibleObject. One of the values. An that represents one of the values. Gets the GridListControl. Used internally.Gets the role for the grid. This is used by accessibility programs. Used internally. Gets the property. Used internally. Gets the property. Gets the property. Gets the help string. Used internally. Gets the property. Used internally. Gets the property. Used internally. Used internally. Get or sets the GridListControl Text value. Provides information that accessibility applications use to adjust an application's user interface (UI) for users with impairments. Used internally. Initializes a new instance of the class. Used internally. Modifies the selection or moves the keyboard focus of the accessible object. Navigate to the next or previous grid entry. The entry to navigate to. The child object. Used internally. Performs the default action associated with this accessible object. Returns the currently focused child, if any. Returns this if the object itself is focused. The currently focused child. Gets Index.Used internally. Used internally. Gets the state of this accessible object. Used internally.> Gets the role for the grid. This is used by accessibility programs. Used internally. Gets the parent of an accessible object. Used internally. Gets the AccessibleObject Name. Used internally. Gets the role defaultAction the grid. This is used by accessibility programs. Used internally. Gets the location and size of the accessible object. Used internally. Gets a string that describes the visual appearance of the specified object. Not all objects have a description. Used internally. Provides indexing support for Initializes a new instance of the class. The main grid. Retrieves the Item by using index. The index Returns the GridListControlItemAccessibleObject object. Sets the GridListControlItemAccessibleObject at specified index. The index The an object which need to set. Reset the specified the item. The index. Used internally. Used to get item using index. The Index. Returns the index of the value . Provide functionality to . Gets the width. Index of the column. returns width Gets the style. The record num. Index of the column. returns grid style info Used internally. Gets the visible column count. returns visible column count Used internally. Provides all the information about for designer. Gets the DesignerActionListCollection ActionLists collection. Provides information about the Designer Action list. Initializes a new instance of the class. Returns the collection of objects contained in the list. A array that contains the items in this list. Gets or sets the DataSource. Gets the GridListControlComponent. This MouseController handles mouse events for cell elements. In its HitTest method, the cell renderer for the cell under the mouse cursor is determined and based on the cell renderer's HitTest result, mouse events will be forwarded to that cell. This mouse controller manages the calls to each Cell Renderer's OnHitTest, OnMouseDown, OnMouseHover, OnMouseUp, OnMouseHoverEnter, OnMouseHoverLeave, and OnCancelMode methods. If a cell renderer's OnHitTest method returns a non-zero value, the cell renderer will receive mouse events associated with that cell. If a cell has cell button elements and the mouse is over a cell button element, the cell button element will receive all mouse events associated with that cell button element. If the user clicks on a cell button element, the cell button element will raise a Click event in its OnMouseUp event handler. This MouseController is not used by the GridControl by default. Instead, all this functionality is provided by the . However, the grouping grid control uses this controller to forward events to cell renderers. This example shows code samples from GroupDropAreaDragHeaderMouseController where the mouse events are forwarded to the GridClickCellsMouseController. public class GroupDropAreaDragHeaderMouseController : GroupDragHeaderMouseControllerBase { public GroupDropAreaDragHeaderMouseController(GridGroupDropArea grid) { this.groupDropArea = grid; isGroupAreaOrigin = true; clickCellsController = new GridClickCellsMouseController(grid); } internal GridClickCellsMouseController clickCellsController; int clickCellsControllerHitTest = 0; public GridClickCellsMouseController ClickCellsController { get { return clickCellsController; } } public void ResetClickCellsController() { if (this.entered) clickCellsController.MouseHoverLeave(EventArgs.Empty); else if (clickCellsControllerHitTest != 0) clickCellsController.CancelMode(); entered = false; clickCellsControllerHitTest = 0; } // unrelated code left out here ... #region IMouseController implementation public virtual string Name { get { return "DragGroupHeader"; } } public virtual Cursor Cursor { get { if (cursor != null) return cursor; return clickCellsController.Cursor; } } bool entered = false; public virtual void MouseHoverEnter() { if (clickCellsControllerHitTest != 0) { entered = true; clickCellsController.MouseHoverEnter(); } } public virtual void MouseHover(MouseEventArgs e) { if (clickCellsControllerHitTest != 0) clickCellsController.MouseHover(e); } public virtual void MouseHoverLeave(EventArgs e) { if (entered) { clickCellsController.MouseHoverLeave(e); entered = false; } } public virtual void MouseDown(MouseEventArgs e) { if (clickCellsControllerHitTest != 0) clickCellsController.MouseDown(e); } public virtual void MouseMove(MouseEventArgs e) { if (clickCellsControllerHitTest != 0) clickCellsController.MouseMove(e); } public virtual void MouseUp(MouseEventArgs e) { if (clickCellsControllerHitTest != 0) clickCellsController.MouseUp(e); } public virtual void CancelMode() { if (clickCellsControllerHitTest != 0) clickCellsController.CancelMode(); } public virtual int HitTest(MouseEventArgs e, IMouseController controller) { clickCellsControllerHitTest = clickCellsController.HitTest(e, controller); return clickCellsControllerHitTest; } #endregion } Initializes a new instance for class. The parent grid. MouseHoverEnter is called when this controller signaled in HitTest that it wants to handle mouse events. MouseHoverEnter is called before the first time MouseHover is called. MouseHover is called when this controller signaled in HitTest that it wants to handle mouse events. MouseHover is called after MouseHoverEnter. The that contains event data. MouseHoverLeave is called when hovering ends either because user dragged mouse out of the hit-test area or when context changes (e.g. user pressed the mouse button). The that contains event data. MouseDown is called when this controller signaled in HitTest that it wants to handle mouse events and the user pressed the mouse button. MouseDown is called and this controller will become the active controller and receive all subsequent mouse message until the mouse button is released or the mouse operation is cancelled. The that contains event data. MouseMove is called for the active controller after a MouseDown message when the user moves the mouse pointer. The that contains event data. MouseUp is called for the active controller after a MouseDown message when the user releases the mouse button. The that contains event data. Occurs when the current mouse operation is cancelled. HitTest is called to determine whether your controller wants to handle the mouse events based current context. The current winner of the vote is specified through the controller parameter. Your implementation of HitTest can decide if it wants to override the existing vote or leave it. A MouseEventArgs holding event data. A mouse controller. A non-zero value if the controller can and wants to handle the mouse event; 0 otherwise. The name of this mouse controller. The cursor to be displayed. Provides all the information about Initializes a new instance of the class. The base grid. The that contains event data. IMouseController defines the interface for mouse controllers to be used with MouseControllerDispatcher. Provides all information for drawing and caching bitmaps The bitmaps are loaded from the manifest and cached. The PaintIcon routine will substitute black pixels of the original bitmap and draw them with a specified fore color. Example: GridDragColumnHeaderBitmaps.IconPainter.PaintIcon(g, rect, Point.Empty, bitmapName, Color.Black); Initializes a new instance of the class. Gets the icon painter to draw icon. Gets bitmap for moving columns. Gets bitmap for moving columns. This is an abstract base class used by . It implements the IMouseController interface to be used with MouseControllerDispatcher and provides common functions for hit-testing and drag and drop functionality used by the derived class. Clears out pending state of ClickCellsController, possibly sending MouseHoverLeave or CancelMode notification to cell renderer. Initializes a new instance of the class. Initializes a new instance of the class with the grid it is bound to.. Returns the grid it is bound to. The GridControlBase Determines based on mouse position if remove cursor should be shown returns Boolean value Determine which mouse button is pressed. The that contains event data. Returns true if mouse button is left, otherwise return false. Gets the columnHeaderSection RangeInfo. The column descriptor under the mouse position. Will be null if there is no header drawn below mouse. returns mouse position Determine TransparentForm is supported or not. Returns false if version is Win32NT, otherwise return true. Draw the redArrowIndicator using paint event. Dispose the redArrowIndicatorDragHelper. Draw the bitmap image for red arrow indicator. Draw the red arrow indicator. Points to the device context. This event is occurred when control is redrawn. The source control. The that contains event data. Determines based on mouse position if red arrow indicator should be shown returns Boolean value Gets the red arrow indicator location. Index of the col. returns point Used internally. Update the property values for RedArrowIndicator. Gets the movement delta. returns point Should the show drag bitmap. returns Boolean value Gets the drag window location The source location Returns the drag window location in point. created new GridDragColumnHeaderHelper for opening drag header. Dispose the instance. Update the property values for . Creates bitmap image for The grid The row index. The column index. returns the created bitmap image. Implement this method in your and return False if it would interfere with your controller's state when the current cell is focused and possibly scrolled into view. A that indicates if the grid is allowed to set the focus onto the current cells . MouseHoverEnter is called when this controller signaled in HitTest that it wants to handle mouse events. MouseHover is called when this controller signaled in HitTest that it wants to handle mouse events. A holding the event data. MouseHoverLeave is called when hovering ends either because user dragged mouse out of the hit-test area or when context changes (e.g. user pressed the mouse button). The event args. MouseDown is called when this controller signaled in HitTest that it wants to handle mouse events and the user pressed the mouse button. MouseDown is called and this controller will become the active controller and receive all subsequent mouse message until the mouse button is released or the mouse operation is cancelled. A holding event data. MouseMove is called for the active controller after a MouseDown message when the user moves the mouse pointer. A holding event data. MouseUp is called for the active controller after a MouseDown message when the user releases the mouse button. A holding event data. CancelMode is called for the active controller after a MouseDown message when the mouse operation is cancelled. HitTest is called to determine whether your controller wants to handle the mouse events based current context. The instance containing the event data. The controller. returns int value to determine whether your controller wants to handle the mouse events based current context Gets the which is used to forward mouse events to cell renderers. Gets the gridControl for drawing the baseImp. Used internally. Gets or sets the dragHeaderVisible. The name of mouse controller. The cursor to be displayed. Mouse controller that provides support for dragging column headers within the grid. Initializes the new instance for with grid it operates on The grid control. /// MouseDown is called when this controller signaled in HitTest that it wants to handle mouse events and the user pressed the mouse button. MouseDown is called and this controller will become the active controller and receive all subsequent mouse message until the mouse button is released or the mouse operation is cancelled. The that contains event data. MouseMove is called for the active controller after a MouseDown message when the user moves the mouse pointer. The that contains event data. MouseUp is called for the active controller after a MouseDown message when the user releases the mouse button. The that contains event data. CancelMode is called for the active controller after a MouseDown message when the mouse operation is cancelled. HitTest is called to determine whether your controller wants to handle the mouse events based current context. The that contains event data. A mouse controller. A non-zero value if the controller can and wants to handle the mouse event; 0 otherwise. This event is raised to allow custom formatting of a cell by changing its style object just before it is drawn. The control. The that contains event data. provides the information about GridDragHeaderHitTestInfo. Initialize the new instance for class. For internal use. Provides all information about the DragColumnHeader. Used internally. Initializes a new instance of the class. Stats the dragging by invalidate the previous drag window. The bitmap image The starting Drag point The effects of drag drop. Checks the drag cursor. The that contains event data. Stops the dragging process. This occurred while doing dragging process. The point The that contains event data. Used internally. CancelDrgging when isDragging is false. Used internally. EndDrag when isDragging is false. Used internally. Removes or release all resources used by the dragWindow. Gets the GridDragColumnHeaderWindow. Gets the LastDragDropEffect. Gets IsDragging property. Provides all the information about the Dragging column header window Used internally. Initializes a new instance of the class. Changes the size of the GridDragColumnHeaderWindow. A Point. Used internally. Pop up the drag window for start dragging. Returns Boolean value. Used internally. Move to specific point p. Returns Boolean value. Used internally. Stops the dragging process by suspend the drag window layout. returns Boolean value Releases all resources used by the System.ComponentModel.Component. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Gets or sets DragBitmap. Used internally. Represents a method that handles events with that are raised when the user hovers over a column header or drags column header with the mouse. The source of the event. Contains the event data. Reason why QueryAllowDragColumnHeader event was raised (Show Red Indicator, MouseUp or HitTest). HitTest is occurring RedArrowIndicator is displayed Represents MouseUp Holds a reference to a that initiates the event and the column that is affected. Set to False if you do not want to allow the user to drag the specified . Initializes the new instance for the event args. The table control. Column Name. Name of the column to insert at. You can call TableDescriptor.Columns[InsertBeforeColumn] to get the GridColumnDescriptor. Reason why this event was raised (Show Red Indicator, MouseUp, or HitTest). Gets the table control. Gets Column Name. You can call TableDescriptor.Columns[Column] to get the GridColumnDescriptor. Gets Name of the column to insert at. You can call TableDescriptor.Columns[InsertBeforeColumn] to get the GridColumnDescriptor. Gets or sets reason why this event was raised (Show Red Indicator, MouseUp, or HitTest). Gets or sets a value indicating whether to allow drag. to False if you do not want to allow the user to drag the specified . Indicates if rows or columns are dragged. Represents None. Represents Columns. Represents Rows. Implements the dragging of selected rows or columns in a grid control. Initializes a new instance for and attaches it to a grid. The grid control. Override this method in your and return False if it would interfere with your controller's state when the current cell would be focused and possibly scrolled into view. A (True by default) that indicates if the grid is allowed to set the focus onto the current cells . This event is fired when left mouse button is pressed. The mouse click point The that contains event data. The Hit test position The row index. The column index. This event is fired when left mouse moves. The mouse point The that contains event data. This event is fired when mouse left button up. The mouse point The that contains event data. Calculate the center point. The row index. The column index. Returns the calculated center point. Calculate the destination range. The source range. The row index. The column index. Returns the calculated range. Starts the dragging selection. The row index. The column index. Returns false when GridRangeInfo.Isrows and is cols false, otherwise return true. This method calls selection dragging event. The range The destination range The Returns true if e.cancel is false, other wise false. This method calls selection dragging event. The range The destination range The enum. Returns true if e.cancel is false, other wise false. Move to the target row column index. Target row index. Target column index. The row index The column index. returns true if target is moved, else return false. Ends the drag selection. Target row index. Target column index. The row index The column index. returns true if target is moved, else return false. Cancel the drag selection. The grid. Created the header bit map image. The row index. the column index. Returns the bitmap image. MouseHoverEnter is called when this controller signaled in HitTest that it wants to handle mouse events. MouseHoverEnter is called before the first time MouseHover is called. MouseHover is called when this controller signaled in HitTest that it wants to handle mouse events. MouseHover is called after MouseHoverEnter. A MouseEventArgs holding event data. MouseHoverLeave is called when hovering ends either because user dragged mouse out of the hit-test area or when context changes (e.g. user pressed the mouse button). A reference to holding event data. MouseDown is called when this controller signaled in HitTest that it wants to handle mouse events and the user pressed the mouse button. MouseDown is called and this controller will become the active controller and receive all subsequent mouse message until the mouse button is released or the mouse operation is cancelled. A MouseEventArgs holding event data. MouseMove is called for the active controller after a MouseDown message when the user moves the mouse pointer. A MouseEventArgs holding event data. MouseUp is called for the active controller after a MouseDown message when the user releases the mouse button. A MouseEventArgs holding event data. CancelMode is called for the active controller after a MouseDown message when the mouse operation is cancelled. HitTest is called to determine whether your controller wants to handle the mouse events based current context. The current winner of the vote is specified through the controller paramter. Your implementation of HitTest can decide if it wants to override the existing vote or leave it. A MouseEventArgs holding event data. A mouse controller. A non-zero value if the controller can and wants to handle the mouse event; 0 otherwise. Gets if rows or columns are dragged. The name of this mouse controller. The cursor to be displayed. Provide all information about GridDragSelectionHitTestInfo. Initializes a new instance of the class. Implements the dragging of rows and columns in The grid control. The hit point. Implements the datasource part of an OLE drag-and-drop operation in a grid control. Initializes a new instance for and attaches it to a grid. The grid control. Sets drag-and-drop flags. See . The . returns True. Override this method in your and return False if it would interfere with your controller's state when the current cell would be focused and possibly scrolled into view. A (True by default) that indicates if the grid is allowed to set the focus onto the current cells . Starts the drag-and-drop operation at the specified row and column. The row index. The column index. True if operation was started; False otherwise. If the grid supports drag-and-drop at the given coordinates, it will call Control.DoDragDrop. Cache the global data. format-independent mechanism for transferring data. Selection The number of dnt rows. The number of dnt cols. Returns the Boolean value. MouseHoverEnter is called when this controller signaled in HitTest that it wants to handle mouse events. MouseHoverEnter is called before the first time MouseHover is called. MouseHover is called when this controller signaled in HitTest that it wants to handle mouse events. MouseHover is called after MouseHoverEnter. The that contains event data. MouseHoverLeave is called when hovering ends either because user dragged mouse out of the hit-test area or when context changes (e.g. user pressed the mouse button). The that contains event data. MouseDown is called when this controller signaled in HitTest that it wants to handle mouse events and the user pressed the mouse button. MouseDown is called and this controller will become the active controller and receive all subsequent mouse message until the mouse button is released or the mouse operation is cancelled. The that contains event data. MouseMove is called for the active controller after a MouseDown message when the user moves the mouse pointer. The that contains event data. MouseUp is called for the active controller after a MouseDown message when the user releases the mouse button. The that contains event data. CancelMode is called for the active controller after a MouseDown message when the mouse operation is cancelled. HitTest is called to determine whether your controller wants to handle the mouse events based current context. The current winner of the vote is specified through the controller parameter. Your implementation of HitTest can decide if it wants to override the existing vote or leave it. The that contains event data. A that has indicated to handle the mouse event. A non-zero value if the button can and wants to handle the mouse event; 0 if the mouse event is unrelated for this button. Gets or sets HitTestSelectionEdge. Used internally. The name of this mouse controller. The cursor to be displayed. The provides the information about DataSource HitestInfo. Initializes a new instance of the class. The Grid control. The destination point. Raise the QueryCanOleDragRange event. the grid control. The range. Returns true when e.cancel is false , otherwise true. Provide the query accepted data options. Not implemented. Reserved for future use - possibly return options how to handle operation, e.g. EdgeScroll or implement this behavior itself. Initializes a new instance of the class. Implements a DataObject consumer for serialized GridData. Checks if the provided data are of type . Initializes a new object and associates it with a . The this object should be associated with. Queries the DataObject consumer if it knows how to handle the IDataObject. Provides data to be consumed. Another consumer that is capable of reading the data. Might be NULL. Reserved for future use. True if this consumer is able to read the data from . Queries the dimension in rows and columns of the data object. The data object. returns Dimension. Paste the contents of the data object at the specified cell coordinates. Provides data to be consumed. The row index. The column index. True if successful; False otherwise. Gets the name of the DataObject consumer. Implements a DataObject consumer for text data. Will handle data provided in DataFormats.Text and DataFormats.UnicodeText format. Initializes a new object and associates it with a . The this object should be associated with. Queries the DataObject consumer if it knows how to handle the IDataObject. Provides data to be consumed. Another consumer that is capable of reading the data. Might be NULL. Reserved for future use. True if this consumer is able to read the data from . Queries the dimension in rows and columns of the data object. Data object. returns Dimension. Paste the contents of the data object at the specified cell coordinates. Provides data to be consumed. The row index. The column index. True if successful; false otherwise. Gets the name of the DataObject consumer. Implements the DropTarget part for OLE drag-and-drop operations. You can add support for additional data formats by creating a class that implements IGridDataObjectConsumer and register an instance of this with . Initializes a new instance for the class. The grid control. Sets grid.Model.Options.DragDropDropTargetFlags Value for DragDropDropTargetFlags. Releases all resources used by the System.ComponentModel.Component. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. This event is fired when scrolling started. The source control. The that contains event data. Adds a IGridDataObjectConsumer. A object. Removes a IGridDataObjectConsumer. A object. Occurs when an object is dragged into the control's bounds. A holding the event data. Enable the edge scrolling. Specifies which scrollbar will be visible in control. Queries the accept data. The data object. returns IGridDataObjectConsumer Occurs when a drag-drop operation is completed. A holding the event data. Occurs when an object is dragged out of the control's bounds. The that contains event data. Occurs when an object is dragged over the control's bounds. The that contains event data. Drops the data at row col. The data object. Index of the row. Index of the col. returns boolean value Draw the outline on target location. the destination point. The Boolean value. The Boolean value. This should implement internal drag-and-drop inside a grid. Not implemented yet, since grid itself does not provide CopyCells and MoveCells functionality yet. Initializes a new instance of the class. Gets the info of accepting the data. format-independent mechanism for transferring data. order to participate as a possible DataObject consumer. query accepted data options The Boolean value. Used to determine the row,column count. format-independent mechanism for transferring data. The size of row column count. Drop the object at specified row, column index. format-independent mechanism for transferring data. The row index. The column index. The Boolean value. Gets the name as "Internal". Implements printing support for a grid. Use the following code for printing: GridPrintDocument pd = new GridPrintDocument(grid); //Assumes the default printer if (PrinterSettings.storedPageSettings != null) { pd.DefaultPageSettings = PrinterSettings.storedPageSettings ; } PrintDialog dlg = new PrintDialog() ; dlg.Document = pd; dlg.AllowSelection = true; dlg.AllowSomePages = true; DialogResult result = dlg.ShowDialog(); if (result == DialogResult.OK) { pd.Print(); } Use the following code for print preview: GridControlBase grid = ActiveGrid; GridPrintDocument pd = new GridPrintDocument(grid, true); //Assumes the default printer if (PrinterSettings.storedPageSettings != null) { pd.DefaultPageSettings = PrinterSettings.storedPageSettings ; } PrintPreviewDialog dlg = new PrintPreviewDialog() ; dlg.Document = pd; dlg.ShowDialog(); Initializes a new instance of the class. Initializes a new instance of the class for a grid. The parent grid for this object. Initializes a new for a grid. The parent grid for this object. True if print preview; False if printing. set the bool value for PageSettingsChanged This fired when start printing. The contains the event data. Override the OnPrintPage to provide the printing logic for the document. The that contains event data. Raises the System.Drawing.Printing.PrintDocument.EndPrint event. It is called when the last page of the document has printed. The that contains event data. Gets or sets the page numbers to print. Gets a value indicating whether this object is in print preview mode or if it is output to a printer. Gets or sets Grid will take this Bounds while calculating page breaks in the OnBeginPrint override. By default it uses PrintDocument's DefaultPageSettings.Bounds. Gets or sets ToplevelGroupCaption painting in GridGroupingControl. Gets or sets the page settings for HelperPageSettings Provides the support for drawing and caching bitmaps from a resource manifest with a given fore color. The bitmaps are loaded from the manifest and cached. The PaintIcon routine will substitute black pixels of the original bitmap and draw them with a specified fore color. Initializes a new object with manifestPrefix and a reference to the assembly to load bitmaps from. You should save this object in a static variable. The manifest to load from. The bitmaps should be saved in the Resources tree in the Visual Studio project with the build action set to "Embedded Resource". The assembly to load from. The bitmaps should be saved in the Resources tree in Visual Studio project with the build action set to "Embedded Resource". ValueComparer is used to sort the values based on the value type of the cells. compare the value for the sorting first object second object Returns the position. Implements the data / model part for a generic control cell. You typically access cell models through the property of the class. A can serve as model for several instances if a there are several views for a . See for more detailed information about this cell type. Initializes a new object. Initializes a new object and stores a reference to the this cell belongs to. The for this cell model. You typically access cell models through the property of the class. Initializes a new from a serialization stream. An object that holds all the data needed to serialize or de_serialize this instance. Describes the source and destination of the serialized stream specified by info. Creates a renderer for this cell model. The grid control. Cell renderer. Implements the renderer part of a generic control cell. Use the property to associate any windows forms control with this cell type. Be careful when sharing this cell type among several cells. In most cases, it will cause problems and you should assign a different control to each cell's GridRichControlEditCellRenderer is derived from GridStaticCellRenderer. It adds support for embedding any custom .NET control inside a cell. But if you want to draw the content of the cell yourself, deriving from GridStaticCellRenderers and overriding its OnDraw method should be enough. See the SliderCells, WebBrowserCells, and PictureBoxCells for samples of this cell type. The following table lists some characteristics about the Control cell type: Item Description CellType Control Renderer Model XP Themes Support NA Interactive Depends on embedded control Control Floating Support No Base Type The cell's behavior and appearance can be customized with the following properties of the class: PropertyName Description () The base style for this style instance with default values for properties that are not initialized for this style object. (Default: String.Empty) () Top, left, bottom, and right border settings. (Default: GridBordersInfo.Default) () Specifies if cell edges shall be drawn raised, sunken, or flat (default). (Default: GridCellAppearance.Flat) () ToolTip text to be displayed when user hovers mouse over cell. (Default: String.Empty) () Control (Default: Text Box) () This property holds the cell value. Although the cell value is typically a string, it can also be any other primitive type such as int, byte, enum, or any custom type that is derived from . (Default: String.Empty) () Specifies the preferred for cell values. When you assign a value to the object, the value will be converted to this type. If the value cannot be converted, will contain error information. (Default: NULL) () A custom control you can associate with a cell. (Default: NULL) () Specifies if the cell can be activated as current cell or if the cell should be skipped when moving the current cell. (Default: True) () Holds error information if a value could not be converted to the specified with . (Default: String.Empty) () Lets you specify a solid backColor, gradient, or pattern style with both back and foreColor for a cells background. (Default: SystemColors.Window) () Specifies if cell contents can be modified by the user. You can programatically change Read-only cells by setting to True. (Default: False) Initializes a new GridRichControlEditCellRenderer object for the given GridControlBase and GridCellModelBase. The that display this cell renderer. The that holds data for this cell renderer that should be shared among views. References to GridControlBase and GridCellModelBase will be saved. Used to change the behavior of the scroll into view The provides the value to use for events Event handler for the event of the . The source of the event. The that contains event data. Event handler for the event of the . The source of the event. The that contains event data. Used to assign all the rich text format code. The Used to assign all the rich text format code. The The text which is going to be paint in RichTextBox. Used to change the behavior of the OnButtonClicked event used to get the row value of the cell used to get the column value of the cell used to get the button value Used to start resizing for cell. The The resizing Used to stop resizing for cell. Used to change control buffered state to un buffered. The Parents the control to the grid instance and ensures correct settings for , , and . The control that is shown in this cell. Used to change the behavior of the CellLayout event Used to change the behavior of the DrawCellAppearance event Represents the GDI+ surfaces Represents the location and size of the rectangle Used to store all the information of the cell Used to change the behavior of the ShouldRefreshCurrentCell event Used to change the behavior of the OnActivated event Used to change the behavior of the ControlLostFocus event Represents the root of the hierarchy provides the value to use for events Used to change the behavior of the OnEditingComplete event This method is called from the cell renderer's draw method to draw the contents of the client bounds for the cell, e.g. the text for a static cell. Points to the device context. Specifies the client rectangle. It is the cell rectangle without buttons and borders. Specifies the row id. Specifies the column id. A reference to the style object of the cell. When drawing cells, it is necessary to determine if the specified cell (with rowIndex and colIndex) is the current cell and if it is active. If your control is associated with a control and supports in-place editing and the specified cell is the current cell, you should position the control. Take a look at the GridTextBoxCellRenderer implementation of this method for an example. Otherwise, you can simply draw the cell. This is called from GridCurrentCell.Activate after the activating event has been raised and allows interception of cell activation. The row index. The column index. True is cell can be activated; False otherwise. Hides the control. Override this method if your cell renderer supports in-place editing and you want to do any custom initialization at this point before cell gets redrawn. The default behavior of this virtual method is to force a redraw of the current cell. A cell can then initialize an edit control and set focus in the OnDraw method call. This method gets called from the cell renderer's initialize method. Override this method if you need to any initialization for the current cell. The row index. The column index. This is called from GridSelectCellsMouseController when the user clicked inside a cell. The row index. The column index. A with data about the mouse event. Gets or sets the value of control to the passedControl. A class that encapsulates loading animation behavioral attributes with bounded UI control for long running operations. Initializes the static variables defined. Wires the control with the loading indicator and starts the animation. Any UI Control that requires long running operations to perform. Unwires the control from the loading indicator and stops the animation. Any UI Control that requires long running operations to perform. A method that initiates the loading animation. A method that paints the loading indicator over the wired control. Wired Control. A method that invokes the loading animation aside during long running operation in wired control. sender event argument Gets or Sets Animated Image(with multiple frames). The Syncfusion.Windows.Forms.Grid.Formulas namespace contains the classes that provides functionality of computing and parsing the formulas. Encapsulates the code required to parse and compute formulas. Hash table properties maintain a Formula Library of functions as well as a list of dependent cells. You can add and remove library functions. Used for formatting and parsing numeric values Gets the text properties and behaviors that are specific to the writing system. Displays information on the cell currently being calculated. String with information on the cell currently being calculated. Initializes a new instance of the class. The contents of the grid can be rendered to the screen. String array that holds the strings used in error messages within the Formula Engine. If you want to change the error messages displayed within the Formula Engine, you can set your new strings into the appropriate position in the FormulaErrorStrings array. Here is the code that shows the default settings. You should assign your new strings to the corresponding positions. Here is the code that shows position of each string in FormulaErrorStrings. public string[] FormulaErrorStrings = new string[] { "binary operators cannot start an expression", //0 "cannot parse", //1 "bad library", //2 "invalid char in front of", //3 "number contains 2 decimal points", //4 "expression cannot end with an operator", //5 "invalid characters following an operator", //6 "invalid character in number", //7 "mismatched parentheses", //8 "unknown formula name", //9 "requires a single argument", //10 "requires 3 arguments", //11 "invalid Math argument", //12 "requires 2 arguments", //13 "bad index", //14 "too complex", //15 "circular reference: ", //16 "missing formula", //17 "improper formula", //18 "invalid expression", //19 "cell empty", //20 "empty expression", //21 "mismatched string tics", //22 "named functions not supported in expressions", //23 "not a formula", //24 "missing operand" //25 }; Initialize and ensure the field descriptor values. Loads item properties from the table descriptor and creates tokens that can be used in compiled expressions. Returns a string in the format "A, B, C, ... AA, AB ..." to be used for column labels. The column index. A string that contains the column label for the column index. Replaces column references with tokens. The formula expression. A prepared expression string. Compute values for the record in the datasource. The pre-compiled formula expression. The row value of the record. The column value of the record The name of the expression being computed. The resulting value. This example shows how compute the value of the parsed value with the given cell index and parsed value. void gridControl1_CellClick(object sender, GridCellClickEventArgs e) { // Creating the instances of the ExpressionFieldEvaluator and assigning the GridModel. ExpressionFieldEvaluator expression = new ExpressionFieldEvaluator(this.gridControl1.Model); // The expression to be parsed. string expressionName = "=((8+6)*(2))"; // The parsed value of the expression. string parsedValue = expression.Parse(expressionName); // The resultant value. string computedValue = expression.ComputeFormulaValueAt(parsedValue, e.RowIndex, e.ColIndex, expressionName); Console.WriteLine("The parsed string from the given string is " + computedValue); } Private Sub gridControl1_CellClick(ByVal sender As Object, ByVal e As GridCellClickEventArgs) ' Creating the instances of the ExpressionFieldEvaluator and assigning the GridModel. Dim expression As New ExpressionFieldEvaluator(Me.gridControl1.Model) ' The expression to be parsed. Dim expressionName As String = "=((8+6)*(2))" ' The parsed value of the expression. Dim parsedValue As String = expression.Parse(expressionName) ' The resultant value. Dim computedValue As String = expression.ComputeFormulaValueAt(parsedValue, e.RowIndex, e.ColIndex, expressionName) End Sub Compute values for the record of inner formulas. The pre-compiled formula expression. The resulting value. This example shows how to compute the value of the given parsed value. // Creating the instances of the ExpressionFieldEvaluator and assigning the GridModel. ExpressionFieldEvaluator expression = new ExpressionFieldEvaluator(this.gridControl1.Model); Parses the given valid string. string parsedString = expression.Parse("=((8+6)*(2))"); Console.WriteLine("The parsed string from the given string is " + parsedString); // Computes the parsed given string into the required result. parsedString = expression.ComputeFormulaValueAt(parsedString); Console.WriteLine("The parsed string from the given string is " + parsedString); ' Creating the instances of the ExpressionFieldEvaluator and assigning the GridModel. Dim expression As New ExpressionFieldEvaluator(Me.gridControl1.Model) ' Parses the given valid string. Dim parsedString As String = expression.Parse("=((8+6)*(2))") ' Computes the parsed given string into the required result. parsedString = expression.ComputeFormulaValueAt(parsedString) Compute values for the record in the datasource. The pre-compiled formula expression. The row value of the record. The column value of the record. The resulting value. This example shows how to compute the value at a specific cell index with the parsed string value. void gridControl1_CellClick(object sender, GridCellClickEventArgs e) { // Creating the instances of the ExpressionFieldEvaluator and assigning the GridModel. ExpressionFieldEvaluator expression = new ExpressionFieldEvaluator(this.gridControl1.Model); this.gridControl1[e.RowIndex, e.ColIndex].CellValue = "=((8+6)*(2))"; // Parses the given string at the specified cell index. string parsedFormula = expression.Parse(this.gridControl1[e.RowIndex, e.ColIndex].CellValue.ToString()); // Computes the parsed given string into the required result. string parsedString = expression.ComputeFormulaValueAt(parsedFormula,e.RowIndex, e.ColIndex); Console.WriteLine("The parsed string from the given string is " + parsedString); } Private Sub gridControl1_CellClick(ByVal sender As Object, ByVal e As GridCellClickEventArgs) ' Creating the instances of the ExpressionFieldEvaluator and assigning the GridModel. Dim expression As New ExpressionFieldEvaluator(Me.gridControl1.Model) Me.gridControl1(e.RowIndex, e.ColIndex).CellValue = "=((8+6)*(2))" ' Parses the given string at the specified cell index. Dim parsedFormula As String = expression.Parse(Me.gridControl1(e.RowIndex, e.ColIndex).CellValue.ToString()) ' Computes the parsed given string into the required result. Dim parsedString As String = expression.ComputeFormulaValueAt(parsedFormula,e.RowIndex, e.ColIndex) End Sub Returns the value for the specified field / token from the record. The column token. The value from the record. Save the strings in hash table. The formula string. Returns the stored hash table. set the string from hash table. The string value. The hash table. Used to split the string Gets the string Returns the parsed string. This example shows how to use the Parse method. // Creating the instances of the ExpressionFieldEvaluator and assigning the GridModel. ExpressionFieldEvaluator expression = new ExpressionFieldEvaluator(this.gridControl1.Model); // Parses the given valid string. string parsedString = expression.Parse("=((8+6)*(2))"); Console.WriteLine("The parsed string from the given string is " + parsedString); ' Creating the instances of the ExpressionFieldEvaluator and assigning the GridModel. Dim expression As New ExpressionFieldEvaluator(Me.gridControl1.Model) ' Parses the given valid string. Dim parsedString As String = expression.Parse("=((8+6)*(2))") Look for inner matching and parse pieces without parenthesis with ParseSimple The formula text. It parse the formula for library function. formula to compute parsed formula with functions. Determine whether the given text is function or not. The Formula text. Returns true if it is function, otherwise return false. Adds a function to the Function Library. The name of the function to be added. The function to be added. True if successfully added, False otherwise. LibraryFunction is a delegate the defines the signature of functions that you can add to the Function Library. Adding a custom function requires two steps. The first is to register a name and LibraryFunction delegate with the ExpressionFielEvaluator object. The second step is to add a method to your code that implements the LibraryFunction delegate to perform the calculations you want done. There are restrictions on the use Functions within expressions. Functions can only be used stand-alone. They cannot be used as part of a more complex expression. So, "Func([Col1], 2*[Col2]+1)" is a valid use of a function named Func that accepts two arguments. But "2 * Func([Col1], 2*[Col2]+1) + 1" is not valid. If you need to use functions in algebraic expressions, then first add an Expression field that uses the function stand-alone. Then in your algebraic expression, you can refer to this Expression field. Argument used in library function calls, can be any algebraic combination of fields and constants, but they cannot contain function references. During calculations, the arguments are fully evaluated before being passed into the method you implement. In the sample below, ComputeFunc is the name of the method we add to our code to compute the function value. Func is the string name that we use in an expression to reference the custom function as in "Func([Col1], [Col2])". // step 1 - register the function name and delegate ExpressionFieldEvaluator evaluator = this.groupingEngine.TableDescriptor.ExpressionFieldEvaluator;//.CreateExpressionFieldEvaluator(this.groupingEngine.TableDescriptor); evaluator.AddFunction("Func", new ExpressionFieldEvaluator.LibraryFunction(ComputeFunc)); //. . . // step 1 - defining the method // Computes the absolute value of arg1-2*arg2 // parameter s- a list of 2 arguments // returns string holding computed value public string ComputeFunc(string s) { //get the list delimiter (for en-us, its is a comma) char comma = Convert.ToChar(this.gridGroupingControl1.Culture.TextInfo.ListSeparator); string[] ss = s.Split(comma); if(ss.GetLength(0) != 2) throw new ArgumentException("Requires 2 arguments."); double arg1, arg2; if(double.TryParse(ss[0], System.Globalization.NumberStyles.Any, null, out arg1) && double.TryParse(ss[1], System.Globalization.NumberStyles.Any, null, out arg2)) { return Math.Abs(arg1 - 2 * arg2).ToString(); } return ""; } ' step 1 - register the function name and delegate Dim evaluator As ExpressionFieldEvaluator = Me.groupingEngine.TableDescriptor.ExpressionFieldEvaluator evaluator.AddFunction("Func", New ExpressionFieldEvaluator.LibraryFunction(AddressOf ComputeFunc)) '. . . ' step 1 - defining the method ' Computes the absolute value of arg1-2*arg2 ' parameter s- a list of 2 arguments ' returns string holding computed value Public Function ComputeFunc(s As String) As String 'get the list delimiter (for en-us, its is a comma) Dim comma As Char = Convert.ToChar(Me.gridGroupingControl1.Culture.TextInfo.ListSeparator) Dim ss As String() = s.Split(comma) If ss.GetLength(0) <> 2 Then Throw New ArgumentException("Requires 2 arguments.") End If Dim arg1, arg2 As Double If Double.TryParse(ss(0), System.Globalization.NumberStyles.Any, Nothing, arg1) _ AndAlso Double.TryParse(ss(1), System.Globalization.NumberStyles.Any, Nothing, arg2) Then Return Math.Abs((arg1 - 2 * arg2)).ToString() End If Return "" End Function 'ComputeFunc Removes a function from the Function Library. The name of the function to be removed. True if successfully removed, False otherwise. This example shows how to remove the function with the specified Function name. // Creating the instances of the ExpressionFieldEvaluator and assigning the GridModel. ExpressionFieldEvaluator expression = new ExpressionFieldEvaluator(this.gridControl1.Model); // Removes the function from the library. expression.RemoveFunction("Add"); ' Creating the instances of the ExpressionFieldEvaluator and assigning the GridModel. Dim expression As New ExpressionFieldEvaluator(Me.gridControl1.Model) ' Removes the function from the library. expression.RemoveFunction("Add") Parse the given text. The text Returns the modified string. Parse the text by using markers and operators. The text The character array markers. The operators array. Returns the modified string. Computes the interior functions. The given formula string. Returns the result. Checks if an expression formula is valid for a particular host expression. The name of the host ExpressionFieldDescriptor. The formula. Returns the error string, if any. True if formula is valid, false otherwise. Format the computed value. The formula string. The formatted computed value. Converts the object to string. The Object. Returns converted string. Removes and returns the object at the top of the System.Collections.Stack. The stack. Returns the pop out value. Removes and returns the string at the top of the System.Collections.Stack. The stack. Returns the pop out string. Determine whether the given number is equal or not. The firs number d1. The second number d2. Returns true if equal, otherwise returns false. Gets the culture information. Specifies the maximum number of recursive calls that can be used to compute a value. This property comes into play when you have a calculated formula cell that depends on another calculated formula that depends on another calculated formula and so on. If the number of 'depends on another formula' exceeds MaximumRecursiveCalls, you will see a Too Complex message displayed in the cell. The default value is 20, but you can set it higher or lower depending upon your expected needs. The purpose of the limit is to avoid a circular reference locking up your application. This example shows how to use the MaximumRecursiveCalls property. // Creating the instances of the ExpressionFieldEvaluator and assigning the GridModel. ExpressionFieldEvaluator expression = new ExpressionFieldEvaluator(this.gridControl1.Model); int call = expression.MaximumRecursiveCalls = 5; Console.WriteLine("The maximum recursive calls allowed is " + call); ' Creating the instances of the ExpressionFieldEvaluator and assigning the GridModel. Dim expression As New ExpressionFieldEvaluator(Me.gridControl1.Model) Dim[call] As Integer = expression.MaximumRecursiveCalls = 5 A hash table whose keys are function names and whose values are LibraryFunction delegates. Delegate for custom functions used with . Provides a set of advanced GDI Interop drawing routines that can be used instead of GDI plus routines to optimize drawing performance of the grid. Call these methods from and as shown in example. You might also try turning off double buffering. protected override void OnDrawCellDisplayText(GridDrawCellDisplayTextEventArgs e) { base.OnDrawCellDisplayText (e); GridGdiPaint.AllowTextOut = false; if (!e.Cancel) e.Cancel = GridGdiPaint.Instance.DrawText(e.Graphics, e.DisplayText, e.TextRectangle, e.Style); } protected override void OnFillRectangleHook(GridFillRectangleHookEventArgs e) { base.OnFillRectangleHook (e); if (!e.Cancel) e.Cancel = GridGdiPaint.Instance.FillRectangle(e.Graphics, e.Bounds, e.Brush); } - Or - public class PerformanceGridControl : GridControl { private bool useGDI; /// /// Property UseGDI (bool) /// public bool UseGDI { get { return this.useGDI; } set { if (this.UseGDI != value) { this.useGDI = value; Invalidate(); } } } private bool useDoubleBuffer = true; public bool UseDoubleBuffer { get { return this.useDoubleBuffer; } set { if (this.useDoubleBuffer != value) { this.useDoubleBuffer = value; SetStyle(ControlStyles.Opaque, value); SetStyle(ControlStyles.DoubleBuffer, value); } } } protected override void OnPaintBackground(PaintEventArgs pevent) { if (useDoubleBuffer) base.OnPaintBackground (pevent); } protected override void OnDrawCellDisplayText(GridDrawCellDisplayTextEventArgs e) { base.OnDrawCellDisplayText (e); if (!useGDI || e.Cancel) return; e.Cancel = GridGdiPaint.Instance.DrawText(e.Graphics, e.DisplayText, e.TextRectangle, e.Style); } protected override void OnFillRectangleHook(GridFillRectangleHookEventArgs e) { base.OnFillRectangleHook (e); if (!useGDI || e.Cancel) return; e.Cancel = GridGdiPaint.Instance.FillRectangle(e.Graphics, e.Bounds, e.Brush); } } Specifies if GDI TextOut routine can be used as is when text is left-aligned and top-aligned. Set this false if text might need to be clipped. Specifies if GDI DrawText routine should always be used and text should be clipped. When you set this true the performance of the GDI drawing routine will be the same as for GDIplus DrawString since text needs to be clipped every time it is drawn. If you want to force GDI DrawText on a cell by cell basis you can specify style.Trimming = System.Drawing.StringTrimming.Character instead and leave ForceDrawText = false. Initializes a new instance of the class. This event fired when the application finishes processing and is about to enter the idle state. The source control. The that contains event data. Draws the text emulating the Graphics.DrawString method if possible. Draws the text emulating the Graphics.DrawString method if possible. Graphics context. Display text. Text rectangle. Cell style information. true if text could be painted; false if text could not be painted (e.g. because it needs to be drawn rotated). protected override void OnDrawCellDisplayText(GridDrawCellDisplayTextEventArgs e) { base.OnDrawCellDisplayText (e); GridGdiPaint.AllowTextOut = false; if (!e.Cancel) e.Cancel = GridGdiPaint.Instance.DrawText(e.Graphics, e.DisplayText, e.TextRectangle, e.Style, e.Bounds); } protected override void OnFillRectangleHook(GridFillRectangleHookEventArgs e) { base.OnFillRectangleHook (e); if (!e.Cancel) e.Cancel = GridGdiPaint.Instance.FillRectangle(e.Graphics, e.Bounds, e.Brush); } Draws the text emulating the Graphics.DrawString method if possible. Graphics context. Display text. Text rectangle. Cell style information. The clip bounds of the text. When empty or same as textRectangle there will be no explicit clipping (but this does not affect DT_NOCLIP setting of GDI DrawText routine). If specified then output will be clipped by setting IntersectClipRect and DT_NOCLIP option is used for DrawText. true if text could be painted; false if text could not be painted (e.g. because it needs to be drawn rotated). protected override void OnDrawCellDisplayText(GridDrawCellDisplayTextEventArgs e) { base.OnDrawCellDisplayText (e); GridGdiPaint.AllowTextOut = false; if (!e.Cancel) { GridControlBase grid = (GridControlBase) sender; Rectangle clipBounds = grid.ViewLayout.RangeInfoToRectangle(GridRangeInfo.Cell(e.Style.CellIdentity.RowIndex, e.Style.CellIdentity.ColIndex), GridCellSizeKind.VisibleSize); e.Cancel = GridGdiPaint.Instance.DrawText(e.Graphics, e.DisplayText, e.TextRectangle, e.Style, e.Bounds, clipBounds); } } protected override void OnFillRectangleHook(GridFillRectangleHookEventArgs e) { base.OnFillRectangleHook (e); if (!e.Cancel) e.Cancel = GridGdiPaint.Instance.FillRectangle(e.Graphics, e.Bounds, e.Brush); } Draws the text emulating the Graphics.DrawString method if possible. Graphics context. Display text. Text rectangle. Cell style information. The clip bounds of the text. When empty or same as textRectangle there will be no explicit clipping (but this does not affect DT_NOCLIP setting of GDI DrawText routine). If specified then output will be clipped by setting IntersectClipRect and DT_NOCLIP option is used for DrawText. true for RTL languages, false if left to right. Affects Horizontal Alignemnt. true if text could be painted; false if text could not be painted (e.g. because it needs to be drawn rotated). protected override void OnDrawCellDisplayText(GridDrawCellDisplayTextEventArgs e) { base.OnDrawCellDisplayText (e); GridGdiPaint.AllowTextOut = false; if (!e.Cancel) { GridControlBase grid = (GridControlBase) sender; Rectangle clipBounds = grid.ViewLayout.RangeInfoToRectangle(GridRangeInfo.Cell(e.Style.CellIdentity.RowIndex, e.Style.CellIdentity.ColIndex), GridCellSizeKind.VisibleSize); e.Cancel = GridGdiPaint.Instance.DrawText(e.Graphics, e.DisplayText, e.TextRectangle, e.Style, e.Bounds, clipBounds); } } protected override void OnFillRectangleHook(GridFillRectangleHookEventArgs e) { base.OnFillRectangleHook (e); if (!e.Cancel) e.Cancel = GridGdiPaint.Instance.FillRectangle(e.Graphics, e.Bounds, e.Brush); } Fills the specified rectangle with the specified brush emulating Graphics.FillRectangle method Graphics context. Rectangle bounds. Fill brush. true if text could be painted; false if text could not be painted (e.g. color is alphablended or gradient). protected override void OnDrawCellDisplayText(GridDrawCellDisplayTextEventArgs e) { base.OnDrawCellDisplayText (e); GridGdiPaint.AllowTextOut = false; if (!e.Cancel) e.Cancel = GridGdiPaint.Instance.DrawText(e.Graphics, e.DisplayText, e.TextRectangle, e.Style); } protected override void OnFillRectangleHook(GridFillRectangleHookEventArgs e) { base.OnFillRectangleHook (e); if (!e.Cancel) e.Cancel = GridGdiPaint.Instance.FillRectangle(e.Graphics, e.Bounds, e.Brush); } Computes its line breaks. used to represent a pointer. The string The rectangle. The format number. The array used to store line breaks. The array used to store line length. Number of maximum breaks. Returns line breaks count. Used to get multi line break count. used to represent a pointer. The format string. Count Rectangle. The number of format. REturns the multi line text break count. Draw the text like multi line edit. used to represent a pointer. The format string. Rectangle. The number of format. The clip rectangle. 0 creates the new font. The Returns the font creates the new font. The instance. Returns the font creates the instance for brush. The Returns the Gets an instance of this calls provides all the information regarding to font. Initializes a new instance of the class. The Represent pointer or handle. Releases all resources used by the System.ComponentModel.Component. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Gets or sets the HFont. provides all the information regarding to HBrush. Initializes a new instance of the class. The Represent pointer or handle. Releases all resources used by the System.ComponentModel.Component. to release both managed and unmanaged resources; to release only unmanaged resources. See the documentation for the class and its Dispose member. Gets or sets the implements Unsafe native method functionality. implements native method functionality. Initializes a new instance of the class. create dc. Returns pointer or handle Retrieves the high-order word from the specified 32-bit value. The value to be converted. Returns converted value. Retrieves the low-order word from the specified 32-bit value. The value to be converted. Returns converted value. Calls LOWORD method. Pointer value. returns the result of HIWORD method. Calls HIWORD method. Pointer value. returns the result of HIWORD method. MAKELPARAM The low value. The High value. Returns the pointer or handle. Sends a WM_LBUTTONDOWN and WM_LBUTTONUP message to the control at the specified client coordinates. The target control The client coordinates where to simulate the click Convert RGB to Color reference. The rgb value rgb value Convert Color reference to RGB. The colorRef value rgb value Gets the red value. color value. Returns the rgb value. Gets the green value. color value. Returns the rgb value. Gets the blue value. color value. Returns the rgb value. The CreateFontIndirect function creates a logical font that has the specified characteristics. The font can subsequently be selected as the current font for any device context. A pointer to a LOGFONT structure that defines the characteristics of the logical font. If the function succeeds, the return value is a handle to a logical font.If the function fails, the return value is NULL. Holds rectangle bottom, left,top, right values. Gets or sets the rectangle properties. Assigns rectangle left, top,right, bottom values. The left value. The top value. The right value. The bottom value. creates the new rectangle by using x,y width and height values. The x coordinate value. The y coordinate value. The width. The height. overridden to change the toString() for concat the let , top , right, bottom values. Gets the width from right and left value. Gets the height value by using bottom and top value. Implements the tool info properties. Implements the IMAGELISTDRAWPARAMS info properties. Implements the INITCOMMONCONTROLSEX info properties. Implements the CPWSTRUCT info properties. Implements the CPWRETSTRUCT info properties. Implements the MSG info properties. Implements the MOUSEHOOKSTRUCT info properties. GridReflectScrollBar It will reflect grid brush. RichTextbox3. Holds size properties. Provides the support for region cracker. Cracks region data. The pointer value. Returns the native method rectangle. Get the rectangle bounds. The buffer array. cbHeader count. The count. Returns the native method rectangle. Convert to int. The buffer value. The offset value. Returns the converted int value. Instance of SR provides localized access to string resources specific from the assembly manifest Syncfusion.Windows.Forms.Grid.SR.resources This reads the string from the satellite assemblies and used it in the program. If the satellite Assemblies are not present, then the resources are read from SR.resources. Specifies the culture of the Application. Specifies the string for which localization has to be applied. Arguments in the type of object. Gets the localized string for the given string. The string that has to be localized. Returns the localized string in the type string. Gets the localized string. The string that has to be localized. Arguments in the type of object. The localized string in the type of string. Gets the localized string for the given string. Specified the culture into which the string has to be localized. Arguments in the type of object. The localized string in the type of string. Gets the localized string for the given string. Specifies the culture into which the string has to be localized. Arguments in the type of object. The localized string in the type of string. Gets the localized string for the given string. string that has to be localized. Returns the boolean value for the string. Specifies the culture into which the string has to be localized. The string that has to be localized. The boolean value for the string. Returns the boolean value for the string. The string that has to be localized. The boolean value for the string. Returns the Byte value for the string. Specifies the culture into which the string has to be localized. The string that has to be localized. The byte value for the string. Gets the localized string for the given string. string that has to be localized. The byte value for the string. Get the localized character for the given string. The specific culture. The string which is need to localized. Localized character. Returns the Char value for the string. The string that has to be localized. The char value for the string. Returns the Double value for the string. Specifies the culture into which the string has to be localized. The string that has to be localized. The double value for the string. Gets the localized string for the given string. string that has to be localized. The double value for the string. Returns the Float value for the string. Specifies the culture into which the string has to be localized. The string that has to be localized. The float value for the string. Gets the localized string for the given string. string that has to be localized. The float value for the string. Returns the integer value for the string. The string that has to be localized. The integer value for the string. Returns the integer value for the string. Specifies the culture into which the string has to be localized. The string that has to be localized. The integer value for the string. Gets the localized string for the given string. string that has to be localized. The long value for the string. Returns the Long value for the string. Specifies the culture into which the string has to be localized. The string that has to be localized. The long value for the string. Returns the short value for the string. Specifies the culture into which the string has to be localized. The string that has to be localized. The short value for the string. Gets the localized string for the given string. string that has to be localized. The short value for the string. Specifies the category in which the property or event will be displayed in a visual designer. This is a localized version of CategoryAttribute. The localized string will be loaded from the assembly manifest Syncfusion.Windows.Forms.Grid.SR.resources Initializes a new instance of the class with category. The Category name. Gets the localized string for the given string. The string that has to be localized. Returns the localized string in the type string. Specifies a description for a property or event. This is a localized version of DescriptionAttribute. The localized string will be loaded from the assembly manifest Syncfusion.Windows.Forms.Grid.SR.resources Initializes a new instance of the class. The description. Gets the description stored in this attribute. class for the constant string value of GridResourceIdentifiers FilterBarAll string value for BitVectorFull ColorEditorPaletteTab ColorEditorStandardTab ColorEditorSystemTab CommandAddCoveredRanges CommandChangeCells CommandColumnWidth CommandDefaultSizeColumn CommandDefaultSizeRow CommandFixedCountColumn CommandFixedCountRow CommandHeaderCountColumn CommandHeaderCountRow CommandHideColumn CommandHideRow CommandInsertColumn CommandInsertRow CommandMoveColumn CommandMoveRow CommandRemoveColumn CommandRemoveCoveredRanges CommandRemoveRow CommandRowHeight DateTimeFormat_D DateTimeFormat_dd DateTimeFormat_F DateTimeFormat_ff DateTimeFormat_G DateTimeFormat_gg DateTimeFormat_M DateTimeFormat_R DateTimeFormat_ss DateTimeFormat_T DateTimeFormat_tt DateTimeFormat_U DateTimeFormat_uu DateTimeFormat_Y DescriptionChangeCells DescriptionInsertColumn DescriptionInsertRow DescriptionMoveColumn DescriptionMoveRow DescriptionRemoveColumn DescriptionRemoveRow EnumFormat_D EnumFormat_G EnumFormat_X Error ExceptionDataRangeDiffColCount ExceptionDataRangeDiffRowCount GeneralFormat_G GRID_IDM_CLEARDATA GRID_IDM_COPYINTERNAL GRID_IDM_CUTDATA GRID_IDM_DRAGDROP_COPY GRID_IDM_DRAGDROP_MOVE GRID_IDM_PASTEDATA GRID_IDM_PASTEDIFFRANGE GRID_IDM_PASTINGDATA GRID_IDM_REMOVECOLS GRID_IDM_REMOVEROWS GRID_IDM_RESIZECOLS GRID_IDM_RESIZEROWS GRID_IDS_COLOR_BACKGROUND GRID_IDS_COLOR_DRAGGINGLINE GRID_IDS_COLOR_FIXEDLINES GRID_IDS_COLOR_GRIDLINES GRID_IDS_COLOR_TRACKINGLINE GRID_IDS_INVERTDRAWBORDER GRID_IDS_INVERTNOBORDER GRID_IDS_INVERTNORMAL GRID_IDS_INVERTTHICK GRID_IDS_INVERTTHICK GRID_IDS_OUTLINECURRENTCELL GridCheckBoxCellModel GridCheckBoxCellModelDesc GridComboBoxCellModel GridComboBoxCellModelDesc GridControlName GridCustomStyleProperty_CheckBoxState GridCustomStyleProperty_NumberFormatInfo GridCustomStyleProperty_NumericUpDown GridCustomStyleProperty_ParseInfo GridCustomStyleProperty_Validation GridDesignerCodeGenFailed GridDesignerGeneratedCode GridDesignerNoCode GridDesignerNoSelection GridDesignerStateChangeFailed GridDesignerTemplateExportFailed GridDesignerTemplateImportFailed GridDragButtonCellModel GridDragButtonCellModelDesc GridDropDownCellModel GridDropDownCellModelDesc GridDropDownColorUICellModel GridDropDownColorUICellModelDesc GridDropDownGridCellModel GridDropDownGridCellModelDesc GridDropDownHeaderCellModel GridDropDownHeaderCellModelDesc GridDropDownMonthCalendarCellModel GridDropDownMonthCalendarCellModelDesc GridDropDownRichTextBoxCellModel GridDropDownRichTextBoxCellModelDesc GridHeaderCellModel GridHeaderCellModelDesc GridNumericUpDownCellModel GridNumericUpDownCellModelDesc GridPushButtonCellModel GridPushButtonCellModelDesc GridStaticCellModel GridStaticCellModelDesc GridStyleCategoryAlignment GridStyleCategoryAppearance GridStyleCategoryBehavior GridStyleCategoryDisplay GridStyleCategoryGraphics GridStyleCategoryStyle GridStyleCategoryUser GridStyleCategoryValue GridTextBoxCellModel GridTextBoxCellModelDesc InvalidOperation_GridCellNotInitialized ModName NumberFormat_C NumberFormat_D NumberFormat_E NumberFormat_F NumberFormat_G NumberFormat_N NumberFormat_P NumberFormat_R NumberFormat_X StyleCategoryAppearance StyleCategoryBehavior StyleCategoryStyle StyleCategoryValue Test TextParseFailedFormat TopLeftBottomRight Cannotchangepartofamergedcell SpecifiedTextWasNotFound SearchResults FindReachedTheStartingPointOfTheSearch GridFindAndReplaceReplaceAll GridFindAndReplaceReplaceWith GridFindAndReplaceSearchUp GridFindAndReplaceMatchCase GridFindAndReplaceFindWhat GridFindAndReplaceMatchWholeCell Close GridFindAndReplace GridFindAndReplaceFindNext DoYouWantToReplaceTheContentsOfTheDestinationCellsIfAny Request UnabletoLoadImage LoadFailed AnErrorOccurredAttemptingToPreviewtheFiletoprint AnErrorOccurred FileSaved UnabletoLoadtheSavedTemplate LoadFailure WholeTable ColumnOnly SelectionOnly GridFindReplaceDialog Copy the series when Excel- like selection is enabled Fill the series when Excel- like selection is enabled A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to An error occurred -. Looks up a localized string similar to An error occurred attempting to preview the file to print -. Looks up a localized string similar to Bit vector is full.. Looks up a localized string similar to Cannot change part of a merged cell!. Looks up a localized string similar to Close. Looks up a localized string similar to Palette. Looks up a localized string similar to Web. Looks up a localized string similar to System. Looks up a localized string similar to ColumnOnly. Looks up a localized string similar to Add Covered Ranges {0}. Looks up a localized string similar to Change Cells {0}. Looks up a localized string similar to Column Width {0} to {1}. Looks up a localized string similar to Change Default Column Width {0}. Looks up a localized string similar to Change Default Row Height to {0}. Looks up a localized string similar to {0} Fixed Columms. Looks up a localized string similar to {0} Fixed Rows. Looks up a localized string similar to {0} Header Columms. Looks up a localized string similar to {0} Header Rows. Looks up a localized string similar to Hide Column {0} to {1}. Looks up a localized string similar to Hide Row {0} to {1}. Looks up a localized string similar to Insert {0} columns at column {1}. Looks up a localized string similar to Insert {0} rows at row {1}. Looks up a localized string similar to Move {1} column from {0} to {2}. Looks up a localized string similar to Move {1} row from {0} to {2}. Looks up a localized string similar to Remove Column {0} to {1}. Looks up a localized string similar to Remove Covered Ranges {0}. Looks up a localized string similar to Remove Row {0} to {1}. Looks up a localized string similar to Row Height {0} to {1}. Looks up a localized string similar to Long date pattern. dddd, MMMM dd, yyyy. Looks up a localized string similar to Short date pattern. M/d/yyyy. Looks up a localized string similar to Full date/time pattern (long date + long time). dddd, MMMM dd, yyyy HH:mm:ss aa. Looks up a localized string similar to Full (long date + short time). dddd, MMMM dd, yyyy HH:mm aa. Looks up a localized string similar to General (short date + long time). M/d/yyyy HH:mm:ss aa. Looks up a localized string similar to General (short date + short time). M/d/yyyy HH:mm aa. Looks up a localized string similar to Month day pattern. MMMM dd. Looks up a localized string similar to RFC1123 pattern. ddd, dd MMM yyyy HH':'mm':'ss'GMT'. Looks up a localized string similar to Sortable date/time pattern; conforms to ISO 8601. yyyy-MM-dd HH:mm:ss. Looks up a localized string similar to Long time pattern. HH:mm:ss aa. Looks up a localized string similar to Short time pattern. HH:mm aa. Looks up a localized string similar to Universal sortable date/time pattern. dddd, MMMM dd, yyyy HH:mm:ss aa. Looks up a localized string similar to Similar to 's' but uses universal time instead of local time. yyyy-MM-dd -. Looks up a localized string similar to Year month pattern. MMMM, yyyy. Looks up a localized string similar to Changing Cells {0}. Looks up a localized string similar to Inserting {0} columns at column {1}. Looks up a localized string similar to Inserting {0} rows at row {1}. Looks up a localized string similar to Moving {1} column from {0} to {2}. Looks up a localized string similar to Moving {1} row from {0} to {2}. Looks up a localized string similar to Removing Column {0} to {1}. Looks up a localized string similar to Removing Row {0} to {1}. Looks up a localized string similar to Do you want to replace the contents of the destination cells, if any?. Looks up a localized string similar to Represents value in decimal.. Looks up a localized string similar to General format Variable.. Looks up a localized string similar to Represents value in hexadecimal without a leading "0x". Looks up a localized string similar to Simulating Error.. Looks up a localized string similar to data has different row count than range. Looks up a localized string similar to data has different row count than range. Looks up a localized string similar to File saved. Looks up a localized string similar to Find reached the starting point of the search.. Looks up a localized string similar to General format Variable.. Looks up a localized string similar to Clear Cells. Looks up a localized string similar to Copying internal format .... Looks up a localized string similar to Cut Data.. Looks up a localized string similar to Copy. Looks up a localized string similar to Move. Looks up a localized string similar to Paste. Looks up a localized string similar to Clipboard size is different from selected range. Looks up a localized string similar to Pasting data from clipboard.... Looks up a localized string similar to Removing columns .... Looks up a localized string similar to Removing rows .... Looks up a localized string similar to Resizing Columns. Looks up a localized string similar to Resizing Rows. Looks up a localized string similar to Background. Looks up a localized string similar to Dragging Line. Looks up a localized string similar to Fixed Lines. Looks up a localized string similar to Grid Lines. Looks up a localized string similar to Tracking Line. Looks up a localized string similar to Thin Border.. Looks up a localized string similar to No Border.. Looks up a localized string similar to Invert Thin.. Looks up a localized string similar to Invert Thick. Looks up a localized string similar to Thick Border.. Looks up a localized string similar to Current Cell.. Looks up a localized string similar to CheckBox. Looks up a localized string similar to CheckBox. Looks up a localized string similar to CheckBox. Looks up a localized string similar to CheckBox. Looks up a localized string similar to Essential Grid. Looks up a localized string similar to CheckBox. Looks up a localized string similar to NumberFormatInfo. Looks up a localized string similar to NumericUpDown. Looks up a localized string similar to ParseInfo. Looks up a localized string similar to Validation. Looks up a localized string similar to Essential Grid control designer was unable to generate code for current selection.. Looks up a localized string similar to This code was generated by the Essential Grid control designer. Use for reference only.. Looks up a localized string similar to Essential Grid control designer did not detect any formatting changes in the current selection. No code was generated.. Looks up a localized string similar to There is no valid selection for which code can be generated. No code was generated.. Looks up a localized string similar to Essential Grid control designer was unable to perform the requested state change.. Looks up a localized string similar to Essential Grid control designer was unable to export data as a template.. Looks up a localized string similar to Essential Grid control designer was unable to import data from the selected template.. Looks up a localized string similar to Drag Buttons Sample. Looks up a localized string similar to Drag Buttons Sample. Looks up a localized string similar to Dropdown Cell. Looks up a localized string similar to Dropdown Cell. Looks up a localized string similar to Color Selector. Looks up a localized string similar to Color Selector. Looks up a localized string similar to Dropdown Grid. Looks up a localized string similar to Dropdown Grid. Looks up a localized string similar to Dropdown Header. Looks up a localized string similar to Dropdown Header. Looks up a localized string similar to Date Selector. Looks up a localized string similar to Date Selector. Looks up a localized string similar to Dropdown RichTextBox. Looks up a localized string similar to Dropdown RichTextBox. Looks up a localized string similar to Replace. Looks up a localized string similar to Find Next. Looks up a localized string similar to Find what:. Looks up a localized string similar to Match case. Looks up a localized string similar to Match whole cell. Looks up a localized string similar to Replace. Looks up a localized string similar to Replace All. Looks up a localized string similar to Search up. Looks up a localized string similar to GridFindReplaceDialog. Looks up a localized string similar to Header. Looks up a localized string similar to Header. Looks up a localized string similar to NumericUpDown. Looks up a localized string similar to NumericUpDown. Looks up a localized string similar to PushButton. Looks up a localized string similar to PushButton. Looks up a localized string similar to Static Text. Looks up a localized string similar to Static Text. Looks up a localized string similar to Alignment. Looks up a localized string similar to Appearance. Looks up a localized string similar to Behavior. Looks up a localized string similar to Display. Looks up a localized string similar to Graphics. Looks up a localized string similar to Style. Looks up a localized string similar to User. Looks up a localized string similar to Value. Looks up a localized string similar to TextBox. Looks up a localized string similar to TextBox. Looks up a localized string similar to Cell object is not initialized as current cell.. Looks up a localized string similar to Load Failed. Looks up a localized string similar to Load Failed. Looks up a localized string similar to Module Name is {0}. Looks up a localized string similar to Currency format $XX,XX.XX ($XX,XXX.XX). Looks up a localized string similar to decimal format [-]XXXXXXX. Looks up a localized string similar to Scientific (exponential) format [-]X.XXXXXXE+xxx. Looks up a localized string similar to Fixed-point format [-]XXXXXXX.XX. Looks up a localized string similar to General format Variable. Either general or scientific.. Looks up a localized string similar to Number format [-]XX,XXX.XX. Looks up a localized string similar to Percent format Represents a passed numeric value as a percentage.. Looks up a localized string similar to Round-trip format Ensures that numbers converted to strings will have the same value when they are converted back into numbers.. Looks up a localized string similar to Hexadecimal format Variable. Returns the minimum hexadecimal representation.. Looks up a localized string similar to Request. Looks up a localized string similar to Search Results.. Looks up a localized string similar to Selection only. Looks up a localized string similar to The specified text was not found.. Looks up a localized string similar to Appearance. Looks up a localized string similar to Behavior. Looks up a localized string similar to Style. Looks up a localized string similar to Cell Value. Looks up a localized string similar to Hello World!. Looks up a localized string similar to Failed to parse Text("{0}") expected text in the format "{1}".. Looks up a localized string similar to top, left, bottom, right. Looks up a localized string similar to Unable to Load Image. Looks up a localized string similar to Unable to load the saved template.. Looks up a localized string similar to Whole table. Represents the class to define the style for control. It contains the value of the property. It contains the value of the property. Initializes a new instance of the class. A that holds the identity for this . Initializes a new instance of the class. A that holds the identity for this . The store. Gets the default style value of the class. Returns the default style value. Overridden to create a product-specific identity object for the sub object. StyleInfoProperty descriptor for this sub object. Identity for the sub object. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Gets the default values of instance. Gets or sets the border color for . Gets or sets the border color for in hover state. Gets or sets the border color for in pressed state. Gets or sets the background color for . Gets or sets the background color for in hover state. Gets or sets the background color for in pressed state. Provides storage for the object. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. It contains the value of the property value. Initializes a new instance of the class. Initializes a new instance of the class from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes the , if is null. Gets the static data value of the class. Implements the class that provide the identity information of using . Initializes a new instance of the class. Loops through all base styles until it finds a style that has a specific property initialized. A instance of Returns the . Occurs when a property in the has changed. The instance that has changed. A that identifies the property to operate on. Represents the class to define the style for control. It contains the value of the property. It contains the value of the property. Initializes a new instance of the class. A that holds the identity for this . Initializes a new instance of the class. A that holds the identity for this . The store. Gets the default style value of the class. Returns the default style value. Overridden to create a product-specific identity object for the sub object. StyleInfoProperty descriptor for this sub object. Identity for the sub object. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Gets the default values of instance. Gets or sets the back color for selected cells. Gets or sets the border color of selected range when is enabled. Provides storage for the object. Provides information about the property. Provides information about the property. It contains the value of the property value. Initializes a new instance of the class. Initializes a new instance of the class from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes the , if is null. Gets the static data value of the class. Implements the class that provide the identity information of using . Initializes a new instance of the class. Loops through all base styles until it finds a style that has a specific property initialized. A instance of Returns the . Occurs when a property in the has changed. The instance that has changed. A that identifies the property to operate on. Represents the class to define the style for control. It contains the value of the property. It contains the value of the property. Initializes a new instance of the class. A that holds the identity for this . Initializes a new instance of the class. A that holds the identity for this . The store. Gets the default style value of the class. Returns the default style value. Overridden to create a product-specific identity object for the sub object. StyleInfoProperty descriptor for this sub object. Identity for the sub object. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Gets the default values of instance. Gets or sets the cell background color. Gets or sets the fore color of the cell text. Gets or sets the value of the cells. Provides storage for the object. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. It contains the value of the property value. Initializes a new instance of the class. Initializes a new instance of the class from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes the , if is null. Gets the static data value of the class. Implements the class that provide the identity information of using . Initializes a new instance of the class. Loops through all base styles until it finds a style that has a specific property initialized. A instance of Returns the . Occurs when a property in the has changed. The instance that has changed. A that identifies the property to operate on. Represents the class to define the style for control. It contains the value of the property. It contains the value of the property. Initializes a new instance of the class. A that holds the identity for this . Initializes a new instance of the class. A that holds the identity for this . The store. Gets the default style value of the class. Returns the default style value. Overridden to create a product-specific identity object for the sub object. StyleInfoProperty descriptor for this sub object. Identity for the sub object. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Gets the default values of instance. Gets or sets the background color of CheckBox rectangle. Gets or sets the border color of CheckBox rectangle. Gets or sets the checked tick color. Provides storage for the object. Provides information about the property. Provides information about the property. Provides information about the property. It contains the value of the property value. Initializes a new instance of the class. Initializes a new instance of the class from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes the , if is null. Gets the static data value of the class. Implements the class that provide the identity information of using . Initializes a new instance of the class. Loops through all base styles until it finds a style that has a specific property initialized. A instance of Returns the . Occurs when a property in the has changed. The instance that has changed. A that identifies the property to operate on. Represents the class to define the style for control. It contains the value of the property. It contains the value of the property. Initializes a new instance of the class. A that holds the identity for this . Initializes a new instance of the class. A that holds the identity for this . The store. Gets the default style value of the class. Returns the default style value. Overridden to create a product-specific identity object for the sub object. StyleInfoProperty descriptor for this sub object. Identity for the sub object. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Gets the default values of instance. Gets or sets the arrow fore color of dropdown button. Gets or sets the background color of dropdown button in normal state. Gets or sets the border color for dropdown button in normal state. Gets or sets the background color for dropdown button in hover state. Gets or sets the border color for dropdown button in hover state. Gets or sets the background color for dropdown button in pressed state. Gets or sets the border color for dropdown button in pressed state. Provides storage for the object. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. It contains the value of the property value. Initializes a new instance of the class. Initializes a new instance of the class from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes the , if is null. Gets the static data value of the class. Implements the class that provide the identity information of using . Initializes a new instance of the class. Loops through all base styles until it finds a style that has a specific property initialized. A instance of Returns the . Occurs when a property in the has changed. The instance that has changed. A that identifies the property to operate on. Represents the class to define the style for control. It contains the value of the property. Initializes a new instance of the class. Initializes a new instance of the class. Holds instance of a class. Initializes a new instance of the class. A that holds the identity for this . Initializes a new instance of the class. A that holds the identity for this . Holds instance of a class Overridden to create a product-specific identity object for the sub object. StyleInfoProperty descriptor for this sub object. Identity for the sub object. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Gets the default style value for the control. Gets or sets the value for styles. Gets or sets the value for styles. Gets or sets the value for styles. Gets or sets the value for styles. Gets or sets the value for styles. Gets or sets the value for styles. Gets or sets the value for styles. Gets or sets the value for styles. Gets or sets the color of grid lines. Provides storage for the object. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Provides information about the property. Initializes a new instance of the class. Initializes a new instance of the class from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Represents a class that provides style identity information for nested objects of the class. Maintains the GridControl for create the identity. Initializes a new instance of the class. instance to create an identity. Loops through all base styles until it finds a style that has a specific property initialized. A instance of Returns the . Occurs when a property in the has changed. The instance that has changed. A that identifies the property to operate on. Represents a class that provides style identity information for nested objects of the class. Initializes a new instance of the class. The that owns this sub-object. The descriptor for this expandable sub-object. Represents the class to define the style for control. It contains the value of the property. Initializes a new instance of the class. Initializes a new instance of the class. A that holds the identity for this . Initializes a new instance of the class. A that holds the identity for this . The store. Gets the default style value of the class. Returns the default style value. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Gets the default style value for the control. Gets or sets the back color for header in mouse hover state. Gets or sets the text color in hover state. Gets or sets the back color in pressed state. Gets or sets the text color in pressed state. Represents the class to define the style for control. It contains the value of the property. It contains the value of the property. Initializes a new instance of the class. A that holds the identity for this . Initializes a new instance of the class. A that holds the identity for this . The store. Gets the default style value of the class. Returns the default style value. Overridden to create a product-specific identity object for the sub object. StyleInfoProperty descriptor for this sub object. Identity for the sub object. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Determines a value indicating whether to serialize property. True if the property was modified; Otherwise False. Gets the default values of instance. Gets or sets the background color for RadioButton. Gets or sets the border color for RadioButton. Gets or sets the checked state color. Provides storage for the object. Provides information about the property. Provides information about the property. Provides information about the property. It contains the value of the property value. Initializes a new instance of the class. Initializes a new instance of the class from a serialization stream. An object that holds all the data needed to serialize or deserialize this instance. Describes the source and destination of the serialized stream specified by info. Initializes the , if is null. Gets the static data value of the class. Implements the class that provide the identity information of using . Initializes a new instance of the class. Loops through all base styles until it finds a style that has a specific property initialized. A instance of Returns the . Occurs when a property in the has changed. The instance that has changed. A that identifies the property to operate on. Implements visual style based look and feel. Initializes the instance for class. ThemeStyle Gets the checkbox border color based on ButtonState. ButtonState Returns border color Draws the CheckBox skins A object. A object that represents the drawing area. The current state of the checkbox Specifies whether the button is tri-stated. Draws the CheckBox skins A object. A object that represents the drawing area. The current state of the checkbox Specifies whether the button is tri-stated. Specifies Whether the button is Intermediate state Draws the ComboBox skins A object. A object that represents the drawing area. The current state of the combo button. Draws the header skins A object. A object that represents the drawing area. The current state of the header. Draws the PushButton skins A object. A object that represents the drawing area. The current state of the button. Draws the RadioButton skins A object. A object that represents the drawing area. The current state of the radio button Draws the SpinButton skins A object. A object that represents the drawing area. An integer that represents the type of the button. The current state of the spin button. Returns the backcolor and header interior for GroupDropArea. The back color for GroupDropArea The top border color for GroupDropArea header The left border color for GroupDropArea header Returns the Header Border Colors. The bottom border color The right border color The gradient start color for the header interior The gradient end color for the header interior Returns the SortIcon interior The brush used to fill the sort icon The pen used to draw the sort icon Returns the Header Border styles. The bottom border color of header. The bottom border weight. returns the weight and color of bottom border. Header style color of Grid Header color hover color pressed color Gets the header text colors in normal,hover and pressed state. Text color in normal state. Text color in hover state. Text color in pressed state. Gets the current VisualStyles. Gets the current theme name. Provides predefined switches for enabling/disabling trace output or code instrumentation in the Grid library. Initializes a new instance of the class. Gets General Tracing level for the Grid Library Gets the new Volatile data. Gets the new ValueConversion. Gets the new FloatCells. Gets the ButtonChild. Gets the KeyboardEvents. Gets the TextBoxCellEvents. Gets the SelectRange. Gets the Printing. Gets the ResizeToFit. Gets the DataExchange. Gets the OutlineCurrentCellHeader. Gets the CustomStylePropertyLifetime. Gets the DelayedRange. Gets the GridLayout. Gets the GridPaint. Gets the GridScrolling. Gets the Scrolling. Gets the MouseEvents. Gets the TabBarControl. Gets the CheckBoxCellEvents. Gets the BeginEndUpdate. Provides stack trace for methods and Exception cached in grid. Trace the Exception cached in grid. Represents errors that occur during application execution. Trace all grid method information's.