In This Article

MetroLightNavigationBarRenderer Class

Provides a renderer for the NavigationBar control that has a Metro Light color scheme.

public class MetroLightNavigationBarRenderer : Office2003NavigationBarRenderer, IDisposable, INavigationBarRenderer, IUIRenderer
Inheritance:
Object MarshalByRefObject DisposableObject NavigationBarRenderer Office2003NavigationBarRenderer Object
Implements:
IDisposable INavigationBarRenderer IUIRenderer

Constructors

MetroLightNavigationBarRenderer()

Initializes a new instance of the MetroLightNavigationBarRenderer class.

public MetroLightNavigationBarRenderer()

Remarks

The default constructor initializes all fields to their default values.

Methods

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.

ResetNavigationBarHeaderFont()

Resets the NavigationBarHeaderFont property to its default value.

public override void ResetNavigationBarHeaderFont()

ResetNavigationBarSplitterHeight()

Resets the NavigationBarSplitterHeight property to its default value.

public override void ResetNavigationBarSplitterHeight()

ShouldSerializeNavigationBarHeaderFont()

Indicates whether the NavigationBarHeaderFont property should be persisted.

public override bool ShouldSerializeNavigationBarHeaderFont()

Returns

Boolean:

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

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.

Inherited Members