In This Article

OfficeClassicNavigationBarRenderer Class

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

public class OfficeClassicNavigationBarRenderer : OfficeLunaNavigationBarRenderer, IDisposable, INavigationBarRenderer, IUIRenderer
Inheritance:
object MarshalByRefObject DisposableObject UIRenderer NavigationBarRenderer OfficeLunaNavigationBarRenderer object
Implements:
IDisposable INavigationBarRenderer IUIRenderer

Constructors

OfficeClassicNavigationBarRenderer()

Initializes a new instance of the class.

public OfficeClassicNavigationBarRenderer()

Remarks

The default constructor initializes all fields to their default values.

OfficeClassicNavigationBarRenderer(IWindowsColorScheme)

Initializes a new instance of the class.

public OfficeClassicNavigationBarRenderer(IWindowsColorScheme colorScheme)
Parameter Type Description
colorScheme IWindowsColorScheme

The IWindowsColorScheme to use as a base for the colors.

OfficeClassicNavigationBarRenderer(WindowsColorSchemeType)

Initializes a new instance of the class.

public OfficeClassicNavigationBarRenderer(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.

Inherited Members