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

Definition

Constructors

C#
public AppointmentPrintElement()
C#
public AppointmentPrintElement(IEvent appointment, ISchedulerData data)
Parameters:appointmentIEventdataISchedulerData

Properties

Gets or sets the appointment which this element represents.

C#
public IEvent Appointment { get; set; }

Gets the end date of the appointment according to the selected timezone.

C#
public DateTime End { get; }

Gets or sets whether appointment's start and end hours should be displayed. Should be set after the print element has been associated with an appointment.

C#
public bool ShowHours { get; set; }

Gets the start date of the appointment according to the selected timezone.

C#
public DateTime Start { get; }

Gets or sets the width of the status idicator.

C#
public int StatusAreaWidth { get; set; }

Gets or sets the text to be drawn.

C#
public override string Text { get; set; }

Overrides: RadPrintElement.Text

Gets or sets the format in which the times will be shown when ShowHours is true.

C#
public string TimeFormat { get; set; }

Methods

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

Overrides: RadPrintElement.PaintFill(Graphics, Rectangle)

C#
protected override void PaintFill(Graphics g, RectangleF rect)
Parameters:gGraphicsrectRectangleF

Overrides: RadPrintElement.PaintFill(Graphics, RectangleF)

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

Overrides: RadPrintElement.PaintText(Graphics, Rectangle)

C#
protected override void PaintText(Graphics g, RectangleF rect)
Parameters:gGraphicsrectRectangleF

Overrides: RadPrintElement.PaintText(Graphics, RectangleF)