Hello there
I am using the Office_BlueTheme and I am using the new RadRibbonBackstageItem.
I want to move away from the BackstageItem when I click on a MRU item. Basically I want the same behavior as when IsSelectable="False"
Is there a way to manual switch to the default tab?
This is my MRU template:
I am using the Office_BlueTheme and I am using the new RadRibbonBackstageItem.
I want to move away from the BackstageItem when I click on a MRU item. Basically I want the same behavior as when IsSelectable="False"
Is there a way to manual switch to the default tab?
This is my MRU template:
<
telerik:RadRibbonBackstageItem
Header
=
"Recent"
IsDefault
=
"True"
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
StackPanel
Margin
=
"15 15 0 0"
>
<
TextBlock
Margin
=
"0 0 0 2"
FontSize
=
"14"
FontWeight
=
"Bold"
Text
=
"Recent Documents"
/>
<
Rectangle
Height
=
"1"
>
<
Rectangle.Fill
>
<
LinearGradientBrush
MappingMode
=
"Absolute"
SpreadMethod
=
"Repeat"
StartPoint
=
"0,0.5"
EndPoint
=
"4,0.5"
>
<
GradientStop
Offset
=
"0"
Color
=
"#40000000"
/>
<
GradientStop
Offset
=
"0.5"
Color
=
"#40000000"
/>
<
GradientStop
Offset
=
"0.501"
Color
=
"Transparent"
/>
</
LinearGradientBrush
>
</
Rectangle.Fill
>
</
Rectangle
>
<
ItemsControl
Margin
=
"0 4 0 0"
>
<
ListView
ItemsSource
=
"{Binding Path=MruList}"
SelectionMode
=
"Single"
BorderThickness
=
"0"
>
<
ListView.ItemTemplate
>
<
DataTemplate
>
<
telerik:RadRibbonButton
Content
=
"{Binding Name}"
Command="{Binding DataContext.OpenFromMruCommand,
RelativeSource={RelativeSource
Mode
=
FindAncestor
,
AncestorType
=
ItemsControl
}}"
CommandParameter
=
"{Binding}"
HorizontalAlignment
=
"Stretch"
/>
</
DataTemplate
>
</
ListView.ItemTemplate
>
</
ListView
>
</
ItemsControl
>
</
StackPanel
>
</
Grid
>
</
telerik:RadRibbonBackstageItem
>