In This Article

BarRenderer Class

Provides the default renderer for bar controls.

public abstract class BarRenderer : DisposableObject, IDisposable, IBarRenderer, IUIRenderer
Inheritance:
Object MarshalByRefObject DisposableObject Object
Derived:
VisualStudio2002BarRenderer
Implements:
IDisposable IBarRenderer IUIRenderer

Constructors

BarRenderer()

Initializes a new instance of the BarRenderer class.

public BarRenderer()

Remarks

The default constructor initializes all fields to their default values.

Properties

DockableToolBarDockedPadding

Gets or sets the padding inside of docked toolbars.

public Padding DockableToolBarDockedPadding { get; set; }

Property Value

Padding:

The padding inside of docked toolbars.

DockableToolBarFloatingBorderWidth

Gets or sets the border width of a floating toolbar.

public int DockableToolBarFloatingBorderWidth { get; set; }

Property Value

Int32:

The border width of a floating toolbar.

DockableToolBarFloatingPadding

Gets or sets the padding inside of floating toolbars.

public Padding DockableToolBarFloatingPadding { get; set; }

Property Value

Padding:

The padding inside of floating toolbars.

DockableToolBarFloatingTitleBarPadding

Gets or sets the padding inside of floating toolbar title bars.

public Padding DockableToolBarFloatingTitleBarPadding { get; set; }

Property Value

Padding:

The padding inside of floating toolbar title bars.

DockableToolBarGripperExtent

Gets or sets the extent of a toolbar gripper.

public int DockableToolBarGripperExtent { get; set; }

Property Value

Int32:

The extent of a toolbar gripper.

DockableToolBarOptionsButtonExtent

Gets or sets the extent of a toolbar options button.

public int DockableToolBarOptionsButtonExtent { get; set; }

Property Value

Int32:

The extent of a toolbar options button.

MenuBarPadding

Gets or sets the padding inside of menu bars.

public Padding MenuBarPadding { get; set; }

Property Value

Padding:

The padding inside of menu bars.

MenuDefaultColumnWidth

Gets or sets the default width of a menu column.

public int MenuDefaultColumnWidth { get; set; }

Property Value

Int32:

The default width of a menu column.

MenuGripperHeight

Gets or sets the height of a menu gripper.

public int MenuGripperHeight { get; set; }

Property Value

Int32:

The height of a menu gripper.

MenuOverflowButtonHeight

Gets or sets the height of a menu overflow button.

public int MenuOverflowButtonHeight { get; set; }

Property Value

Int32:

The height of a menu overflow button.

MenuSeparatorHeight

Gets or sets the height of a menu separator.

public int MenuSeparatorHeight { get; set; }

Property Value

Int32:

The height of a menu separator.

MenuSplitButtonPopupExtent

Gets the extent of the popup portion of a split button in a menu.

public int MenuSplitButtonPopupExtent { get; set; }

Property Value

Int32:

The extent of the popup portion of a split button in a menu.

MenuTextMarginHorizontal

Gets or sets the horizontal padding around menu text.

public int MenuTextMarginHorizontal { get; set; }

Property Value

Int32:

The horizontal padding around menu text.

MenuTextMarginVertical

Gets or sets the vertical padding around menu text.

public int MenuTextMarginVertical { get; set; }

Property Value

Int32:

The vertical padding around menu text.

PopupButtonLinkArrowStyle

Gets or sets the arrow style to use when drawing BarPopupButtonLink command links.

public BarPopupButtonLinkArrowStyle PopupButtonLinkArrowStyle { get; set; }

Property Value

BarPopupButtonLinkArrowStyle:

A BarPopupButtonLinkArrowStyle indicating the arrow style.

ResetAllPropertiesOnSystemColorChange

Gets or sets whether to reset all properties when a system color change event occurs.

public bool ResetAllPropertiesOnSystemColorChange { get; set; }

Property Value

Boolean:

true if all properties should be reset; otherwise, false.

ToolBarAscentMargin

Gets or sets the ascent margin of a toolbar.

public int ToolBarAscentMargin { get; set; }

Property Value

Int32:

The ascent margin of a toolbar.

ToolBarExtentMargin

Gets or sets the extent margin of a toolbar.

public int ToolBarExtentMargin { get; set; }

Property Value

Int32:

The extent margin of a toolbar.

ToolBarSeparatorExtent

