property Grid.SelForeColor as Color
Retrieves or sets a value that indicates the selection foreground color.

 TypeDescription 
   Color A color expression that defines the selection foreground color.  

Use the SelForeColor and SelBackColor properties to define colors for the selected items. The control highlights the selected items only if the SelBackColor and BackColor properties have different values, and the SelForeColor and ForeColor properties have different values. Use the SelectItem property to programmatically select an item giving its handle. The SelectedItem and SelectCount properties get the collection of selected items. Use the FocusItem property to get the focused item. The control fires the SelectionChanged event when user changes the selection. Use the SelectableItem property to specify the user can select an item. The SelForeColor property is applied only if it is different that the control's foreground color.


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.