バージョン

HorizontalSplitterStyleKey フィールド

水平分割を表すための System.Windows.Controls.Primitives.Thumb に使用されるスタイルを識別するのに使用されるキー。
シンタックス
'宣言
 
Public Shared ReadOnly HorizontalSplitterStyleKey As ResourceKey
public static readonly ResourceKey HorizontalSplitterStyleKey
使用例
Private Sub XOBinit()

        Dim optionsStyle As Style = New Style(GetType(NavigationPaneOptionsControl))
        optionsStyle.Setters.Add(New Setter(BackgroundProperty, New SolidColorBrush(Colors.LightGreen)))
        xamOutlookBar1.NavigationPaneOptionsControlStyle = optionsStyle

        Dim popupButtonStyle As Style = New Style(GetType(ToggleButton))
        popupButtonStyle.Setters.Add(New Setter(ContentProperty, "Show popup"))
        Me.Resources.Add(XamOutlookBar.NavigationPaneToggleButtonStyleKey, popupButtonStyle)

End Sub
public IG_XamOutlookBar_Properties()
{
    InitializeComponent();
    
    Style optionsStyle = new Style(typeof(NavigationPaneOptionsControl));
    optionsStyle.Setters.Add(new Setter(BackgroundProperty, new SolidColorBrush(Colors.LightGreen)));
    xamOutlookBar1.NavigationPaneOptionsControlStyle = optionsStyle;

    Style popupButtonStyle = new Style(typeof(ToggleButton));
    popupButtonStyle.Setters.Add(new Setter(ContentProperty, "Show popup"));
    this.Resources.Add(XamOutlookBar.NavigationPaneToggleButtonStyleKey, popupButtonStyle);
}
<Window x:Class="XamOutlookBarApp.IG_XamOutlookBar_Properties"
    
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    
xmlns:igOutlookBar="http://infragistics.com/OutlookBar"
    
Title="IG_XamOutlookBar_Properties" Height="300" Width="300">
    
<Window.Resources>
        
<Style x:Key="xobOptions" TargetType="{x:Type igOutlookBar:NavigationPaneOptionsControl}">
            
<Setter Property="Background" Value="LightBlue"/>
        
</Style>
    
</Window.Resources>
    
<StackPanel Orientation="Horizontal">
        
<igOutlookBar:XamOutlookBar Name="xamOutlookBar1" Width="144" 
                                    
NavigationPaneOptionsControlStyle="{StaticResource xobOptions}">
            
<igOutlookBar:OutlookBarGroup Header="Group 1" Content="Group 1"/>
            
<igOutlookBar:OutlookBarGroup Header="Group 2" Content="Group 2"/>
            
<igOutlookBar:XamOutlookBar.Resources>
                
<Style x:Key="{x:Static igOutlookBar:XamOutlookBar.HorizontalSplitterStyleKey}" TargetType="{x:Type Thumb}">
                    
<Setter Property="Height" Value="10"/>
                    
<Setter Property="Template">
                        
<Setter.Value>
                            
<ControlTemplate TargetType="{x:Type Thumb}">
                                
<Grid VerticalAlignment="Stretch">
                                    
<Rectangle Margin="15,4,15,4" Fill="#55111111"/>
                                
</Grid>
                            
</ControlTemplate>
                        
</Setter.Value>
                    
</Setter>
                
</Style>
                
<Style x:Key="{x:Static igOutlookBar:XamOutlookBar.NavigationPaneToggleButtonStyleKey}" TargetType="{x:Type ToggleButton}" BasedOn="{x:Null}">
                    
<Setter Property="Content"    Value="XOB is minimized"/>
                
</Style>
                
<Style x:Key= "{x:Static igOutlookBar:XamOutlookBar.MinimizeToggleButtonStyleKey}" TargetType="ToggleButton">
                    <Setter Property="Content" Value="&lt;&lt;"/>

                    
<Style.Triggers>
                        <Trigger Property="IsChecked" Value="True">
                            <S
etter Property="Content" Value="&gt;&gt;"/>
                        </Trigger>
                    </Style.Triggers>
                </Style>

            </igOutlookBar:XamOutlookBar.Resources>
        </igOutlookBar:XamOutlookBar>
    </StackP
anel>
参照