MetroBarRenderer Class
Provides a base renderer for bar controls that have a Metro appearance.
public class MetroBarRenderer : VisualStudio2002BarRenderer, IDisposable, IBarRenderer, IUIRenderer
- Inheritance:
- Object MarshalByRefObject DisposableObject UIRenderer BarRenderer VisualStudio2002BarRenderer Object
- Derived:
- MetroLightBarRenderer
- Implements:
- System.IDisposable IBarRenderer IUIRenderer
Constructors
MetroBarRenderer()
Initializes a new instance of the MetroBarRenderer
class.
public MetroBarRenderer()
Remarks
The default constructor initializes all fields to their default values.
MetroBarRenderer(IWindowsColorScheme)
Initializes a new instance of the MetroBarRenderer
class.
public MetroBarRenderer(IWindowsColorScheme colorScheme)
Parameter | Type | Description |
---|---|---|
colorScheme | IWindowsColorScheme | The IWindowsColorScheme to use as a base for the colors. |
Remarks
The default constructor initializes all fields to their default values.
MetroBarRenderer(WindowsColorSchemeType)
Initializes a new instance of the MetroBarRenderer
class.
public MetroBarRenderer(WindowsColorSchemeType colorSchemeType)
Parameter | Type | Description |
---|---|---|
colorSchemeType | WindowsColorSchemeType | The WindowsColorSchemeType to use as a base for the colors. |
Properties
BaseColorSchemeType
Gets or sets the WindowsColorSchemeType to use as a base for the colors.
public WindowsColorSchemeType BaseColorSchemeType { get; set; }
Property Value
- WindowsColorSchemeType:
The WindowsColorSchemeType to use as a base for the colors.
Methods
DrawDockableToolBarFloatingTitleBar(PaintEventArgs, Rectangle, DockableToolBar)
Draws a floating dockable toolbar title bar.
public override void DrawDockableToolBarFloatingTitleBar(PaintEventArgs e, Rectangle bounds, DockableToolBar toolBar)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | A PaintEventArgs that contains the event data. |
bounds | Rectangle | The bounds in which to draw. |
toolBar | DockableToolBar | The DockableToolBar being painted. |
DrawDockableToolBarGripper(PaintEventArgs, Rectangle, DockableToolBar)
Draws a dockable toolbar gripper.
public override void DrawDockableToolBarGripper(PaintEventArgs e, Rectangle bounds, DockableToolBar toolBar)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | A PaintEventArgs that contains the event data. |
bounds | Rectangle | The bounds in which to draw. |
toolBar | DockableToolBar | The DockableToolBar being painted. |
Inherited Members
- VisualStudio2002BarRenderer.Dispose(Boolean)
- VisualStudio2002BarRenderer.ArrangeComboBoxChildControl(PaintEventArgs, Rectangle, BarComboBoxLink)
- VisualStudio2002BarRenderer.ArrangeTextBoxChildControl(PaintEventArgs, Rectangle, BarTextBoxLink)
- VisualStudio2002BarRenderer.ResetBarDefaultAlternateForeColor()
- VisualStudio2002BarRenderer.ShouldSerializeBarDefaultAlternateForeColor()
- VisualStudio2002BarRenderer.ResetBarDefaultDisabledForeColor()
- VisualStudio2002BarRenderer.ShouldSerializeBarDefaultDisabledForeColor()
- VisualStudio2002BarRenderer.ResetBarDefaultFont()
- VisualStudio2002BarRenderer.ShouldSerializeBarDefaultFont()
- VisualStudio2002BarRenderer.ResetBarDefaultForeColor()
- VisualStudio2002BarRenderer.ShouldSerializeBarDefaultForeColor()
- VisualStudio2002BarRenderer.ResetDecorationDarkColor()
- VisualStudio2002BarRenderer.ShouldSerializeDecorationDarkColor()
- VisualStudio2002BarRenderer.ResetDecorationLightColor()
- VisualStudio2002BarRenderer.ShouldSerializeDecorationLightColor()
- VisualStudio2002BarRenderer.ResetDockAreaBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeDockAreaBackgroundFill()
- VisualStudio2002BarRenderer.DoesBarControlRenderDiscreteMenuCheckIcons(IBarControl)
- VisualStudio2002BarRenderer.DrawButtonLink(PaintEventArgs, Rectangle, BarButtonLink)
- VisualStudio2002BarRenderer.DrawComboBoxLink(PaintEventArgs, Rectangle, BarComboBoxLink)
- VisualStudio2002BarRenderer.DrawCommandInCustomizeList(PaintEventArgs, Rectangle, BarManager, BarCommand, UIElementDrawState, Boolean, SizeF)
- VisualStudio2002BarRenderer.DrawCommandLinkInCustomizeList(PaintEventArgs, Rectangle, BarManager, BarCommandLink, UIElementDrawState, Boolean)
- VisualStudio2002BarRenderer.DrawDockableToolBarBackground(PaintEventArgs, Rectangle, DockableToolBar)
- VisualStudio2002BarRenderer.DrawDockableToolBarFloatingContainerBackground(PaintEventArgs, Rectangle, DockableToolBar)
- VisualStudio2002BarRenderer.DrawDockableToolBarOptionsButton(PaintEventArgs, Rectangle, DockableToolBar, BarPopupButtonLink)
- VisualStudio2002BarRenderer.DrawDockAreaBackground(PaintEventArgs, Rectangle, BarDockArea)
- VisualStudio2002BarRenderer.DrawExpanderButtonLink(PaintEventArgs, Rectangle, BarExpanderButtonLink)
- VisualStudio2002BarRenderer.DrawLabelLink(PaintEventArgs, Rectangle, BarLabelLink)
- VisualStudio2002BarRenderer.DrawMenuBackground(PaintEventArgs, Rectangle, IBarControl)
- VisualStudio2002BarRenderer.DrawMenuGripper(PaintEventArgs, Rectangle, IUIElement)
- VisualStudio2002BarRenderer.DrawMenuOverflowButton(PaintEventArgs, Rectangle, IUIElement, Boolean)
- VisualStudio2002BarRenderer.DrawMenuSeparator(PaintEventArgs, Rectangle, BarCommandLink, Orientation)
- VisualStudio2002BarRenderer.DrawPopupButtonLink(PaintEventArgs, Rectangle, BarPopupButtonLink)
- VisualStudio2002BarRenderer.DrawSplitButtonLink(PaintEventArgs, Rectangle, BarSplitButtonLink)
- VisualStudio2002BarRenderer.DrawSystemButtonLink(PaintEventArgs, Rectangle, BarButtonLink)
- VisualStudio2002BarRenderer.DrawSystemPopupButtonLink(PaintEventArgs, Rectangle, BarPopupButtonLink)
- VisualStudio2002BarRenderer.DrawTextBoxLink(PaintEventArgs, Rectangle, BarTextBoxLink)
- VisualStudio2002BarRenderer.DrawToolBarBackground(PaintEventArgs, Rectangle, ToolBar)
- VisualStudio2002BarRenderer.DrawToolBarSeparator(PaintEventArgs, Rectangle, BarCommandLink, Orientation)
- VisualStudio2002BarRenderer.MeasureCommandLink(Graphics, BarCommandLink)
- VisualStudio2002BarRenderer.MeasureDockableToolBarFloatingTitleBarHeight(Graphics, DockableToolBar)
- VisualStudio2002BarRenderer.ResetMenuDefaultAddRemoveButtonsColumnBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeMenuDefaultAddRemoveButtonsColumnBackgroundFill()
- VisualStudio2002BarRenderer.ResetMenuDefaultBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeMenuDefaultBackgroundFill()
- VisualStudio2002BarRenderer.ResetMenuDefaultBorder()
- VisualStudio2002BarRenderer.ShouldSerializeMenuDefaultBorder()
- VisualStudio2002BarRenderer.ResetMenuDefaultCommandLinkCheckedBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeMenuDefaultCommandLinkCheckedBackgroundFill()
- VisualStudio2002BarRenderer.ResetMenuDefaultCommandLinkCheckedBorder()
- VisualStudio2002BarRenderer.ShouldSerializeMenuDefaultCommandLinkCheckedBorder()
- VisualStudio2002BarRenderer.ResetMenuDefaultCommandLinkHotBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeMenuDefaultCommandLinkHotBackgroundFill()
- VisualStudio2002BarRenderer.ResetMenuDefaultCommandLinkHotBorder()
- VisualStudio2002BarRenderer.ShouldSerializeMenuDefaultCommandLinkHotBorder()
- VisualStudio2002BarRenderer.ResetMenuDefaultCommandLinkHotPressedBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeMenuDefaultCommandLinkHotPressedBackgroundFill()
- VisualStudio2002BarRenderer.ResetMenuDefaultCommandLinkHotPressedBorder()
- VisualStudio2002BarRenderer.ShouldSerializeMenuDefaultCommandLinkHotPressedBorder()
- VisualStudio2002BarRenderer.ResetMenuDefaultImageColumnBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeMenuDefaultImageColumnBackgroundFill()
- VisualStudio2002BarRenderer.ResetMenuDefaultLabelLinkBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeMenuDefaultLabelLinkBackgroundFill()
- VisualStudio2002BarRenderer.ResetAll(Boolean)
- VisualStudio2002BarRenderer.ResetToolBarDefaultBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultBackgroundFill()
- VisualStudio2002BarRenderer.ResetToolBarDefaultCommandLinkCheckedBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultCommandLinkCheckedBackgroundFill()
- VisualStudio2002BarRenderer.ResetToolBarDefaultCommandLinkCheckedBorder()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultCommandLinkCheckedBorder()
- VisualStudio2002BarRenderer.ResetToolBarDefaultCommandLinkHotBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultCommandLinkHotBackgroundFill()
- VisualStudio2002BarRenderer.ResetToolBarDefaultCommandLinkHotBorder()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultCommandLinkHotBorder()
- VisualStudio2002BarRenderer.ResetToolBarDefaultCommandLinkHotPressedBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultCommandLinkHotPressedBackgroundFill()
- VisualStudio2002BarRenderer.ResetToolBarDefaultCommandLinkHotPressedBorder()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultCommandLinkHotPressedBorder()
- VisualStudio2002BarRenderer.ResetToolBarDefaultCommandLinkSelectedBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultCommandLinkSelectedBackgroundFill()
- VisualStudio2002BarRenderer.ResetToolBarDefaultCommandLinkSelectedBorder()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultCommandLinkSelectedBorder()
- VisualStudio2002BarRenderer.ResetToolBarDefaultFloatingBackColor()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultFloatingBackColor()
- VisualStudio2002BarRenderer.ResetToolBarDefaultFloatingBorder()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultFloatingBorder()
- VisualStudio2002BarRenderer.ResetToolBarDefaultFloatingForeColor()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultFloatingForeColor()
- VisualStudio2002BarRenderer.ResetToolBarDefaultFloatingTitleBarBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultFloatingTitleBarBackgroundFill()
- VisualStudio2002BarRenderer.ResetToolBarDefaultFloatingTitleBarFont()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultFloatingTitleBarFont()
- VisualStudio2002BarRenderer.ResetToolBarDefaultOptionsButtonBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultOptionsButtonBackgroundFill()
- VisualStudio2002BarRenderer.ResetToolBarDefaultOptionsButtonHotBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultOptionsButtonHotBackgroundFill()
- VisualStudio2002BarRenderer.ResetToolBarDefaultOptionsButtonPressedBackgroundFill()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarDefaultOptionsButtonPressedBackgroundFill()
- VisualStudio2002BarRenderer.ResetToolBarImageMargin()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarImageMargin()
- VisualStudio2002BarRenderer.ResetToolBarSeparatorDarkColor()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarSeparatorDarkColor()
- VisualStudio2002BarRenderer.ResetToolBarSeparatorLightColor()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarSeparatorLightColor()
- VisualStudio2002BarRenderer.ResetToolBarShadowColor()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarShadowColor()
- VisualStudio2002BarRenderer.ResetToolBarTextMarginHorizontal()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarTextMarginHorizontal()
- VisualStudio2002BarRenderer.ResetToolBarTextMarginVertical()
- VisualStudio2002BarRenderer.ShouldSerializeToolBarTextMarginVertical()
- VisualStudio2002BarRenderer.BarDefaultAlternateForeColor
- VisualStudio2002BarRenderer.BarDefaultDisabledForeColor
- VisualStudio2002BarRenderer.BarDefaultFont
- VisualStudio2002BarRenderer.BarDefaultForeColor
- VisualStudio2002BarRenderer.DecorationDarkColor
- VisualStudio2002BarRenderer.DecorationLightColor
- VisualStudio2002BarRenderer.DockAreaBackgroundFill
- VisualStudio2002BarRenderer.MenuDefaultAddRemoveButtonsColumnBackgroundFill
- VisualStudio2002BarRenderer.MenuDefaultBackgroundFill
- VisualStudio2002BarRenderer.MenuDefaultBorder
- VisualStudio2002BarRenderer.MenuDefaultCommandLinkCheckedBackgroundFill
- VisualStudio2002BarRenderer.MenuDefaultCommandLinkCheckedBorder
- VisualStudio2002BarRenderer.MenuDefaultCommandLinkHotBackgroundFill
- VisualStudio2002BarRenderer.MenuDefaultCommandLinkHotBorder
- VisualStudio2002BarRenderer.MenuDefaultCommandLinkHotPressedBackgroundFill
- VisualStudio2002BarRenderer.MenuDefaultCommandLinkHotPressedBorder
- VisualStudio2002BarRenderer.MenuDefaultImageColumnBackgroundFill
- VisualStudio2002BarRenderer.MenuDefaultLabelLinkBackgroundFill
- VisualStudio2002BarRenderer.ToolBarDefaultBackgroundFill
- VisualStudio2002BarRenderer.ToolBarDefaultCommandLinkCheckedBackgroundFill
- VisualStudio2002BarRenderer.ToolBarDefaultCommandLinkCheckedBorder
- VisualStudio2002BarRenderer.ToolBarDefaultCommandLinkHotBackgroundFill
- VisualStudio2002BarRenderer.ToolBarDefaultCommandLinkHotBorder
- VisualStudio2002BarRenderer.ToolBarDefaultCommandLinkHotPressedBackgroundFill
- VisualStudio2002BarRenderer.ToolBarDefaultCommandLinkHotPressedBorder
- VisualStudio2002BarRenderer.ToolBarDefaultCommandLinkSelectedBackgroundFill
- VisualStudio2002BarRenderer.ToolBarDefaultCommandLinkSelectedBorder
- VisualStudio2002BarRenderer.ToolBarDefaultFloatingBackColor
- VisualStudio2002BarRenderer.ToolBarDefaultFloatingBorder
- VisualStudio2002BarRenderer.ToolBarDefaultFloatingForeColor
- VisualStudio2002BarRenderer.ToolBarDefaultFloatingTitleBarBackgroundFill
- VisualStudio2002BarRenderer.ToolBarDefaultFloatingTitleBarFont
- VisualStudio2002BarRenderer.ToolBarDefaultOptionsButtonBackgroundFill
- VisualStudio2002BarRenderer.ToolBarDefaultOptionsButtonHotBackgroundFill
- VisualStudio2002BarRenderer.ToolBarDefaultOptionsButtonPressedBackgroundFill
- VisualStudio2002BarRenderer.ToolBarImageMargin
- VisualStudio2002BarRenderer.ToolBarSeparatorDarkColor
- VisualStudio2002BarRenderer.ToolBarSeparatorLightColor
- VisualStudio2002BarRenderer.ToolBarShadowColor
- VisualStudio2002BarRenderer.ToolBarTextMarginHorizontal
- VisualStudio2002BarRenderer.ToolBarTextMarginVertical
- BarRenderer.ApplyColorSchemeToBarCustomControlLink(BarCustomControlLink)
- BarRenderer.ResetDockableToolBarDockedPadding()
- BarRenderer.ShouldSerializeDockableToolBarDockedPadding()
- BarRenderer.ResetDockableToolBarFloatingBorderWidth()
- BarRenderer.ShouldSerializeDockableToolBarFloatingBorderWidth()
- BarRenderer.ResetDockableToolBarFloatingPadding()
- BarRenderer.ShouldSerializeDockableToolBarFloatingPadding()
- BarRenderer.ResetDockableToolBarFloatingTitleBarPadding()
- BarRenderer.ShouldSerializeDockableToolBarFloatingTitleBarPadding()
- BarRenderer.ResetDockableToolBarGripperExtent()
- BarRenderer.ShouldSerializeDockableToolBarGripperExtent()
- BarRenderer.ResetDockableToolBarOptionsButtonExtent()
- BarRenderer.ShouldSerializeDockableToolBarOptionsButtonExtent()
- BarRenderer.DrawComboBoxLinkItem(DrawItemEventArgs, BarComboBoxLink, Object)
- BarRenderer.DrawCommandLinkSelectionBorder(PaintEventArgs, Rectangle, BarCommandLink)
- BarRenderer.DrawMenuBarMdiIcon(PaintEventArgs, Rectangle, BarManager)
- BarRenderer.ResetMenuBarPadding()
- BarRenderer.ShouldSerializeMenuBarPadding()
- BarRenderer.ResetMenuDefaultColumnWidth()
- BarRenderer.ShouldSerializeMenuDefaultColumnWidth()
- BarRenderer.ResetMenuGripperHeight()
- BarRenderer.ShouldSerializeMenuGripperHeight()
- BarRenderer.ResetMenuOverflowButtonHeight()
- BarRenderer.ShouldSerializeMenuOverflowButtonHeight()
- BarRenderer.ResetMenuSeparatorHeight()
- BarRenderer.ShouldSerializeMenuSeparatorHeight()
- BarRenderer.ResetMenuSplitButtonPopupExtent()
- BarRenderer.ShouldSerializeMenuSplitButtonPopupExtent()
- BarRenderer.ResetMenuTextMarginHorizontal()
- BarRenderer.ShouldSerializeMenuTextMarginHorizontal()
- BarRenderer.ResetMenuTextMarginVertical()
- BarRenderer.ShouldSerializeMenuTextMarginVertical()
- BarRenderer.OnSystemUserPreferenceColorChanged()
- BarRenderer.ResetPopupButtonLinkArrowStyle()
- BarRenderer.ShouldSerializePopupButtonLinkArrowStyle()
- BarRenderer.ResetResetAllPropertiesOnSystemColorChange()
- BarRenderer.ShouldSerializeResetAllPropertiesOnSystemColorChange()
- BarRenderer.ShouldDisplayDropDownArrow(BarCommandLink)
- BarRenderer.ResetToolBarAscentMargin()
- BarRenderer.ShouldSerializeToolBarAscentMargin()
- BarRenderer.ResetToolBarExtentMargin()
- BarRenderer.ShouldSerializeToolBarExtentMargin()
- BarRenderer.ResetToolBarSeparatorExtent()
- BarRenderer.ShouldSerializeToolBarSeparatorExtent()
- BarRenderer.ResetToolBarSplitButtonPopupExtent()
- BarRenderer.ShouldSerializeToolBarSplitButtonPopupExtent()
- BarRenderer.DockableToolBarDockedPadding
- BarRenderer.DockableToolBarFloatingBorderWidth
- BarRenderer.DockableToolBarFloatingPadding
- BarRenderer.DockableToolBarFloatingTitleBarPadding
- BarRenderer.DockableToolBarGripperExtent
- BarRenderer.DockableToolBarOptionsButtonExtent
- BarRenderer.MenuBarPadding
- BarRenderer.MenuDefaultColumnWidth
- BarRenderer.MenuGripperHeight
- BarRenderer.MenuOverflowButtonHeight
- BarRenderer.MenuSeparatorHeight
- BarRenderer.MenuSplitButtonPopupExtent
- BarRenderer.MenuTextMarginHorizontal
- BarRenderer.MenuTextMarginVertical
- BarRenderer.PopupButtonLinkArrowStyle
- BarRenderer.ResetAllPropertiesOnSystemColorChange
- BarRenderer.ToolBarAscentMargin
- BarRenderer.ToolBarExtentMargin
- BarRenderer.ToolBarSeparatorExtent
- BarRenderer.ToolBarSplitButtonPopupExtent
- UIRenderer.Equals(Object)
- UIRenderer.GetHashCode()
- UIRenderer.OnColorSchemeChanged()
- UIRenderer.OnPropertyChanged(EventArgs)
- UIRenderer.ColorScheme
- UIRenderer.IsSystemUserPreferenceColorChangeMonitored
- UIRenderer.PropertyChanged
- DisposableObject.Dispose()
- DisposableObject.VerifyNotDisposed()
- DisposableObject.IsDisposed
- DisposableObject.Disposed
- MarshalByRefObject.MemberwiseClone(Boolean)
- MarshalByRefObject.GetLifetimeService()
- MarshalByRefObject.InitializeLifetimeService()
- MarshalByRefObject.CreateObjRef(Type)
- Object.ToString()
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetType()
- System.Object.MemberwiseClone()