WPF Ribbon control like in Office
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.RibbonProperties.CustomIconSize
as an attached property. This is used inside control templates to set CustomSize
of IconPresenter
.IsHitTestVisible
is now false
on IconPresenter
.ResizeableContentControl
to enable this.RibbonWindow
now inherits from WindowChromeWindow
GlowBrush
and NonActiveGlowBrush
are now named GlowColor
and NonActiveGlowColor
and are both of type Color
instead of Brush
BorderThickness
changed from 1
to 0
IsMinimized
and IsOpen
from RibbonTabItem
HeaderTemplate
and HeaderTemplateSelector
were added to IHeaderedControl
Button
, ComboBox
etc.) now use HeaderTemplate
to format their header instead of using TwoLineLabel
directlyFluent.Ribbon.
.HeaderTemplate
and HeaderTemplateSelector
were added to IHeaderedControl
.IconPresenter
must not be focusable