バージョン

SlidingGroupButtonStyle プロパティ (GroupSettings)

スライド グループ スタイルのペイン グループ内で、ペイン キャプションに対して表示されるボタンのスタイルを返すまたは設定します。
シンタックス
'宣言
 
Public Property SlidingGroupButtonStyle As Infragistics.Win.UIElementButtonStyle
public Infragistics.Win.UIElementButtonStyle SlidingGroupButtonStyle {get; set;}
解説

このプロパティを使用して、ペインがスライド グループ モードの時に使用されるペインに適用される Infragistics.Win.UIElementButtonStyle を選択します。スタイルはボタンによって表示されるマウスの感度の外観とタイプを指定します。

使用例
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinDock

 Private Sub InitializeManagerGroupSettings()

    ' If the default group settings have been initialize, reset them
    If (Me.ultraDockManager1.HasDefaultGroupSettings) Then
        Me.ultraDockManager1.DefaultGroupSettings.Reset()
    End If

    ' The 'DefaultGroupSettings' is the default value used when resolving
    ' the 'GroupSettings' properties for DockableGroupPane instances. by
    ' initializing them here, we are setting the ultimate default values 
    ' for these properties but they can still be overriden on the group
    ' panes
    Me.InitializeGroupSettings(Me.ultraDockManager1.DefaultGroupSettings)

End Sub

Private Sub InitializeGroupSettings(ByVal settings As GroupSettings)

    ' Display the pane captions on the left side of the pane
    settings.CaptionLocation = Infragistics.Win.UltraWinDock.Location.Left

    ' Use a single pixel border on the sliding group buttons
    ' when the mouse moves over them
    settings.SlidingGroupButtonStyle = UIElementButtonStyle.ButtonSoft

    ' The buttons should be displayed horizontally - this only 
    ' affects the sliding group buttons in a group pane whose ChildPaneStyle
    ' is SlidingGroup
    settings.SlidingGroupOrientation = DefaultableOrientation.Horizontal

    ' Initialize the backcolor for the area behind the tabs in a tabgroup
    settings.TabAreaAppearance.BackColor = Color.AntiqueWhite

    ' Since the caption will be positioned to the left by default,
    ' we'll position the tabs to the right.
    settings.TabLocation = Infragistics.Win.UltraWinDock.Location.Right

    ' Display the image and text for the active tab but only the
    ' image for the other tabs
    settings.TabSizing = Infragistics.Win.UltraWinTabs.TabSizing.Compressed

    ' Display visual studio style tabs
    settings.TabStyle = Infragistics.Win.UltraWinTabs.TabStyle.VisualStudio

End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinDock;
using System.Diagnostics;

private void InitializeManagerGroupSettings()
{

	// If the default group settings have been initialize, reset them
	if (this.ultraDockManager1.HasDefaultGroupSettings)
		this.ultraDockManager1.DefaultGroupSettings.Reset();

	// The 'DefaultGroupSettings' is the default value used when resolving
	// the 'GroupSettings' properties for DockableGroupPane instances. by
	// initializing them here, we are setting the ultimate default values 
	// for these properties but they can still be overriden on the group
	// panes
	this.InitializeGroupSettings(this.ultraDockManager1.DefaultGroupSettings);

}

private void InitializeGroupSettings( GroupSettings groupSettings )
{

	// Display the pane captions on the left side of the pane
	groupSettings.CaptionLocation = Infragistics.Win.UltraWinDock.Location.Left;

	// Use a single pixel border on the sliding group buttons
	// when the mouse moves over them
	groupSettings.SlidingGroupButtonStyle = UIElementButtonStyle.ButtonSoft;

	// The buttons should be displayed horizontally - this only 
	// affects the sliding group buttons in a group pane whose ChildPaneStyle
	// is SlidingGroup
	groupSettings.SlidingGroupOrientation = DefaultableOrientation.Horizontal;

	// Initialize the backcolor for the area behind the tabs in a tabgroup
	groupSettings.TabAreaAppearance.BackColor = Color.AntiqueWhite;

	// Since the caption will be positioned to the left by default,
	// we'll position the tabs to the right.
	groupSettings.TabLocation = Infragistics.Win.UltraWinDock.Location.Right;

	// Display the image and text for the active tab but only the
	// image for the other tabs
	groupSettings.TabSizing = Infragistics.Win.UltraWinTabs.TabSizing.Compressed;

	// Display visual studio style tabs
	groupSettings.TabStyle = Infragistics.Win.UltraWinTabs.TabStyle.VisualStudio;

}
参照