Class
AppointmentPrintElement

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
public class AppointmentPrintElement : RadPrintElement

Inheritance: objectRadPrintElementAppointmentPrintElement

Inherited Members RadPrintElement.Paint(Graphics, Rectangle)RadPrintElement.Paint(Graphics, RectangleF)RadPrintElement.PaintElement(Graphics, Rectangle)RadPrintElement.PaintElement(Graphics, RectangleF)RadPrintElement.PaintImage(Graphics, Rectangle)RadPrintElement.PaintImage(Graphics, RectangleF)RadPrintElement.PaintBorder(Graphics, Rectangle)RadPrintElement.PaintBorder(Graphics, RectangleF)RadPrintElement.GetVerticalAlignment(ContentAlignment)RadPrintElement.GetHorizontalAlignment(ContentAlignment)RadPrintElement.GetTransformedBounds(RectangleF)RadPrintElement.TextPaddingRadPrintElement.DrawTextRadPrintElement.AngleTransformRadPrintElement.ScaleTransformRadPrintElement.DrawFillRadPrintElement.DrawBorderRadPrintElement.RightToLeftRadPrintElement.ForeColorRadPrintElement.BackColorRadPrintElement.BorderColorRadPrintElement.TextAlignmentRadPrintElement.FontRadPrintElement.StringTrimmingRadPrintElement.StringFormatFlagsRadPrintElement.ImageRadPrintElement.ImageLayoutRadPrintElement.ImageAlignmentRadPrintElement.PolygonRadPrintElement.EnableHtmlTextRendering

Constructors

AppointmentPrintElement()

Declaration

cs-api-definition
public AppointmentPrintElement()

AppointmentPrintElement(IEvent, ISchedulerData)

Declaration

cs-api-definition
public AppointmentPrintElement(IEvent appointment, ISchedulerData data)

Parameters

appointment

IEvent

data

ISchedulerData

Properties

Appointment

Gets or sets the appointment which this element represents.

Declaration

cs-api-definition
public IEvent Appointment { get; set; }

Property Value

IEvent

End

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

Declaration

cs-api-definition
public DateTime End { get; }

Property Value

DateTime

ShowHours

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.

Declaration

cs-api-definition
public bool ShowHours { get; set; }

Property Value

bool

Start

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

Declaration

cs-api-definition
public DateTime Start { get; }

Property Value

DateTime

StatusAreaWidth

Gets or sets the width of the status idicator.

Declaration

cs-api-definition
public int StatusAreaWidth { get; set; }

Property Value

int

Text

Gets or sets the text to be drawn.

Declaration

cs-api-definition
public override string Text { get; set; }

Property Value

string

Overrides RadPrintElement.Text

TimeFormat

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

Declaration

cs-api-definition
public string TimeFormat { get; set; }

Property Value

string

Methods

PaintFill(Graphics, Rectangle)

Declaration

cs-api-definition
protected override void PaintFill(Graphics g, Rectangle rect)

Parameters

g

Graphics

rect

Rectangle

Overrides RadPrintElement.PaintFill(Graphics, Rectangle)

PaintFill(Graphics, RectangleF)

Declaration

cs-api-definition
protected override void PaintFill(Graphics g, RectangleF rect)

Parameters

g

Graphics

rect

RectangleF

Overrides RadPrintElement.PaintFill(Graphics, RectangleF)

PaintText(Graphics, Rectangle)

Declaration

cs-api-definition
protected override void PaintText(Graphics g, Rectangle rect)

Parameters

g

Graphics

rect

Rectangle

Overrides RadPrintElement.PaintText(Graphics, Rectangle)

PaintText(Graphics, RectangleF)

Declaration

cs-api-definition
protected override void PaintText(Graphics g, RectangleF rect)

Parameters

g

Graphics

rect

RectangleF

Overrides RadPrintElement.PaintText(Graphics, RectangleF)