Version

SelectedGroupContentTemplateSelector Property

Returns System.Windows.Controls.DataTemplateSelector which allows the app writer to provide custom style selection logic. This is a dependency property.
Syntax
'Declaration
 
Public ReadOnly Property SelectedGroupContentTemplateSelector As DataTemplateSelector
public DataTemplateSelector SelectedGroupContentTemplateSelector {get;}
Example
xamOutlookBar1.ReserveSpaceForLargeImage= True
xamOutlookBar1.ReserveSpaceForLargeImage= true;
<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">
    
<StackPanel Orientation="Horizontal">
        
<igOutlookBar:XamOutlookBar Name="xamOutlookBar1" Width="144">
            
<igOutlookBar:OutlookBarGroup Header="Group 1" Content="Group 1"/>
            
<igOutlookBar:OutlookBarGroup Header="Group 2" Content="Group 2"/>
        
</igOutlookBar:XamOutlookBar>
        
<StackPanel>
            
<CheckBox IsChecked="{Binding ElementName=xamOutlookBar1, Path=ReserveSpaceForLargeImage}"
                      
Content="ReserveSpaceForLargeImage">
            
</CheckBox>
            
<ContentControl 
                            
Content="{Binding ElementName=xamOutlookBar1, Path=SelectedGroupContent}"
                            
ContentTemplate="{Binding ElementName=xamOutlookBar1, Path=SelectedGroupContentTemplate}"
                            
ContentTemplateSelector="{Binding ElementName=xamOutlookBar1, Path=SelectedGroupContentTemplateSelector}"
                            
>
                
            
</ContentControl>
        
</StackPanel>
    
</StackPanel>
    
</Window>
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also