Gets or sets the extent of a toolbar separator.

public int ToolBarSeparatorExtent { get; set; }

Property Value

Int32:

The extent of a toolbar separator.

ToolBarSplitButtonPopupExtent

Gets the extent of the popup portion of a split button in a toolbar.

public int ToolBarSplitButtonPopupExtent { get; set; }

Property Value

Int32:

The extent of the popup portion of a split button in a toolbar.

Methods

Arranges a BarComboBoxLink's child control.

public abstract void ArrangeComboBoxChildControl(PaintEventArgs e, Rectangle bounds, BarComboBoxLink link)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to arrange.

link BarComboBoxLink

The BarComboBoxLink being arranged.

Arranges a BarTextBoxLink's child control.

public abstract void ArrangeTextBoxChildControl(PaintEventArgs e, Rectangle bounds, BarTextBoxLink link)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to arrange.

link BarTextBoxLink

The BarTextBoxLink being arranged.

Dispose(Boolean)

Disposes any resources used by the object.

protected override void Dispose(bool disposing)
Parameter Type Description
disposing Boolean

Whether the object is being disposed.

Draws a BarButtonLink.

public abstract void DrawButtonLink(PaintEventArgs e, Rectangle bounds, BarButtonLink link)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

link BarButtonLink

The BarButtonLink being painted.

Draws a BarComboBoxLink.

public abstract void DrawComboBoxLink(PaintEventArgs e, Rectangle bounds, BarComboBoxLink link)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

link BarComboBoxLink

The BarComboBoxLink being painted.

Draws a BarComboBoxLink item.

public virtual void DrawComboBoxLinkItem(DrawItemEventArgs e, BarComboBoxLink link, object item)
Parameter Type Description
e DrawItemEventArgs

A DrawItemEventArgs that contains the event data.

link BarComboBoxLink

The BarComboBoxLink that owns the item.

item Object

The item to draw.

DrawCommandInCustomizeList(PaintEventArgs, Rectangle, BarManager, BarCommand, UIElementDrawState, Boolean)

Draws a BarCommand for a Customize list.

public abstract void DrawCommandInCustomizeList(PaintEventArgs e, Rectangle bounds, BarManager barManager, BarCommand command, UIElementDrawState drawState, bool useCommandName)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

barManager BarManager

The BarManager for which the command Customize list is created.

command BarCommand

The BarCommand being painted.

drawState UIElementDrawState

A UIElementDrawState specifying draw state.

useCommandName Boolean

Whether to draw the bar command using the command name instead of the command text.

Draws a BarCommandLink for a Customize list.

public abstract void DrawCommandLinkInCustomizeList(PaintEventArgs e, Rectangle bounds, BarManager barManager, BarCommandLink commandLink, UIElementDrawState drawState, bool showShortcut)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

barManager BarManager

The BarManager for which the command link Customize list is created.

commandLink BarCommandLink

The BarCommandLink being painted.

drawState UIElementDrawState

A UIElementDrawState specifying draw state.

showShortcut Boolean

true to render shortcut text for supported commands; otherwise false

Draws the selection border around the specified BarCommandLink if it is currently selected by a BarManager.

public virtual void DrawCommandLinkSelectionBorder(PaintEventArgs e, Rectangle bounds, BarCommandLink link)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

link BarCommandLink

The BarCommandLink being painted.

DrawDockableToolBarBackground(PaintEventArgs, Rectangle, DockableToolBar)

Draws the background of a dockable toolbar.

