Continuing with my other post on the new Layout scaling feature that is in Ribbon 4.0, I also want to show off some more details of this new feature, viz.:
- The Layout scaling is easy to apply - i.e. you don't have to code / XAML the scale transformation yourself.
The control's Window object i.e. BinaryRibbonWindow class has a new property that accepts a double value for the Scaling factor, and that is all to it.
It will scale the entire window - i.e. the Window titlebar, control buttons area, as well as the Ribbon Panel (where you host all your ribbon bar content), automatically with the value you set using this simple dependency property on the BinaryRibbonWindow control.
- The Scaling transform supports Vista and Windows 7 Aero glass fully - i.e. the scaling logic will also ensure that the Aero Glass that is extended into the Window Title frame fully covers the entire area of the newly scaled up/down Window title bar (a.k.a. Non-client area) with glass.
A screen shot of the BinaryRibbon running in Vista (without Aero glass), and the layout's scale transform set at the standard 100%:
This is a screen shot of BinaryRibbon in Vista (with Aero Glass), its layout scale transform set to 150%: (You can see that the glass is correctly and fully extended to the 150% scaled area too):
This is a screen shot of BinaryRibbon in Vista (without Aero), its layout scale transform set to 150%:
Looks cool? :-)
Just wait a day or two , to get your hands on Release 10 of UIControlSuite .NET :-)
- Sundar
Comments