バージョン

ShowMinMaxButtons プロパティ (TrackBarButtonSettings)

最小ボタンおよび最大ボタンが表示可能かどうかを取得または設定します。
シンタックス
'宣言
 
Public Property ShowMinMaxButtons As DefaultableBoolean
public DefaultableBoolean ShowMinMaxButtons {get; set;}
使用例
Imports Infragistics.Win.UltraWinEditors

        ' Show the min, max, increment, and decrement buttons. 
        Me.UltraTrackBar1.ButtonSettings.ShowIncrementButtons = Infragistics.Win.DefaultableBoolean.True
        Me.UltraTrackBar1.ButtonSettings.ShowMinMaxButtons = Infragistics.Win.DefaultableBoolean.True

        ' Set up the button location, size, and spacing. 
        Me.UltraTrackBar1.ButtonSettings.ButtonLocation = TrackBarButtonLocation.Split
        Me.UltraTrackBar1.ButtonSettings.ButtonSize = New Size(10, 25)
        Me.UltraTrackBar1.ButtonSettings.ButtonSpacing = 5

        ' Turn off themes and set the ViewStyle to Standard. 
        ' If themes are on, themed drawing will overrides the appearance settings below.             
        Me.UltraTrackBar1.UseOsThemes = Infragistics.Win.DefaultableBoolean.False
        ' If the ViewStyle is not standard, then the ViewStyle drawing will use images for the 
        ' buttons and this will overrides the appearance settings below. 
        Me.UltraTrackBar1.ViewStyle = TrackBarViewStyle.Standard

        ' Apply a BackColor to each of the four buttons.
        Me.UltraTrackBar1.ButtonSettings.DecrementButtonAppearance.BackColor = Color.Pink
        Me.UltraTrackBar1.ButtonSettings.IncrementButtonAppearance.BackColor = Color.LightGreen
        Me.UltraTrackBar1.ButtonSettings.MinButtonAppearance.BackColor = Color.Red
        Me.UltraTrackBar1.ButtonSettings.MaxButtonAppearance.BackColor = Color.Green

        ' Apply a BackColor to the HotTracking appearance of each of the four buttons. 
        Me.UltraTrackBar1.ButtonSettings.DecrementButtonHotTrackAppearance.BackColor = Color.LightCoral
        Me.UltraTrackBar1.ButtonSettings.IncrementButtonHotTrackAppearance.BackColor = Color.Chartreuse
        Me.UltraTrackBar1.ButtonSettings.MinButtonHotTrackAppearance.BackColor = Color.DarkRed
        Me.UltraTrackBar1.ButtonSettings.MaxButtonHotTrackAppearance.BackColor = Color.DarkGreen

        ' Apply a BackColor to the Pressed appearance of each of the four buttons. 
        Me.UltraTrackBar1.ButtonSettings.DecrementButtonHotTrackAppearance.BackColor = Color.Red
        Me.UltraTrackBar1.ButtonSettings.IncrementButtonHotTrackAppearance.BackColor = Color.GreenYellow
        Me.UltraTrackBar1.ButtonSettings.MinButtonHotTrackAppearance.BackColor = Color.Brown
        Me.UltraTrackBar1.ButtonSettings.MaxButtonHotTrackAppearance.BackColor = Color.SeaGreen
using Infragistics.Win.UltraWinEditors;


            // Show the min, max, increment, and decrement buttons. 
            this.ultraTrackBar1.ButtonSettings.ShowIncrementButtons = Infragistics.Win.DefaultableBoolean.True;
            this.ultraTrackBar1.ButtonSettings.ShowMinMaxButtons = Infragistics.Win.DefaultableBoolean.True;

            // Set up the button location, size, and spacing. 
            this.ultraTrackBar1.ButtonSettings.ButtonLocation = TrackBarButtonLocation.Split;
            this.ultraTrackBar1.ButtonSettings.ButtonSize = new Size(10, 25);
            this.ultraTrackBar1.ButtonSettings.ButtonSpacing = 5;

            // Turn off themes and set the ViewStyle to Standard. 
            // If themes are on, themed drawing will override the appearance settings below.             
            this.ultraTrackBar1.UseOsThemes = Infragistics.Win.DefaultableBoolean.False;
            // If the ViewStyle is not standard, then the ViewStyle drawing will use images for the 
            // buttons and this will override the appearance settings below. 
            this.ultraTrackBar1.ViewStyle = TrackBarViewStyle.Standard;

            // Apply a BackColor to each of the four buttons.
            this.ultraTrackBar1.ButtonSettings.DecrementButtonAppearance.BackColor = Color.Pink;
            this.ultraTrackBar1.ButtonSettings.IncrementButtonAppearance.BackColor = Color.LightGreen;
            this.ultraTrackBar1.ButtonSettings.MinButtonAppearance.BackColor = Color.Red;
            this.ultraTrackBar1.ButtonSettings.MaxButtonAppearance.BackColor = Color.Green;

            // Apply a BackColor to the HotTracking appearance of each of the four buttons. 
            this.ultraTrackBar1.ButtonSettings.DecrementButtonHotTrackAppearance.BackColor = Color.LightCoral;
            this.ultraTrackBar1.ButtonSettings.IncrementButtonHotTrackAppearance.BackColor = Color.Chartreuse;
            this.ultraTrackBar1.ButtonSettings.MinButtonHotTrackAppearance.BackColor = Color.DarkRed;
            this.ultraTrackBar1.ButtonSettings.MaxButtonHotTrackAppearance.BackColor = Color.DarkGreen;

            // Apply a BackColor to the Pressed appearance of each of the four buttons. 
            this.ultraTrackBar1.ButtonSettings.DecrementButtonHotTrackAppearance.BackColor = Color.Coral;
            this.ultraTrackBar1.ButtonSettings.IncrementButtonHotTrackAppearance.BackColor = Color.GreenYellow;
            this.ultraTrackBar1.ButtonSettings.MinButtonHotTrackAppearance.BackColor = Color.Brown;
            this.ultraTrackBar1.ButtonSettings.MaxButtonHotTrackAppearance.BackColor = Color.SeaGreen;
参照