Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
142973 | Feb 27,2019 11:11 AM UTC | Mar 1,2019 06:24 AM UTC | WPF | 3 |
![]() |
Tags: General |
<syncfusion:GroupBar Name="gBar" Margin="10" ItemHeaderHeight="25" ItemsSource="{Binding SampleList}"
Width="300" HorizontalAlignment="Center" VisualMode="MultipleExpansion" >
<syncfusion:GroupBar.ItemContainerStyle>
<Style TargetType="{x:Type syncfusion:GroupBarItem}" BasedOn="{StaticResource Office2007BlueGroupBarItemStyle}">
<Setter Property="Header" Value="{Binding}"/>
<Setter Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Name}" FontWeight="Bold" Margin="3" VerticalAlignment="Center"/>
</StackPanel>
</DataTemplate>
</Setter.Value>
</Setter>
<Setter Property="Content" Value="{Binding}"/>
<Setter Property="ContentTemplate" Value="{StaticResource template}"/>
<Setter Property="IsExpanded" Value="True"/>
</Style>
</syncfusion:GroupBar.ItemContainerStyle>
</syncfusion:GroupBar> |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.