Version

Appearance Property (FilterUIProviderTreeSettings)

Gets or sets the default appearance of the tree.
Syntax
'Declaration
 
Public Property Appearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase Appearance {get; set;}
Example
The following code snippet illustrates how to set some appearances of the tree that will be applied to all trees that are shown by the filter provider.

Imports Infragistics.Win.SupportDialogs.FilterUIProvider

Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) 
    Dim treeSettings As FilterUIProviderTreeSettings = Me.ultraGridFilterUIProvider1.TreeSettings 
    
    ' Set the default background of the tree that is shown by all providers 
    treeSettings.Appearance.BackColor = Color.Chartreuse 
    
    ' Show all dates in the tree as a single flat list, as is done in the previous filtering 
    ' functionality of the UltraWinGrid. 
    treeSettings.DateHierarchyLevel = DateHierarchyLevel.Flat 
    
    ' Don't ever show a focus rect on the tree 
    treeSettings.DrawsFocusRect = DefaultableBoolean.[False] 
    
    ' Set the color of the lines that connect the various nodes 
    treeSettings.NodeConnectorColor = Color.Blue 
End Sub
using Infragistics.Win.SupportDialogs.FilterUIProvider;

private void Form1_Load(object sender, EventArgs e)
{
    FilterUIProviderTreeSettings treeSettings = this.ultraGridFilterUIProvider1.TreeSettings;

    // Set the default background of the tree that is shown by all providers
    treeSettings.Appearance.BackColor = Color.Chartreuse;

    // Show all dates in the tree as a single flat list, as is done in the previous filtering
    // functionality of the UltraWinGrid.
    treeSettings.DateHierarchyLevel = DateHierarchyLevel.Flat;

    // Don't ever show a focus rect on the tree
    treeSettings.DrawsFocusRect = DefaultableBoolean.False;

    // Set the color of the lines that connect the various nodes
    treeSettings.NodeConnectorColor = Color.Blue;    
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also