Version

Search Results

Creating an Operator Condition

Creating an Operator Condition Conditional Formatting allows you to compare the cells of an entire column in WinGrid™ to one or more values and change the appearance if certain conditions are met. For instance, you can check to see if the cells are less than a specific number, or you can check to see if a certain ...

Creating Edit Menu with Clipboard Operations for WinGrid

Creating Edit Menu with Clipboard Operations for WinGrid Before You Begin: Performing clipboard operations in the WinGrid™ control is a very quick and easy task. This concept can be applied to any WinGrid with little to no tweaking. Clipboard operations come in the form of actions in WinGrid. This walkthrough will...

Creating Fixed (Non-Scrolling) Columns

Creating Fixed (Non-Scrolling) Columns To create a fixed (non-scrolling) column, you can use the Fixed property of the Header object. In Visual Basic: In C#: You can also toggle on or off the FixedHeaderIndicator in the header, which is displayed by default: In Visual Basic: In C#: In the following image the Custo...

Creating Multiple-Row Layout Using Levels

Creating Multiple-Row Layout Using Levels A single row in the WinGrid™ can contain multiple Levels. Note Note This topic assumes you have a bound grid with at least one row of data. To create a multiple-row layout: To use multi-level rows, you must have your columns divided into Groups . Start by creating some gro...

Creating Scrolling Region in Row or Column

Creating Scrolling Region in Row or Column By default, the WinGrid™ starts out with one ColScrollRegion and one RowScrollRegion . To create a new ColScrollRegion or RowScrollRegion: To create a new RowScrollRegion or ColScrollRegion, you must use the Split method on an existing region. You can optionally specify t...

Customizing Column Moving Indicators

Customizing Column Moving Indicators When a column header in WinGrid™ is dragged, arrows appear to indicate where the columns would be placed if the mouse is released in its current location. These default column moving indicators can be customized by either changing the color of the indicators or even changing th...

Customizing the Focus Rectangle on an Active Element Using DrawFilter

Customizing the Focus Rectangle on an Active Element Using DrawFilter Before You Begin The Active element of the WinGrid™ control displays a Focus Rectangle (the dotted lines) surrounding the active cell or row. The WinGrid does not have an intrinsic way to change this Focus Rectangle. However, there is a way to l...

Data Validation

Data Validation The following links provide several data validation configurations in a WinGrid control. DataErrorInfo Support Display Row/Cell Errors Using IDataErrorInfo Validating Character Entries

DataErrorInfo Support

DataErrorInfo Support Topic Overview Purpose Not to be confused with the existing IDataErrorInfo interface, this topic introduces the WinGrid™ control’s extended data validation feature and provides configuration examples to further your understanding. Required background The following topic is a prerequisite to u...

Default Design-Time Look

Default Design-Time Look In 2005 Volume 2, the WinGrid™ control was given a new look at design time, it will automatically take on this new more modern look. This look is specified in a Preset file, and a developer can specify a different preset to apply to all new WinGrids created at design time if they want to. ...