IModernWindowChromeProvider
Specifies the methods to be implemented by a custom Window chrome rendering provider.
public interface IModernWindowChromeProvider
Members at a glance
DrawChromeBorder | Draws the chrome border. |
DrawTitleBar | Draws the title bar and its contents. |
HandleMouseDoubleClick | Raises an opportunity to handle the mouse double-click in the non-client area / chrome if need be. |
HandleMouseLeftButtonDown | Raises an opportunity to handle the mouse "left button down" in the non-client area / chrome if need be. |
HandleMouseLeftButtonUp | Raises an opportunity to handle the mouse "left button up" in the non-client area / chrome if need be. |
HandleMouseMove | Raises an opportunity to handle the mouse move in the non-client area / chrome if need be. |
HandleMouseRightButtonUp | Raises an opportunity to handle the mouse "right button up" in the non-client area / chrome if need be. |
HandleRightClickOnTaskBar | Raises an opportunity to handle the mouse right-click on the task bar button representation of the window if need be. |
Methods
DrawChromeBorder
Draws the chrome border.
- hostWindow
- The host window.
- drawingGraphicsContext
- The supplied graphics object instance which should be used to draw the chrome border.
DrawTitleBar
Draws the title bar and its contents.
- hostWindow
- Host window instance.
- drawingGraphicsContext
- The supplied graphics object instance which should be used to draw the chrome contents.
- drawingSurfaceBounds
- Specifies the bounds of the chrome's title bar area within which the custom drawing implementation needs to draw the desired contents.
HandleMouseDoubleClick
Raises an opportunity to handle the mouse double-click in the non-client area / chrome if need be.
HandleMouseLeftButtonDown
Raises an opportunity to handle the mouse "left button down" in the non-client area / chrome if need be.
HandleMouseLeftButtonUp
Raises an opportunity to handle the mouse "left button up" in the non-client area / chrome if need be.
HandleMouseMove
Raises an opportunity to handle the mouse move in the non-client area / chrome if need be.
HandleMouseRightButtonUp
Raises an opportunity to handle the mouse "right button up" in the non-client area / chrome if need be.
HandleRightClickOnTaskBar
Raises an opportunity to handle the mouse right-click on the task bar button representation of the window if need be.