public abstract void DrawDockableToolBarBackground(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.

DrawDockableToolBarFloatingContainerBackground(PaintEventArgs, Rectangle, DockableToolBar)

Draws the background of a dockable toolbar floating container.

public abstract void DrawDockableToolBarFloatingContainerBackground(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.

DrawDockableToolBarFloatingTitleBar(PaintEventArgs, Rectangle, DockableToolBar)

Draws a floating dockable toolbar title bar.

public abstract 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 abstract 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.

Draws a dockable toolbar options button.

public abstract void DrawDockableToolBarOptionsButton(PaintEventArgs e, Rectangle bounds, DockableToolBar toolBar, BarPopupButtonLink link)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

toolBar DockableToolBar

The DockableToolBar containing the link being painted.

link BarPopupButtonLink

The BarPopupButtonLink being painted.

DrawDockAreaBackground(PaintEventArgs, Rectangle, BarDockArea)

Draws the background of a BarDockArea.

public abstract void DrawDockAreaBackground(PaintEventArgs e, Rectangle bounds, BarDockArea dockArea)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

dockArea BarDockArea

The BarDockArea being painted.

public abstract void DrawExpanderButtonLink(PaintEventArgs e, Rectangle bounds, BarExpanderButtonLink link)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

link BarExpanderButtonLink

The BarExpanderButtonLink being painted.

Draws a BarLabelLink.

public abstract void DrawLabelLink(PaintEventArgs e, Rectangle bounds, BarLabelLink link)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

link BarLabelLink

The BarLabelLink being painted.

DrawMenuBackground(PaintEventArgs, Rectangle, IBarControl)

Draws the background of a bar menu.

public abstract void DrawMenuBackground(PaintEventArgs e, Rectangle bounds, IBarControl menu)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

menu IBarControl

The IBarControl being painted.

DrawMenuBarMdiIcon(PaintEventArgs, Rectangle, BarManager)

Draws the current maximized MDI child form's MDI icon on the menubar.

public static void DrawMenuBarMdiIcon(PaintEventArgs e, Rectangle bounds, BarManager barManager)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

barManager BarManager

The BarManager whose MDI child form's icon is being painted.

DrawMenuGripper(PaintEventArgs, Rectangle, IUIElement)

Draws a menu gripper.

public abstract void DrawMenuGripper(PaintEventArgs e, Rectangle bounds, IUIElement gripper)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

gripper IUIElement

The IUIElement being painted.

DrawMenuOverflowButton(PaintEventArgs, Rectangle, IUIElement, Boolean)

Draws a menu overflow button.

public abstract void DrawMenuOverflowButton(PaintEventArgs e, Rectangle bounds, IUIElement button, bool hasDownArrow)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

button IUIElement

The IUIElement being painted.

hasDownArrow Boolean

Whether the button has a down arrow; otherwise, an up arrow.

DrawMenuSeparator(PaintEventArgs, Rectangle, Orientation)

Draws a menu separator.

public abstract void DrawMenuSeparator(PaintEventArgs e, Rectangle bounds, Orientation orientation)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

orientation Orientation

The Orientation of the separator.

public abstract void DrawPopupButtonLink(PaintEventArgs e, Rectangle bounds, BarPopupButtonLink link)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

link BarPopupButtonLink

The BarPopupButtonLink being painted.

public abstract void DrawSplitButtonLink(PaintEventArgs e, Rectangle bounds, BarSplitButtonLink link)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

link BarSplitButtonLink

The BarSplitButtonLink being painted.

Draws a system button link.

public abstract void DrawSystemButtonLink(PaintEventArgs e, Rectangle bounds, BarButtonLink link)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

link BarButtonLink

The BarButtonLink being painted.

Draws a system popup button link.

public abstract void DrawSystemPopupButtonLink(PaintEventArgs e, Rectangle bounds, BarPopupButtonLink link)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

link BarPopupButtonLink

The BarPopupButtonLink being painted.

Draws a BarTextBoxLink.

public abstract void DrawTextBoxLink(PaintEventArgs e, Rectangle bounds, BarTextBoxLink link)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

link BarTextBoxLink

The BarTextBoxLink being painted.

DrawToolBarBackground(PaintEventArgs, Rectangle, ToolBar)

Draws the background of a toolbar.

public abstract void DrawToolBarBackground(PaintEventArgs e, Rectangle bounds, ToolBar toolBar)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

toolBar ToolBar

The ToolBar being painted.

DrawToolBarSeparator(PaintEventArgs, Rectangle, Orientation)

Draws a toolbar separator.

public abstract void DrawToolBarSeparator(PaintEventArgs e, Rectangle bounds, Orientation orientation)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

orientation Orientation

The Orientation of the separator.

Equals(Object)

Determines whether the specified Object is equal to the current Object.

public override bool Equals(object obj)
Parameter Type Description
obj Object

The Object to compare to the current Object.

Returns

Boolean:

true if the specified Object is equal to the current Object; otherwise, false.

GetHashCode()

Returns a hash code for this object.

public override int GetHashCode()

Returns

Int32:

An integer value that specifies a hash value for this object.

Measures the specified BarCommandLink.

public abstract Size MeasureCommandLink(Graphics g, BarCommandLink link)
Parameter Type Description
g Graphics

The Graphics object used to measure.

link BarCommandLink

The BarCommandLink that is being measured.

Returns

Size:

The Size of the command link.

MeasureDockableToolBarFloatingTitleBarHeight(Graphics, DockableToolBar)

Measures the floating title bar height of the specified DockableToolBar.

public abstract int MeasureDockableToolBarFloatingTitleBarHeight(Graphics g, DockableToolBar toolBar)
Parameter Type Description
g Graphics

The Graphics object used to measure.

toolBar DockableToolBar

The DockableToolBar whose floating title bar is being measured.

Returns

Int32:

The height of the title bar.

OnPropertyChanged(EventArgs)

Raises the PropertyChanged event.

protected virtual void OnPropertyChanged(EventArgs e)
Parameter Type Description
e EventArgs

An EventArgs that contains the event data.

ResetAll(Boolean)

Resets all property values to their defaults.

protected virtual void ResetAll(bool force)
Parameter Type Description
force Boolean

Whether to force resetting.

ResetDockableToolBarDockedPadding()

Resets the DockableToolBarDockedPadding property to its default value.

public virtual void ResetDockableToolBarDockedPadding()

ResetDockableToolBarFloatingBorderWidth()

Resets the DockableToolBarFloatingBorderWidth property to its default value.

public virtual void ResetDockableToolBarFloatingBorderWidth()

ResetDockableToolBarFloatingPadding()

Resets the DockableToolBarFloatingPadding property to its default value.

public virtual void ResetDockableToolBarFloatingPadding()

ResetDockableToolBarFloatingTitleBarPadding()

Resets the DockableToolBarFloatingTitleBarPadding property to its default value.

public virtual void ResetDockableToolBarFloatingTitleBarPadding()

ResetDockableToolBarGripperExtent()

Resets the DockableToolBarGripperExtent property to its default value.

public virtual void ResetDockableToolBarGripperExtent()

ResetDockableToolBarOptionsButtonExtent()

Resets the DockableToolBarOptionsButtonExtent property to its default value.

public virtual void ResetDockableToolBarOptionsButtonExtent()

ResetMenuBarPadding()

Resets the MenuBarPadding property to its default value.

public virtual void ResetMenuBarPadding()

ResetMenuDefaultColumnWidth()

Resets the MenuDefaultColumnWidth property to its default value.

public virtual void ResetMenuDefaultColumnWidth()

ResetMenuGripperHeight()

Resets the MenuGripperHeight property to its default value.

public virtual void ResetMenuGripperHeight()

ResetMenuOverflowButtonHeight()

Resets the MenuOverflowButtonHeight property to its default value.

public virtual void ResetMenuOverflowButtonHeight()

ResetMenuSeparatorHeight()

Resets the MenuSeparatorHeight property to its default value.

public virtual void ResetMenuSeparatorHeight()

ResetMenuSplitButtonPopupExtent()

Resets the MenuSplitButtonPopupExtent property to its default value.

public virtual void ResetMenuSplitButtonPopupExtent()

ResetMenuTextMarginHorizontal()

Resets the MenuTextMarginHorizontal property to its default value.

public virtual void ResetMenuTextMarginHorizontal()

ResetMenuTextMarginVertical()

Resets the MenuTextMarginVertical property to its default value.

public virtual void ResetMenuTextMarginVertical()

ResetPopupButtonLinkArrowStyle()

Resets the PopupButtonLinkArrowStyle property to its default value.

public virtual void ResetPopupButtonLinkArrowStyle()

ResetResetAllPropertiesOnSystemColorChange()

Resets the ResetAllPropertiesOnSystemColorChange property to its default value.

public virtual void ResetResetAllPropertiesOnSystemColorChange()

ResetToolBarAscentMargin()

Resets the ToolBarAscentMargin property to its default value.

public virtual void ResetToolBarAscentMargin()

ResetToolBarExtentMargin()

Resets the ToolBarExtentMargin property to its default value.

public virtual void ResetToolBarExtentMargin()

ResetToolBarSeparatorExtent()

Resets the ToolBarSeparatorExtent property to its default value.

public virtual void ResetToolBarSeparatorExtent()

ResetToolBarSplitButtonPopupExtent()

Resets the ToolBarSplitButtonPopupExtent property to its default value.

public virtual void ResetToolBarSplitButtonPopupExtent()

Returns whether the specified BarCommandLink should display a drop-down arrow.

protected bool ShouldDisplayDropDownArrow(BarCommandLink link)
Parameter Type Description
link BarCommandLink

The BarCommandLink to examine.

Returns

Boolean:

true if the specified BarCommandLink should display a drop-down arrow; otherwise, false.

ShouldSerializeDockableToolBarDockedPadding()

Indicates whether the DockableToolBarDockedPadding property should be persisted.

public virtual bool ShouldSerializeDockableToolBarDockedPadding()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeDockableToolBarFloatingBorderWidth()

Indicates whether the DockableToolBarFloatingBorderWidth property should be persisted.

public virtual bool ShouldSerializeDockableToolBarFloatingBorderWidth()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeDockableToolBarFloatingPadding()

Indicates whether the DockableToolBarFloatingPadding property should be persisted.

public virtual bool ShouldSerializeDockableToolBarFloatingPadding()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeDockableToolBarFloatingTitleBarPadding()

Indicates whether the DockableToolBarFloatingTitleBarPadding property should be persisted.

public virtual bool ShouldSerializeDockableToolBarFloatingTitleBarPadding()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeDockableToolBarGripperExtent()

Indicates whether the DockableToolBarGripperExtent property should be persisted.

public virtual bool ShouldSerializeDockableToolBarGripperExtent()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeDockableToolBarOptionsButtonExtent()

Indicates whether the DockableToolBarOptionsButtonExtent property should be persisted.

public virtual bool ShouldSerializeDockableToolBarOptionsButtonExtent()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeMenuBarPadding()

Indicates whether the MenuBarPadding property should be persisted.

public virtual bool ShouldSerializeMenuBarPadding()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeMenuDefaultColumnWidth()

Indicates whether the MenuDefaultColumnWidth property should be persisted.

public virtual bool ShouldSerializeMenuDefaultColumnWidth()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeMenuGripperHeight()

Indicates whether the MenuGripperHeight property should be persisted.

public virtual bool ShouldSerializeMenuGripperHeight()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeMenuOverflowButtonHeight()

Indicates whether the MenuOverflowButtonHeight property should be persisted.

public virtual bool ShouldSerializeMenuOverflowButtonHeight()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeMenuSeparatorHeight()

Indicates whether the MenuSeparatorHeight property should be persisted.

public virtual bool ShouldSerializeMenuSeparatorHeight()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeMenuSplitButtonPopupExtent()

Indicates whether the MenuSplitButtonPopupExtent property should be persisted.

public virtual bool ShouldSerializeMenuSplitButtonPopupExtent()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeMenuTextMarginHorizontal()

Indicates whether the MenuTextMarginHorizontal property should be persisted.

public virtual bool ShouldSerializeMenuTextMarginHorizontal()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeMenuTextMarginVertical()

Indicates whether the MenuTextMarginVertical property should be persisted.

public virtual bool ShouldSerializeMenuTextMarginVertical()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializePopupButtonLinkArrowStyle()

Indicates whether the PopupButtonLinkArrowStyle property should be persisted.

public virtual bool ShouldSerializePopupButtonLinkArrowStyle()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeResetAllPropertiesOnSystemColorChange()

Indicates whether the ResetAllPropertiesOnSystemColorChange property should be persisted.

public virtual bool ShouldSerializeResetAllPropertiesOnSystemColorChange()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeToolBarAscentMargin()

Indicates whether the ToolBarAscentMargin property should be persisted.

public virtual bool ShouldSerializeToolBarAscentMargin()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeToolBarExtentMargin()

Indicates whether the ToolBarExtentMargin property should be persisted.

public virtual bool ShouldSerializeToolBarExtentMargin()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeToolBarSeparatorExtent()

Indicates whether the ToolBarSeparatorExtent property should be persisted.

public virtual bool ShouldSerializeToolBarSeparatorExtent()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

ShouldSerializeToolBarSplitButtonPopupExtent()

Indicates whether the ToolBarSplitButtonPopupExtent property should be persisted.

public virtual bool ShouldSerializeToolBarSplitButtonPopupExtent()

Returns

Boolean:

true if the property value has changed from its default; otherwise, false.

Events

PropertyChanged

Occurs after a property is changed.

public event EventHandler PropertyChanged

Event Type

EventHandler

Inherited Members