New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Constructors

C#
public CalendarPrintElement(DateTime date)
Parameters:dateDateTime

Properties

Gets or sets a date that indicates which month should be displayed.

C#
public DateTime Date { get; set; }

Gets or sets a DateTimeFormatInfo instance which indicates the format of the calendar.

C#
public DateTimeFormatInfo DateTimeFormat { get; set; }

Methods

C#
protected override void PaintElement(Graphics g, Rectangle rect)
Parameters:gGraphicsrectRectangle

Overrides: RadPrintElement.PaintElement(Graphics, Rectangle)

Sets a date as special e.g. its number will be drawn bold.

C#
public void SetSpecialDate(DateTime date)
Parameters:dateDateTime

The date to set.

Sets a date as regular e.g. its number will be drawn regular.

C#
public void UnsetSpecialDate(DateTime date)
Parameters:dateDateTime

The date to unset.