Changing Default Style of lines connecting Rows or child bands The RowConnectorStyle RowConnectorStyle property is used to determine the type of line that will be used to connect sibling rows, child rows, and also child bands to their parent band. Using the RowConnectorStyle and RowConnectorColor properties the ap...
Changing the Active Row When your end user opens a form with your WinGrid™ on it, you may want the active row in the grid to be a specific row, and not the first row in the grid. The following example code shows how change the ActiveRow of the WinGrid when the form loads. In Visual Basic: In C#: When you use this ...
Changing the Appearance of WinGrid Bands Background When working with a multi-band WinGrid™ control, there are many different settings related to the way the bands display. Questions How can I display a header above each band of a multi-band grid? The default setting appears to cause the columns to size the same f...
Changing the Appearance of WinGrid Cells Background When cells need to be embellished with color, images or other unique properties, WinGrid™ allows the developer to set Appearance properties for each cell. Issues How do I set the background color of all cells with a specific content? Sample Project The sample pro...
Changing the Appearance of WinGrid Columns Background When columns need to be embellished with color, images and other unique properties, WinGrid™ allows the developer to set Appearance properties for both the Column Headers and the cells of the column. Questions How do I set the background color for each column? ...
Changing the Appearance of WinGrid Headings Background The WinGrid™ displays many different headings (captions), over which the developer has control of the content and appearance. Questions How do I change the Grid Caption appearance? How do I change the appearance of the column headers? How do I get the band hea...
Changing the Appearance of WinGrid Rows Background There are many Row Appearance properties which can significantly enhance readability of the WinGrid™ control. Questions How can I change the background color of every other row? My users need to see all of the text in a cell even if it requires displaying rows wit...
Changing the Behavior of the TAB Key The default behavior for the WinGrid™ is for the TAB key to move focus from one cell to the next. You can cause a TAB keystroke to move to the next control instead of the next cell by using the TabNavigation property of the DisplayLayout object. In Visual Basic: In C#:
Changing the Display Order of Fixed Rows You can control the order in which the Fixed Template Add Row, Fixed Filter Row, and Fixed Summary Footer Rows are displayed. By default, these rows will be displayed in the following order: Fixed Summary Row Fixed Template Add Row Fixed Filter Row If this arrangement does ...
Changing the Height of a Single Row You can allow your users to change the height of a single row without affecting the rest of the rows in the band by using the RowSizing property of the Override object. Enter the following code in the InitializeLayout event: In Visual Basic: In C#: