ComponentOne Calendar for ASP.NET: Calendar Appearance > Styles > Navigation Button Styles

Navigation Button Styles

You can apply unique styles for each navigation button. Additionally, you can apply styles to the different states of each navigation button. A normal state exists for each navigation button. The forecolor, back color, font style, alignment, and whether or not to wrap the text can be customized for the following navigation buttons:

      Previous Button

      Next Button

      Quick Previous Button

      Quick Next Button

      Previous Preview Button

      Next Preview Button

The following table lists the CSS selectors that apply to the C1Calendar’s navigation styles for each navigation button:

 

CSS Selectors

Description

.Next

Applies the compound style for the next navigation element. You can change the position, back color, border, font, and background image of the next navigation button.

.Previous

Gets or sets the compound style for the next navigation element when the mouse is over it.

.QuickNext

Gets or sets the compound style for the next quick-navigation element.

.QuickPrevious

Gets or sets the compound style for the previous quick-navigation element.

.NextPreviewButton

Gets or sets the compound style for the next preview navigation element.

.PrevPreviewButton

Gets or sets the compound style for the previous preview navigation element.

 

General appearance settings such as the back color, background image, border color, border style, border width, font, and forecolor properties can be applied to the above styles for the navigation elements. Additionally, more detailed appearance settings such as the position of the button, whether to wrap the cell content, and the border setting for each border side.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.