Using the C1Calendar Control > C1Calendar Layout > C1Calendar Layout Properties |
Calendar for WPF includes several properties that allow you to customize the layout of the calendar control. You can change the width, height, alignment, and the amount of calendar months displayed of the control. The following properties let you customize the control’s layout:
Property |
Description |
Width |
Gets or sets the Width of the element. |
Height |
Gets or sets the Height of the element. |
HorizontalAlignment |
Gets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control. |
VerticalAlignment |
Gets or sets the vertical alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control. |
Gets or sets the outer margin on an element. |
|
Padding |
Gets or sets the padding inside a control. |
Gets or sets the minimum width constraint of the element. |
|
Gets or sets the minimum height constraint of the element. |
|
MaxWidth |
Gets or sets the maximum width constraint of the element. |
MaxHeight |
Gets or sets the maximum height constraint of the element. |
Gets or sets the horizontal alignment of the control’s content. This is a dependency property. |
|
Gets or sets the vertical alignment of the control’s content. This is a dependency property. |
|
C1Calendar.MonthCount |
Gets or sets a number of months currently represented by the calendar. The default value is 1. This is a dependency property. |
C1Calendar.MonthHeight |
Determines a height of each month slot of the calendar. |
C1Calendar.MonthWidth |
Determines a width of each month slot of the calendar. |