Version

Search Results

Searching for Text or a Phrase in WinGrid

Searching for Text or a Phrase in WinGrid This topic shows how you can find text or a phrase in your WinGrid cells. Looking for particular text in WinGrid will require iterating through each cell and checking the cell object’s Text property to see if the string exists. This topic uses the string. Contains method t...

Separating and Aligning Summaries of Grouped Rows

Separating and Aligning Summaries of Grouped Rows The WinGrid™ by default displays summaries in group-by rows by appending the summaries to the group-by row description text. You can instead display each summary as a separate UI element aligned with columns in the group-by row. Before you start writing any code, y...

Set Template AddRows to Fixed

Set Template AddRows to Fixed This feature emulates the behavior of the add-row in Microsoft Outlook, most notably the fact that the add-row is fixed. It does not scroll as other rows are scrolled. Although Microsoft Outlook shows the add-row on the top, WinGrid™ offers the ability to show the fixed add-row on the...

Setting a Caption in Card View

Setting a Caption in Card View By default, Card View displays a Caption area for each row in WinGrid™. This is an area that allows you to specify what field from the underlying data source will be used to display a value in this area. The following code programmatically specifies which field from the underlying da...

Setting Active Cell Border Thickness

Setting Active Cell Border Thickness This topic shows you how to change the border thickness of the active UltraGridCell object. This can be achieved by setting the ActiveCellBorderThickness property on the UltraGridOverride object to an integer value, which corresponds to the border thickness in pixels. In Visual...

Setting Alternate Row Colors

Setting Alternate Row Colors You can use the BackColor , BackColor2 , and BackGradientStyle properties off WinGrid’s™ RowAlternateAppearance object to create unique gradients to style the alternating rows. The following example code shows you how this can be achieved at run time. In Visual Basic: In C#:

Setting Cell Active and Selected Appearance

Setting Cell Active and Selected Appearance You can apply specific appearances for the active cell or row using the ActiveAppearance property on the UltraGridCell object. It is also possible to disable the cells from displaying the active (ActiveAppearance, ActiveCellAppearance, ActiveRowAppearance ) and selected(...

Setting Focus on a Cell for Editing

Setting Focus on a Cell for Editing Sometimes you may want to force focus into a cell and put that cell into edit mode to indicate to a user that a value needs to be changed. This can be accomplished by setting the ActiveCell property of the grid, and then calling PerformAction to put the cell into Edit mode. To f...

Setting the Active Cell

Setting the Active Cell Background WinGrid™ uses the concept of an active cell when referencing the cell that is current in the grid. The active cell is determined by one of several factors. Any cell that has input focus and is in edit mode is automatically the active cell. The active cell can also be determined b...

Setting the ActiveRow of WinGrid

Setting the ActiveRow of WinGrid Background Setting the ActiveRow of the WinGrid™ control will always move the row into the viewable area. The ActiveRow can be set using WinGrid methods or by setting the CurrencyManager.Position property to the appropriate row. This allows the developer to perform operations on th...