Calendar::NextPrevStyle Property
.NET Framework (current version)
Gets the style properties for the next and previous month navigation elements.
Assembly: System.Web (in System.Web.dll)
public: [PersistenceModeAttribute(PersistenceMode::InnerProperty)] property TableItemStyle^ NextPrevStyle { TableItemStyle^ get(); }
Property Value
Type: System.Web.UI.WebControls::TableItemStyle^The style properties for the next and previous month navigation elements. The default value is an empty TableItemStyle.
Use this property to specify the style for the next and previous month navigation elements. For more information on the different style properties that can be controlled, see TableItemStyle.
This property applies only if the ShowNextPrevMonth property is set to true.
The following code example demonstrates how to use the NextPrevStyle property to specify blue text for the next month and previous month navigation controls.
.NET Framework
Available since 1.1
Available since 1.1
Show: