Infragistics(R) NetAdvantage(R) Windows Forms
SelectedAppearancesEnabled Property
See Also  Example E-mail your feedback on this topic.
Infragistics.Win.UltraWinGrid Namespace > UltraGridOverride Class : SelectedAppearancesEnabled Property

Gets or sets a value that determines whether Appearances for the active state are included in the appearance resolution order.


Visual Basic (Declaration) 
Public Property SelectedAppearancesEnabled As Infragistics.Win.DefaultableBoolean
public Infragistics.Win.DefaultableBoolean SelectedAppearancesEnabled {get; set;}


Demonstrates how to disable the cell and row appearances for the Active and Selected states, using the ActiveAppearancesEnabled and SelectedAppearancesEnabled properties.

Visual BasicCopy Code
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Me.UltraGrid1.DisplayLayout.Override.ActiveAppearancesEnabled = DefaultableBoolean.False
    Me.UltraGrid1.DisplayLayout.Override.SelectedAppearancesEnabled = DefaultableBoolean.False
End Sub
C#Copy Code
private void Form1_Load(object sender, EventArgs e)
    this.ultraGrid1.DisplayLayout.Override.ActiveAppearancesEnabled = DefaultableBoolean.False;
    this.ultraGrid1.DisplayLayout.Override.SelectedAppearancesEnabled = DefaultableBoolean.False;

See Also