$99 VS $1000+. UI Control for ASP.NET AJAX(contains chart and gridview).
Calendar Controls for WinForms UI Tutorial
Customize appearance styling in C# for Windows Forms template projects
Home > WinForms UI Controls > User Manual > Customize Appearance Styling in C#

Customize Appearance Styling - WinForms Calendar Controls

This Calendar Control for Windows Forms application contains rich styles for .NET WinForms developers to create slick user interfaces for the Calendar. It is possible to customize the style of the Calendar through the Visual Style Builder.

Styling Properties of Calendar Control for WinForms Applications

Each element that can be visual is inherited from the CalendarVisualElement. The following are some important properties for customizing the appearance:
  • BackColorA, the property used for setting the back color and will be used in the gradient fill.
  • BackColorB, the property used for configuring the second back color and will be used in the gradient fill.
  • BackColorC, the property used for setting the third back color and will be used in the gradient fill.
  • BackColorD, the property used for configuring the fourth back color and will be used in the gradient fill.
  • NumberOfColors, the property used for determining the number of back colors and will take effect in the gradient fill.
  • GradientStyles, the property used for customizing the gradient style and will be used in the gradient fill.
  • BorderBoxStyle, the property used for configuring the type of border for the visual element.
  • BorderColorA, the property used for setting the border color.
  • BorderColorB, the property used for changing the second border color.
  • BorderColorC, the property used for customizing the third border color.
  • BorderColorD, the property used for changing the fourth border color.
  • BorderWidth, the property used for customizing the width of the visual element's border
  • DrawFill, the property used for setting whether the gradient fill of the visual element should be drawn.
  • DrawBorder, the property used for setting whether the border of the visual element should be drawn.
  • BorderGradientStyle, the property used for customizing the border gradient style.
The CalendarTableElement corresponds to a single month view in Calendar. The CalendarTableElement is the container of Calendar cells that represent the days of the month.
An instance of CalendarCellElement is standing for each day. The logical states of the day are embodied in the CalendarCellElement. The properties are listed below.
  • OtherMonth, the property is used to show that the visual element is standing for a day from another month.
  • Selected, the property is used to show whether the current visual element is selected or not
  • Today, the property is used to show whether the visual element is standing for the current day or not.
  • Focused, the property is used to show whether the visual element is focused or not.
  • EnableZooming, the property is used to show whether the visual element is in zoom-mode or not.
  • EnableHeader, the property is used to show whether the visual element is standing for a header cell or not.
  • SpecialDay, the property is used to show whether the visual element is standing for a special day or not.
  • OutOfRange, the property is used to show whether the visual element is standing for a day which is out of the specified scope or not.
UI Controlsfor Windows Forms
.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls