'宣言 Public Property Appearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase Appearance {get; set;}
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; }