Releases: fluentribbon/Fluent.Ribbon
Releases · fluentribbon/Fluent.Ribbon
v11.0.2
v11.0.1
Bug fixes
- #1235 - MenuItems with ItemSource and nested MenuItem (thanks @imadenis for the test code)
- #1236 - Window can't be dragged with mouse in .NET 10
- #1238 - Crash in StyleHelper.EvaluateOldNewStates
- #1242 - Wrong margin in TwoLineLabel
- #1243 - TextFormattingMode.Ideal creates minor display issue
- #1248 - In a ContextMenu ItemsControl is creating a hierachical layer
v11.0.0
11.0.0
Breaking changes
- Dropped support for .NET 5.0 and .NET 3.1. Added .NET 6.0 and .NET 8.0 instead
- Aligned theming with current office versions
Backstage- Removed default
MinWidthon the button responsible for opening - Saving and restoring window sizes were removed
- Removed default
BackstageTabControlIsWindowSteeringHelperEnabledandSelectedContentMarginwere removed
BackstageTabItem- Selection now happens on left mouse button down instead of up
- Selection now happens on focus retrieval instead of
SpaceorEnterkey press
RibbonContextualTabGroup- Width is now always the width of it's containing tabs
RibbonGroupBox- Changed default
Paddingfrom0to0 4 0 0 - Removed method
ClearCache
- Changed default
RibbonTabItem- Changed default
HeaderPaddingfrom8 5 8 5to9 7 9 7.
Paddingis gradually increased/decreased when the available space changes.
Down to a minimum of5for left/right. - Replaced
IsSeparatorVisiblebySeparatorOpacity - Changed default
Paddingfrom0to4 0 4 0 Paddingis now forwarded to theMarginof the content- Active border thickness (underline) can be changed by overwriting
Fluent.Ribbon.Values.RibbonTabItem.Active.BorderThickness - Default
HeaderTemplatenow contains twoTextBlock
- Changed default
RibbonTabControlPART_SelectedContentPresenterwas renamed toPART_SelectedContentand can be of typeFrameworkElement.
The default template uses the newTransitioningControl.
The used transition can be changed by overwriting the resourceFluent.Ribbon.Values.RibbonTabControl.Content.Transition.DefaultContentGapHeightchanged from1to3DefaultContentHeightchanged from94to100- Corner radius for item display can be changed by
Fluent.Ribbon.Values.RibbonTabControl.Content.CornerRadius - Drop shadow can be changed by overwriting
Fluent.Ribbon.Values.RibbonTabControl.Content.DropShadowEffect - Content margin can be changed by overwriting
Fluent.Ribbon.Values.RibbonTabControl.Content.Margin
RibbonTitleBar- Changed default
HideContextTabsfromfalsetotrue
- Changed default
RibbonWindow- Default
Backgroundis nowFluent.Ribbon.Brushes.RibbonWindow.Background
- Default
ScreenTip- Type for
Imagewas changed fromImageSourcetoobjectto allow any image content - Type for
Textwas changed fromstringtoobjectto allow rich content (see #716)
- Type for
DropDownButton,SplitButtonandApplicationMenudon't generateMenuItembutContentPresenteras containers.
This provides more flexibility and also fixes the nestedMenuItemissues.- Removed default style assignment for
ScrollBar - Themes
- All
- Quite a few colors/brushes changed
- Dark
Fluent.Ribbon.Colors.Whitechanged from#FF252525to#FF000000
- All
- To get proper
Separatordisplay inRibbonGroupBoxyou now have to explicitly set their style toFluent.Ribbon.Styles.GroupBoxSeparator
Enhancements/Features
- Added
TabItemForegroundtoRibbonContextualTabGroup - Added resource
Fluent.Ribbon.Brushes.RibbonWindow.Background - Added
TransitioningControlto animate content changes - Added
IsBackstageOrStartScreenOpenonRibbon - #716 - Unable to use rich content for ScreenTip
- Changed text from
stringtoobjectand addedTextTemplatetoScreenTipto support this
- Changed text from
- #719 - Make StatusBarItems always visible
- Added
IsCheckabletoStatusBarItemwhich defaults totrue
- Added
RibbonProperties- Added
PressedBackground(used inFluent.Ribbon.Styles.WindowCommands.CaptionButtonetc.) - Added
CornerRadius(used forRibbonTabControl,Fluent.Ribbon.Templates.ScrollButtonetc.)
- Added
- Selecting an
RibbonTabItembrings it into view now - Improved keyboard navigation inside
BackstageTabControl - Improved mouse wheel selection on
RibbonTabControl DropDownButton- Added support for
UsesItemContainerTemplateandItemContainerTemplateSelector
- Added support for
MenuItem- Added support for
UsesItemContainerTemplateandItemContainerTemplateSelector IsSplitis now automatically set by a style trigger. IfCommandis not null andHasItemsis true.
- Added support for
RibbonMenu- Added support for
UsesItemContainerTemplateandItemContainerTemplateSelector
- Added support for
- Added
ExpandButtonContentandExpandButtonContentTemplatetoInRibbonGallery
Bug fixes
- #1162 - Maximum dropdown height is not screen aware
- #1196 - GroupName causes the selected ToggleButton to no longer trigger the click event
- #1218 - Selected tab is lost on screen changes (thanks @cbra-caa)
- #1222 - Icon property values of controls are translated by the translation tools like catalyst (thanks @avikramaditya)
- #1227 - Button events inside split button do not fire when ClosePopupOnMouseDownDelay = 0
- #1228 - ComboBox dropdown is empty when expanding for the first time when specifying ItemsPanelTemplate in order to add Grouping
- Value of
HideContextTabsare now properly restored whenBackstageis closed RibbonTitleBar- Fixed rendering when
HideContextTabsistrue - Rendering now updates when QAT is shown/hidden
- Fixed rendering when
- Opening
Backstage/StartScreennow properly sets the focus to it's content (BackstageTabControl,StartScreenTabControletc.) - Fixed mouse over for
Fluent.Ribbon.Templates.WindowCommands.CaptionButton - Fixed selection events for
BackstageTabControl,BackstageTabItem,GalleryItem,InRibbonGallery,RibbonTabControlandRibbonTabItem
v10.1.0
-
Bug fixes
- Simplified state was not updated when items changed
- #1165 - ScreenTip is not DPI aware
- #1183 - MenuItems, having a submenu, do not stay highlighted when MenuItem from the submenu is highlighted
- #1185 - LauncherIcon not rendered correctly and items in QAT can be removed from QAT in it's popup
- #1191 - Popup of DropDownButton/SplitButton has unwanted MinHeight
-
Enhancements/Features
- Performance of measuring (and thus rendering) of
RibbonTabItem(and it's contents) was improved by reducing the amount of measures required.
Most of the time there should only be one or two measure calls when switching tabs, compared to six or eight in case of the showcase application.
This is mostly achieved by getting rid of internal caching. The caching turned out to be more expensive than not caching at all. - Added
RibbonProperties.CustomIconSizeas an attached property. This is used inside control templates to setCustomSizeofIconPresenter. - Default value of
IsHitTestVisibleis nowfalseonIconPresenter. - #1177 - RibbonComboBox cannot be customized based on the original RibbonComboBox style (thanks @nishy2000)
- #1180 - Padding and BorderBrush of the gallery control do not work (thanks @nishy2000)
- Performance of measuring (and thus rendering) of
v10.0.4
v10.0.3
v10.0.2
v10.0.1
-
Bug fixes
- #1133 - Fixing binding path to attached property for simplified ControlTemplates (thanks @dcm99)
- #1134 - Selected Tab on first render has a black border
- #1135 - Black line between Ribbon and Window (when using a colorful theme)
- #1125 - BackStage Back Button doesn't have an accessibility text.
- #1151 - ComboBox Popup MinWidth too large
- #1152 - Using ObjectToImageConverter via StaticResource raises an exception (thanks @nishy2000)
v10.0.0
-
Breaking changes
- Dropped support for .NET 4.5.2. The lowest support .NET version is now 4.6.2.
- Dropped support for .NET 5.0 and add .NET 6.0 instead.
- Resizing popups should now work properly where supported (ComboBox, DropDownButton, InRibbonGallery, MenuItem, SplitButton).
Templates now use the new specializedResizeableContentControlto enable this.
Resize code was moved from single controls to the new control. - Updated ControlzEx to version 6.
RibbonWindownow inherits fromWindowChromeWindowGlowBrushandNonActiveGlowBrushare now namedGlowColorandNonActiveGlowColorand are both of typeColorinstead ofBrush- Default value for
BorderThicknesschanged from1to0
- PDBs are now embedded
- Removed
IsMinimizedandIsOpenfromRibbonTabItem HeaderTemplateandHeaderTemplateSelectorwere added toIHeaderedControl- Various controls (
Button,ComboBoxetc.) now useHeaderTemplateto format their header instead of usingTwoLineLabeldirectly - #948 - Minimize button misplaced
Minimize button was moved to the right hand side of the toolbar in the tab item row - All resources now have the prefix
Fluent.Ribbon..
This means that nearly all resources got renamed.
-
Bug fixes
- #1035 - Binding failures from within RibbonTabItem on IsMinimized & IsOpen
- #1041 - MenuItem CreateQuickAccessItem should create ToggleButton (thanks @andersforsgren)
- #1070 - Separators no longer shown in Backstage (related to #936)
- #1081 - Fix InvalidOperationException thrown when switching focus from editable ComboBox to Hyperlink (thanks @orrindeng)
- #1087 - Multiple levels of menu items of DropDownButton behaves not well (thanks @orrindeng)
- #1092 - Fix on some computers, the gallery layout is not good (thanks @orrindeng)
- #1095 - Add missing localizations for the danish language (thanks @cbra-caa)
- #1096 - BackstageTabItem tooltip shows on content hover (thanks @cbra-caa)
- #1098 - Collapsed groupboxes are not keyboard accessible (thanks @cbra-caa)
- #1101 - Backstage button tooltip shows on active backstage (thanks @cbra-caa)
- #1103 - Backstage.IsOpen is not bindable (thanks @cbra-caa)
- #1107 - Child sizes are not updated when user switches between Classic/Simplified Ribbon while Ribbon is minimized
- #1114 - Fix combobox can't open dropdown when the editable textbox of it has the focus (thanks @orrindeng)
- #1115 - Update Russian translation (thanks @Blueberryy)
- #1116 - Accessibility: Ribbon Display Options are read as "DropDown Button"
- #1117 - Accessibility: BackButton has low contrast
- #1125 - BackStage Back Button doesn't have an accessibility text.
- #1129 - Popup has been detached by the parent control
-
Enhancements/Features
- #1026 - Translate some Chinese cases (thanks @leixao)
- #1034 - Enable TextTrimming in Button Header
To enable thisHeaderTemplateandHeaderTemplateSelectorwere added toIHeaderedControl. - #1048 - DismissOnClickOutside property added to DropDownButton (thanks @MuhammadSulaiman001)
- #1049 - IsDisplayOptionsButtonVisible property is added to RibbonTabControl (thanks @zui-jiu-zhou)
- #1058 - Add option to use legacy/office-style mouse wheel tab shifting (thanks @andersforsgren)
- #1091 - Image Resource Viewer (thanks @avalanchus)
- #1112 - Enhanced FocusVisual for various controls (thanks @cbra-caa)