In This Article

Office2007NavigationBarRenderer Class

Provides a renderer for the NavigationBar control that has an Office 2007 color scheme.

public class Office2007NavigationBarRenderer : Office2003NavigationBarRenderer, IDisposable, INavigationBarRenderer, IUIRenderer
Inheritance:
Object MarshalByRefObject DisposableObject UIRenderer NavigationBarRenderer Office2003NavigationBarRenderer Object
Implements:
System.IDisposable INavigationBarRenderer IUIRenderer

Constructors

Office2007NavigationBarRenderer()

Initializes a new instance of the Office2007NavigationBarRenderer class.

public Office2007NavigationBarRenderer()

Remarks

The default constructor initializes all fields to their default values.

Office2007NavigationBarRenderer(IWindowsColorScheme)

Initializes a new instance of the Office2007NavigationBarRenderer class.

public Office2007NavigationBarRenderer(IWindowsColorScheme colorScheme)
Parameter Type Description
colorScheme IWindowsColorScheme

The IWindowsColorScheme to use as a base for the colors.

Office2007NavigationBarRenderer(WindowsColorSchemeType)

Initializes a new instance of the Office2007NavigationBarRenderer class.

public Office2007NavigationBarRenderer(WindowsColorSchemeType colorSchemeType)
Parameter Type Description
colorSchemeType WindowsColorSchemeType

The WindowsColorSchemeType to use as a base for the colors.

Methods

DrawNavigationBarHeader(PaintEventArgs, Rectangle, NavigationBar)

Draws the header of a NavigationBar control.

public override void DrawNavigationBarHeader(PaintEventArgs e, Rectangle bounds, NavigationBar navigationBar)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

navigationBar NavigationBar

The NavigationBar being painted.

DrawNavigationBarHeader(PaintEventArgs, Rectangle, NavigationBarPanel)

Draws the header of a NavigationBarPanel control.

public override void DrawNavigationBarHeader(PaintEventArgs e, Rectangle bounds, NavigationBarPanel navigationBarPanel)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

navigationBarPanel NavigationBarPanel

The NavigationBarPanel being painted.

DrawNavigationBarSplitter(PaintEventArgs, Rectangle, NavigationBar)

Draws the splitter of a NavigationBar control.

public override void DrawNavigationBarSplitter(PaintEventArgs e, Rectangle bounds, NavigationBar navigationBar)
Parameter Type Description
e PaintEventArgs

A PaintEventArgs that contains the event data.

bounds Rectangle

The bounds in which to draw.

navigationBar NavigationBar

The NavigationBar being painted.

ResetNavigationBarSplitterHeight()

Resets the NavigationBarSplitterHeight property to its default value.

public override void ResetNavigationBarSplitterHeight()

ResetNavigationBarSubHeaderBackgroundFill()

Resets the NavigationBarSubHeaderBackgroundFill property to its default value.

public override void ResetNavigationBarSubHeaderBackgroundFill()

ResetNavigationPaneDefaultButtonBackgroundFill()

Resets the NavigationPaneDefaultButtonBackgroundFill property to its default value.

public override void ResetNavigationPaneDefaultButtonBackgroundFill()

ResetNavigationPaneDefaultButtonHotBackgroundFill()

Resets the NavigationPaneDefaultButtonHotBackgroundFill property to its default value.

public override void ResetNavigationPaneDefaultButtonHotBackgroundFill()

ResetNavigationPaneDefaultButtonHotPressedBackgroundFill()

Resets the NavigationPaneDefaultButtonHotPressedBackgroundFill property to its default value.

public override void ResetNavigationPaneDefaultButtonHotPressedBackgroundFill()

ResetNavigationPaneDefaultButtonPressedBackgroundFill()

Resets the NavigationPaneDefaultButtonPressedBackgroundFill property to its default value.

public override void ResetNavigationPaneDefaultButtonPressedBackgroundFill()

ShouldSerializeNavigationBarSplitterHeight()

Indicates whether the NavigationBarSplitterHeight property should be persisted.

public override bool ShouldSerializeNavigationBarSplitterHeight()

Returns

Boolean:

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

ShouldSerializeNavigationBarSubHeaderBackgroundFill()

Indicates whether the NavigationBarSubHeaderBackgroundFill property should be persisted.

public override bool ShouldSerializeNavigationBarSubHeaderBackgroundFill()

Returns

Boolean:

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

ShouldSerializeNavigationPaneDefaultButtonBackgroundFill()

Indicates whether the NavigationPaneDefaultButtonBackgroundFill property should be persisted.

public override bool ShouldSerializeNavigationPaneDefaultButtonBackgroundFill()

Returns

Boolean:

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

ShouldSerializeNavigationPaneDefaultButtonHotBackgroundFill()

Indicates whether the NavigationPaneDefaultButtonHotBackgroundFill property should be persisted.

public override bool ShouldSerializeNavigationPaneDefaultButtonHotBackgroundFill()

Returns

Boolean:

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

ShouldSerializeNavigationPaneDefaultButtonHotPressedBackgroundFill()

Indicates whether the NavigationPaneDefaultButtonHotPressedBackgroundFill property should be persisted.

public override bool ShouldSerializeNavigationPaneDefaultButtonHotPressedBackgroundFill()

Returns

Boolean:

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

ShouldSerializeNavigationPaneDefaultButtonPressedBackgroundFill()

Indicates whether the NavigationPaneDefaultButtonPressedBackgroundFill property should be persisted.

public override bool ShouldSerializeNavigationPaneDefaultButtonPressedBackgroundFill()

Returns

Boolean:

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

Inherited Members

Extension Methods