Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
You have to extract / get the default Style/Tempalte of the RadRibbonView and play with the MinimizeButton (the green lines are new ones):
<
telerik:RadRibbonToggleButton
x:Name
=
"MinimizeButton"
ToolTipService.ToolTip
"{Binding IsMinimized, RelativeSource={RelativeSource TemplatedParent} , Converter={StaticResource converter}}"
IsChecked
"{Binding IsMinimized, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
IsEnabled
"{TemplateBinding IsMinimizable}"
Style
"{TemplateBinding MinimizeButtonStyle}"
Visibility
"{TemplateBinding MinimizeButtonVisibility}"
/>
public
class
BoolToStringConverter : IValueConverter
{
object
Convert(
value, Type targetType,
parameter, System.Globalization.CultureInfo culture)
var isRibbonOpened = value
as
bool
?;
if
(isRibbonOpened.HasValue)
(isRibbonOpened ==
true
)
return
"Show the RibbonView"
;
}
else
"Collapse the RibbonView"
""