Please note: In an effort to better serve you, we are in the process of restructuring DevCenter.
In the process, we have moved many items that you may be used to finding in DevCenter over to the
Main Site. If you are having trouble locating something,
please try looking at the following places:
In some applications it might not be necessary for an end user to know that he/she has modified data in the UltraWinGrid. This article provides a sample that shows how you can remove the pencil image from the row selector using a DrawFilter.
Pseudo Code:1. Create a class that Implements “IUIElementDrawFilter”2. In the GetPhasesToFilter Method a. Check to see if the Element is a RowSelectorUIElement i. If it is return DrawPhase.BeforeDrawImage; ii. Else return DrawPhase.None3. in the DrawElement Method a. Identify if the Element is a RowSelectorUIElement and that the Phase is BeforeDrawImage i. If it meets the above criteria 1. Get a handle on the actual row through GetContext() 2. If that row is the active row a. Draw the Arrow Indicator b. Return true (this stops the pencil from ever being drawn. ii. Else return false;