Version

HasLargeImage Property

Returns true if the OutlookBarGroup has a large image, false if not (read only).
Syntax
'Declaration
 
Public ReadOnly Property HasLargeImage As Boolean
public bool HasLargeImage {get;}
Example
Private Sub Button_Click(sender As Object, e As RoutedEventArgs) 
    For Each group As OutlookBarGroup In xamOutlookBar1.Groups 
        If Not group.HasLargeImage AndAlso Not group.IsSelected Then 
            group.LargeImage = New BitmapImage(New Uri("pack://application:,,,/32x32.png")) 
        End If 
    Next 
End Sub 

Private Sub Button_Click_1(sender As Object, e As RoutedEventArgs) 
    Dim group As New OutlookBarGroup() 
    group.Header = "New Group" 
    If group.OutlookBar IsNot Nothing Then 
        System.Diagnostics.Debug.WriteLine("OutlookBar: " + group.OutlookBar.Name) 
    Else 
        System.Diagnostics.Debug.WriteLine("OutlookBar is null") 
    End If 
    xamOutlookBar1.Groups.Add(group) 
    If group.OutlookBar IsNot Nothing Then 
        System.Diagnostics.Debug.WriteLine("OutlookBar: " + group.OutlookBar.Name) 
    Else 
        System.Diagnostics.Debug.WriteLine("OutlookBar is null") 
    End If 
    group.IsSelected = True 
End Sub
private void Button_Click(object sender, RoutedEventArgs e)
{
    foreach (OutlookBarGroup group in xamOutlookBar1.Groups)
    {
        if (!group.HasLargeImage && !group.IsSelected)
            group.LargeImage = new BitmapImage(new Uri("pack://application:,,,/32x32.png"));
    }
}

private void Button_Click_1(object sender, RoutedEventArgs e)
{
    OutlookBarGroup group = new OutlookBarGroup();
    group.Header = "New Group";
    if (group.OutlookBar != null)
        System.Diagnostics.Debug.WriteLine("OutlookBar: " + group.OutlookBar.Name);
    else
        System.Diagnostics.Debug.WriteLine("OutlookBar is null");
    xamOutlookBar1.Groups.Add(group);
    if (group.OutlookBar != null)
        System.Diagnostics.Debug.WriteLine("OutlookBar: " + group.OutlookBar.Name);
    else
        System.Diagnostics.Debug.WriteLine("OutlookBar is null");
    group.IsSelected = true;
}
<Window x:Class="XamOutlookBarApp.IG_XamOutlookBar_OutlookGroupBarProperties_1"
    
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_OutlookGroupBarProperties_1" Height="300" Width="300">
    
<StackPanel Orientation="Horizontal">
        
<StackPanel.Resources>
            
<Style TargetType="{x:Type igOutlookBar:OutlookBarGroup}">
                
<Style.Triggers>
                    
<MultiDataTrigger>
                        
<MultiDataTrigger.Conditions>
                            
<Condition Binding="{Binding Path=IsMouseOverGroup, RelativeSource={x:Static RelativeSource.Self}}" Value="True"/>
                            
<Condition Binding="{Binding Path=IsSelected, RelativeSource={x:Static RelativeSource.Self}}" Value="False"/>
                        
</MultiDataTrigger.Conditions>
                        
<Setter Property="FontStyle" Value="Italic"/>
                    
</MultiDataTrigger>
                    
<MultiDataTrigger>
                        
<MultiDataTrigger.Conditions>
                            
<Condition Binding="{Binding Path=HasLargeImage, RelativeSource={x:Static RelativeSource.Self}}" Value="False"/>
                            
<Condition Binding="{Binding Path=OutlookBar.IsMinimized, RelativeSource={x:Static RelativeSource.Self}}" Value="True"/>
                            
<Condition Binding="{Binding Path=IsMouseOverGroup, RelativeSource={x:Static RelativeSource.Self}}" Value="False"/>
                        
</MultiDataTrigger.Conditions>
                        
<Setter Property="Background">
                            
<Setter.Value>
                                
<RadialGradientBrush>
                                    
<RadialGradientBrush.GradientStops>
                                        
<GradientStopCollection>
                                            
<GradientStop Color="Yellow" Offset="0" />
                                            
<GradientStop Color="LightBlue" Offset="1" />
                                        
</GradientStopCollection>
                                    
</RadialGradientBrush.GradientStops>
                                
</RadialGradientBrush>
                            
</Setter.Value>
                        
</Setter>
                    
</MultiDataTrigger>
                
</Style.Triggers>
            
</Style>
        
</StackPanel.Resources>

        
<igOutlookBar:XamOutlookBar Name="xamOutlookBar1" Width="144">
            
<igOutlookBar:OutlookBarGroup Header="Group 1" Key="Group1" IsSelected="True"
                                          
SmallImage="/XamOutlookBarApp;component/32x32.png" 
                                          
LargeImage="/XamOutlookBarApp;component/32x32.png"
                                          
>
                
<Grid>
                    
<TextBox Text="This is a Group 1"/>
                
</Grid>
            
</igOutlookBar:OutlookBarGroup>
            
<igOutlookBar:OutlookBarGroup Header="Group 2" Key="Group2">
                
<Grid>
                    
<TextBox Text="This is a Group 2"/>
                
</Grid>
            
</igOutlookBar:OutlookBarGroup>
        
</igOutlookBar:XamOutlookBar>
        
<StackPanel>
            
<CheckBox Content="HasLargeImage" IsChecked="{Binding ElementName=xamOutlookBar1, Path=SelectedGroup.HasLargeImage, Mode=OneWay}"/>
            
<Button Content="Add Large Image" Click="Button_Click" />
            
<Button Content="Add Group" Click="Button_Click_1" />
        
</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