fluentribbon / Fluent.Ribbon

WPF Ribbon control like in Office
http://fluentribbon.github.io
MIT License
2.54k stars 518 forks source link

disable ribbon display option #1106

Closed sami-soft closed 1 year ago

sami-soft commented 1 year ago

000 How do I disable this disable ribbon display option?

batzen commented 1 year ago

Which option do you mean?

If you want to hide the display options button you can set IsDisplayOptionsButtonVisible on your ribbon to false.

sami-soft commented 1 year ago

Which option do you mean?

If you want to hide the display options button you can set IsDisplayOptionsButtonVisible on your ribbon to false.

IsDisplayOptionsButtonVisible was not found in property ribbon !!!

<Fluent:Ribbon IsDisplayOptionsButtonVisible="false"

batzen commented 1 year ago

Which option do you mean?

Which version are you using?

sami-soft commented 1 year ago

1111

Which option do you mean?

Which version are you using?

last version : 9.0.4 project : net6.0-wpf

i will set IsDisplayOptionsButtonVisible to false but not found !

<Fluent:RibbonWindow x:Class="form_1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Fluent="urn:fluent-ribbon" xmlns:mscorlib="clr-namespace:System;assembly=mscorlib" xmlns:local="clr-namespace:form_1" mc:Ignorable="d" WindowState="Maximized" WindowStartupLocation="CenterScreen" ResizeMode="CanMinimize" Title="form_1" FontFamily="vazir" Height="450" Width="800" Closing="Window_Closing" Loaded="Window_Loaded"> <DockPanel> <Grid> <Fluent:Ribbon IsDisplayOptionsButtonVisible="false" > //tabs
</Fluent:Ribbon> </Grid> </DockPanel> </Fluent:RibbonWindow>

batzen commented 1 year ago

That's because that property was introduced in version 10 and is not available in version 9.