Edit: Title should be "Strange behaviour of minimized ITEMS" (not icons, but I can't change the Title)
Dear Support,
I'm just testing your controls because the Infragistics-Suite seems not to support MVVM in any way.
Your OutlookBar works great, but I have an issue/question about the "Caption/Header/Text" of minimizedItems.
Please take a look at following XAML
The Items are shown correctly. But if I'm using the slider in order to minimize the Items, the SmallIcon together with the ClassName will be shown at each "minimizedItem" in the outlookbar at the bottom. I don't understand why.
I have seen your MVVM-Binding-Sample in which you used ItemMinimizedTemplate
I could use this DataTemplage and delete the TextBlock inside the StackPanel. Then only the Icon will be shown within minimized Items.
But it seems more clean for me with my code above, instead of retemplating ItemMinimizedTemplate, ItemTemplate, HeaderTemplate etc. The OutlookBar is bound to a CollectionView calles "OutlookEntries" which contains a simple Class with Strings as Header and ImageSources as Icons.
Any hints would be appreciated.
Dear Support,
I'm just testing your controls because the Infragistics-Suite seems not to support MVVM in any way.
Your OutlookBar works great, but I have an issue/question about the "Caption/Header/Text" of minimizedItems.
Please take a look at following XAML
<
telerik:RadOutlookBar
QuickStart:ThemeAwareBackgroundBehavior.IsEnabled
=
"True"
telerik:Theming.Theme
=
"Office_Blue"
ItemsSource
=
"{Binding OutlookEntries}"
Height
=
"234"
HorizontalAlignment
=
"Stretch"
Margin
=
"211,6,160,31"
Name
=
"RadOutlookBar1"
VerticalAlignment
=
"Stretch"
Width
=
"229"
>
<
telerik:RadOutlookBar.Resources
>
<
Style
TargetType
=
"{x:Type telerik:RadOutlookBarItem}"
>
<
Setter
Property
=
"Header"
Value
=
"{Binding Header}"
/>
<
Setter
Property
=
"SmallIcon"
Value
=
"{Binding SmallImage}"
/>
<
Setter
Property
=
"Title"
Value
=
"{Binding Header}"
/>
<
Setter
Property
=
"Icon"
Value
=
"{Binding LargeImage}"
/>
</
Style
>
</
telerik:RadOutlookBar.Resources
>
</
telerik:RadOutlookBar
>
The Items are shown correctly. But if I'm using the slider in order to minimize the Items, the SmallIcon together with the ClassName will be shown at each "minimizedItem" in the outlookbar at the bottom. I don't understand why.
I have seen your MVVM-Binding-Sample in which you used ItemMinimizedTemplate
<
telerik:RadOutlookBar.ItemMinimizedTemplate
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
TextBlock
Text={Binding Header}/>
</
StackPanel
>
</
DataTemplate
>
</
telerik:RadOutlookBar.ItemMinimizedTemplate
>
I could use this DataTemplage and delete the TextBlock inside the StackPanel. Then only the Icon will be shown within minimized Items.
But it seems more clean for me with my code above, instead of retemplating ItemMinimizedTemplate, ItemTemplate, HeaderTemplate etc. The OutlookBar is bound to a CollectionView calles "OutlookEntries" which contains a simple Class with Strings as Header and ImageSources as Icons.
Any hints would be appreciated.