BinaryRibbonWindow
A custom Window class that provides Office emulating window display.
public class BinaryRibbonWindow : Window
Inherits from / implements: Window
Members at a glance
BinaryRibbonWindow | Initializes a new instance of the BinaryRibbonWindow class. |
ApplicationMenuButtonRenderingStyle | Gets or sets the application menu button rendering style. |
CloseWindow | Gets the CloseWindow routed UI command instance. |
CurrentlyRenderingGlassOnNCArea | Gets or sets a value indicating whether currently extending glass on to the Window frame. |
EnableDropShadowEffectOnWindowControlButtons | Gets or sets a value indicating whether to enable drop shadow effect on window control buttons - i.e. Minimize, Maximize and Close buttons. |
IsFlowDirectionRightToLeft | Gets or sets a value indicating whether this instance's flow direction as "Right to Left". |
IsRibbonWindowActiveAndCurrent | Gets or sets a value indicating whether this instance is active and current. |
IsWindowControlButtonsVisible | Gets or sets a value indicating whether the window control buttons are visible or not - i.e. the Minimize, Maximise and Close button. |
MaximizeWindow | Gets the Maximize routed UI command instance. |
MinimizeWindow | Gets the MinimizeWindow routed UI command instance. |
QATPanelHeight | The height of the quick access toolbar panel. |
QATPanelMargin | The margin left around the quick access toolbar panel. |
RenderGlassIfOSSupports | Gets or sets a value indicating whether to render Vista / Windows 7 Aero glass in the non-client areas, if the current OS supports. |
ScaleTransformScaleXAndScaleY | Gets or sets the scale transform's scale X and scale Y values. |
TitleBarMargin | The margin left around the title bar, which is how the caption is kept clear of the window's own chrome. |
TitleBrush | Gets or sets the Window title brush. |
WindowBorderEdgeRenderingMode | Gets or sets the window border edge rendering mode. |
WindowTitleBarBackgroundRenderingStyle | Gets or sets the window title bar background rendering style. |
ArrangeOverride | Places the children within the space this element was given, and reports the space it actually used. |
OnApplyTemplate | When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate. |
OnSizeChanged | Called when the window is resized, which is where the ribbon is told to reconsider how much of itself it can show. |
OnSourceInitialized | Raises the SourceInitialized event. BinaryRibbonWindow overrides it so the control's own handling runs alongside the base behavior. |
OnStateChanged | Raises the StateChanged event. BinaryRibbonWindow overrides it so the control's own handling runs alongside the base behavior. |
WndProc | Processes the Windows messages sent to this control's window. |
ApplicationMenuButtonRenderingStyleProperty | Identifies the ApplicationMenuButtonRenderingStyle dependency property. |
CurrentlyRenderingGlassOnNCAreaProperty | CurrentlyRenderingGlassOnNCAreaProperty property. |
EnableDropShadowEffectOnWindowControlButtonsProperty | EnableDropShadowEffectOnWindowControlButtonsProperty property. |
IsFlowDirectionRightToLeftProperty | Identifies the IsFlowDirectionRightToLeft dependency property. |
IsWindowActiveAndCurrentProperty | IsWindowActiveAndCurrentProperty property. |
IsWindowControlButtonsVisibleProperty | IsWindowControlButtonsVisibleProperty property. |
QATPanelHeightProperty | Identifies the QATPanelHeight dependency property. |
QATPanelMarginProperty | Identifies the QATPanelMargin dependency property. |
RenderGlassIfOSSupportsProperty | RenderGlassIfOSSupportsProperty property. |
ScaleTransformScaleXAndScaleYProperty | Identifies the ScaleTransformScaleXAndScaleY dependency property. |
TitleBarMarginProperty | Identifies the TitleBarMargin dependency property. |
TitleBrushProperty | TitleBrushProperty property. |
WindowBorderEdgeRenderingModeProperty | WindowBorderEdgeRenderingModeProperty property. |
WindowTitleBarBackgroundRenderingStyleProperty | Identifies the WindowTitleBarBackgroundRenderingStyle dependency property. |
Constructors
BinaryRibbonWindow
Initializes a new instance of the BinaryRibbonWindow class.
Properties
CloseWindow
Gets the CloseWindow routed UI command instance.
CurrentlyRenderingGlassOnNCArea
Gets or sets a value indicating whether currently extending glass on to the Window frame.
EnableDropShadowEffectOnWindowControlButtons
Gets or sets a value indicating whether to enable drop shadow effect on window control buttons - i.e. Minimize, Maximize and Close buttons.
IsFlowDirectionRightToLeft
Gets or sets a value indicating whether this instance's flow direction as "Right to Left".
IsRibbonWindowActiveAndCurrent
Gets or sets a value indicating whether this instance is active and current.
IsWindowControlButtonsVisible
Gets or sets a value indicating whether the window control buttons are visible or not - i.e. the Minimize, Maximise and Close button.
MaximizeWindow
Gets the Maximize routed UI command instance.
MinimizeWindow
Gets the MinimizeWindow routed UI command instance.
QATPanelHeight
The height of the quick access toolbar panel.
QATPanelMargin
The margin left around the quick access toolbar panel.
RenderGlassIfOSSupports
Gets or sets a value indicating whether to render Vista / Windows 7 Aero glass in the non-client areas, if the current OS supports.
ScaleTransformScaleXAndScaleY
Gets or sets the scale transform's scale X and scale Y values.
TitleBarMargin
The margin left around the title bar, which is how the caption is kept clear of the window's own chrome.
TitleBrush
Gets or sets the Window title brush.
WindowBorderEdgeRenderingMode
Gets or sets the window border edge rendering mode.
WindowTitleBarBackgroundRenderingStyle
Gets or sets the window title bar background rendering style.
WindowTitleBarBackgroundRenderingStyleMethods
ArrangeOverride
Places the children within the space this element was given, and reports the space it actually used.
OnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
OnSizeChanged
Called when the window is resized, which is where the ribbon is told to reconsider how much of itself it can show.
- sender
- The window.
- e
- The old and new sizes.
OnSourceInitialized
Raises the SourceInitialized event. BinaryRibbonWindow overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnStateChanged
Raises the StateChanged event. BinaryRibbonWindow overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
WndProc
Processes the Windows messages sent to this control's window.
Fields
CurrentlyRenderingGlassOnNCAreaProperty
CurrentlyRenderingGlassOnNCAreaProperty property.
EnableDropShadowEffectOnWindowControlButtonsProperty
EnableDropShadowEffectOnWindowControlButtonsProperty property.
IsFlowDirectionRightToLeftProperty
Identifies the IsFlowDirectionRightToLeft dependency property.
IsWindowActiveAndCurrentProperty
IsWindowActiveAndCurrentProperty property.
IsWindowControlButtonsVisibleProperty
IsWindowControlButtonsVisibleProperty property.
QATPanelHeightProperty
Identifies the QATPanelHeight dependency property.
QATPanelMarginProperty
Identifies the QATPanelMargin dependency property.
RenderGlassIfOSSupportsProperty
RenderGlassIfOSSupportsProperty property.
ScaleTransformScaleXAndScaleYProperty
Identifies the ScaleTransformScaleXAndScaleY dependency property.
TitleBarMarginProperty
Identifies the TitleBarMargin dependency property.
TitleBrushProperty
TitleBrushProperty property.
WindowBorderEdgeRenderingModeProperty
WindowBorderEdgeRenderingModeProperty property.
WindowTitleBarBackgroundRenderingStyleProperty
Identifies the WindowTitleBarBackgroundRenderingStyle dependency property.