Retrieving the Value from a Protected Cell Using the ElementFromPoint method of the UIElement object you can get a cell’s value. The following illustrates how to return the value of a cell in response to a double-click, even if the cell is protected. In Visual Basic: In C#:
Retrieving Value from a Specific Cell The following code demonstrates how to retrieve a value from a specific cell in a specific row. In Visual Basic: In C#:
Right Fixed Headers Column Pinning is a feature that allows the end users of your WinGrid™ powered application to selectively affix particular columns to the right or left side of the control. A Pinned Column will always remain in view whenever the end user scrolls horizontally through all the WinGrid columns. Thi...
Rotating Text in WinGrid’s Column Headers WinGrid™ column headers help your end user identify exactly what it is that they are looking at. Column headers can be very descriptive and very long. In several cases, the text in your column headers may be much longer than the text in the actual column (especially when u...
Row-Auto-Sizing in RowLayout Specifies the how the WinGrid™ calculates the default row heights and also specifies whether the user is allowed to resize the rows. Please consult the existing help document for more information on each RowSizing mode. This is an existing property. Ultimate UI for Windows Forms 2005 V...
Row Layouts Row layouts give you a great deal of flexibility when designing WinGrid’s format in your application. You can use row layouts to create a form-like look to display and enter data in both the conventional row view style and the Card view style. Regular View and Card View Row layout functionality provide...
Save/Load a Layout to a File WinGrid™ can save and reload a previously saved layout allowing your end users to setup the WinGrid in a particular fashion for their needs and come back and restore it to that layout. For example say an end user always wants the data shown in the grid to be GroupBy a particular column...
Scrolling a Parent Row to the Top of the Grid WinGrid™ allows you to easily scroll parent rows to the top of the grid bringing attention to the parent row while a user edits or reads the child row. First you must check if WinGrid’s active row has a parent row. Then you can set WinGrid’s first row to the parent row...
Scrolling a Row into View If you need to scroll a particular row to the top of WinGrid™, you can set the FirstRow property to the desired row. To scroll the 22nd row to the top of WinGrid, place the following example code in an event handler such as a button’s Click event. In Visual Basic: In C#:
Scrolling One Row at a Time You can scroll WinGrid™’s data one row at a time using the PerformAction method. In order to scroll up or down in WinGrid one row at a time, pass the AboveRow or BelowRow values of the UltraGridAction enumeration to the PerformAction method. Note Note AboveRow and BelowRow will only Act...