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

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

Syntax

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

Example

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