バージョン

DateHierarchyLevel プロパティ (FilterUIProviderTreeSettings)

ツリーの何レベル下で DateTime オブジェクトを分割するかを取得または設定します。
シンタックス
'宣言
 
Public Property DateHierarchyLevel As DateHierarchyLevel
public DateHierarchyLevel DateHierarchyLevel {get; set;}
解説

注: このプロパティは、FilterTreeToolFilterTreeTool.DateHierarchyLevel プロパティを設定してインスタンス毎にオーバーライドできます。

使用例
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;    
}
参照