Releases: fluentribbon/Fluent.Ribbon
Releases · fluentribbon/Fluent.Ribbon
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
MinWidth
on the button responsible for opening - Saving and restoring window sizes were removed
- Removed default
BackstageTabControl
IsWindowSteeringHelperEnabled
andSelectedContentMargin
were removed
BackstageTabItem
- Selection now happens on left mouse button down instead of up
- Selection now happens on focus retrieval instead of
Space
orEnter
key press
RibbonContextualTabGroup
- Width is now always the width of it's containing tabs
RibbonGroupBox
- Changed default
Padding
from0
to0 4 0 0
- Removed method
ClearCache
- Changed default
RibbonTabItem
- Changed default
HeaderPadding
from8 5 8 5
to9 7 9 7
.
Padding
is gradually increased/decreased when the available space changes.
Down to a minimum of5
for left/right. - Replaced
IsSeparatorVisible
bySeparatorOpacity
- Changed default
Padding
from0
to4 0 4 0
Padding
is now forwarded to theMargin
of the content- Active border thickness (underline) can be changed by overwriting
Fluent.Ribbon.Values.RibbonTabItem.Active.BorderThickness
- Default
HeaderTemplate
now contains twoTextBlock
- Changed default
RibbonTabControl
PART_SelectedContentPresenter
was renamed toPART_SelectedContent
and 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
.DefaultContentGapHeight
changed from1
to3
DefaultContentHeight
changed from94
to100
- 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
HideContextTabs
fromfalse
totrue
- Changed default
RibbonWindow
- Default
Background
is nowFluent.Ribbon.Brushes.RibbonWindow.Background
- Default
ScreenTip
- Type for
Image
was changed fromImageSource
toobject
to allow any image content - Type for
Text
was changed fromstring
toobject
to allow rich content (see #716)
- Type for
DropDownButton
,SplitButton
andApplicationMenu
don't generateMenuItem
butContentPresenter
as containers.
This provides more flexibility and also fixes the nestedMenuItem
issues.- Removed default style assignment for
ScrollBar
- Themes
- All
- Quite a few colors/brushes changed
- Dark
Fluent.Ribbon.Colors.White
changed from#FF252525
to#FF000000
- All
Enhancements/Features
- Added
TabItemForeground
toRibbonContextualTabGroup
- Added resource
Fluent.Ribbon.Brushes.RibbonWindow.Background
- Added
TransitioningControl
to animate content changes - Added
IsBackstageOrStartScreenOpen
onRibbon
- #716 - Unable to use rich content for ScreenTip
- Changed text from
string
toobject
and addedTextTemplate
toScreenTip
to support this
- Changed text from
- #719 - Make StatusBarItems always visible
- Added
IsCheckable
toStatusBarItem
which defaults totrue
- Added
RibbonProperties
- Added
PressedBackground
(used inFluent.Ribbon.Styles.WindowCommands.CaptionButton
etc.) - Added
CornerRadius
(used forRibbonTabControl
,Fluent.Ribbon.Templates.ScrollButton
etc.)
- Added
- Selecting an
RibbonTabItem
brings it into view now - Improved keyboard navigation inside
BackstageTabControl
- Improved mouse wheel selection on
RibbonTabControl
DropDownButton
- Added support for
UsesItemContainerTemplate
andItemContainerTemplateSelector
- Added support for
MenuItem
- Added support for
UsesItemContainerTemplate
andItemContainerTemplateSelector
IsSplit
is now automatically set by a style trigger. IfCommand
is not null andHasItems
is true.
- Added support for
RibbonMenu
- Added support for
UsesItemContainerTemplate
andItemContainerTemplateSelector
- Added support for
- Added
ExpandButtonContent
andExpandButtonContentTemplate
toInRibbonGallery
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
HideContextTabs
are now properly restored whenBackstage
is closed RibbonTitleBar
- Fixed rendering when
HideContextTabs
istrue
- Rendering now updates when QAT is shown/hidden
- Fixed rendering when
- Opening
Backstage
/StartScreen
now properly sets the focus to it's content (BackstageTabControl
,StartScreenTabControl
etc.) - Fixed mouse over for
Fluent.Ribbon.Templates.WindowCommands.CaptionButton
- Fixed selection events for
BackstageTabControl
,BackstageTabItem
,GalleryItem
,InRibbonGallery
,RibbonTabControl
andRibbonTabItem
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.CustomIconSize
as an attached property. This is used inside control templates to setCustomSize
ofIconPresenter
. - Default value of
IsHitTestVisible
is nowfalse
onIconPresenter
. - #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 specializedResizeableContentControl
to enable this.
Resize code was moved from single controls to the new control. - Updated ControlzEx to version 6.
RibbonWindow
now inherits fromWindowChromeWindow
GlowBrush
andNonActiveGlowBrush
are now namedGlowColor
andNonActiveGlowColor
and are both of typeColor
instead ofBrush
- Default value for
BorderThickness
changed from1
to0
- PDBs are now embedded
- Removed
IsMinimized
andIsOpen
fromRibbonTabItem
HeaderTemplate
andHeaderTemplateSelector
were added toIHeaderedControl
- Various controls (
Button
,ComboBox
etc.) now useHeaderTemplate
to format their header instead of usingTwoLineLabel
directly - #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 thisHeaderTemplate
andHeaderTemplateSelector
were 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)