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

Contains properties used by RadScheduler for background/category representation.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class AppointmentBackgroundInfo : IAppointmentBackgroundInfo

Inheritance: objectAppointmentBackgroundInfo

Implements: IAppointmentBackgroundInfo

Constructors

Initializes a new instance of the AppointmentBackgroundInfo class.

C#
public AppointmentBackgroundInfo()

Initializes a new instance of the AppointmentBackgroundInfo class with a linear gradient.

C#
public AppointmentBackgroundInfo(int id, string displayName, Color color, Color color2, Color foreColor, Color borderColor)
Parameters:idint

The id.

displayNamestring

The display name.

colorColor

The first gradient color.

color2Color

The second gradient color.

foreColorColor

The fore color.

borderColorColor

The border color.

Initializes a new instance of the AppointmentBackgroundInfo class with a linear gradient.

C#
public AppointmentBackgroundInfo(int id, string displayName, Color color, Color color2)
Parameters:idint

The id.

displayNamestring

The display name.

colorColor

The first gradient color.

color2Color

The second gradient color.

Initializes a new instance of the AppointmentBackgroundInfo class with a solid gradient.

C#
public AppointmentBackgroundInfo(int id, string displayName, Color color)
Parameters:idint

The id.

displayNamestring

The display name.

colorColor

The color.

Properties

Gets or sets the background color.

C#
public Color BackColor { get; set; }
Property Value:

The background color.

Implements: IAppointmentBackgroundInfo.BackColor

Gets or sets the second background color.

C#
public Color BackColor2 { get; set; }
Property Value:

The second background color.

Implements: IAppointmentBackgroundInfo.BackColor2

Gets or sets the third background color.

C#
public Color BackColor3 { get; set; }
Property Value:

The third background color.

Implements: IAppointmentBackgroundInfo.BackColor3

Gets or sets the fourth background color.

C#
public Color BackColor4 { get; set; }
Property Value:

The fourth background color.

Implements: IAppointmentBackgroundInfo.BackColor4

Gets or sets the border box style.

C#
public BorderBoxStyle BorderBoxStyle { get; set; }
Property Value:

The border box style.

Implements: IAppointmentBackgroundInfo.BorderBoxStyle

Gets or sets the border color.

C#
public Color BorderColor { get; set; }
Property Value:

The border color.

Implements: IAppointmentBackgroundInfo.BorderColor

Gets or sets the border2 color.

C#
public Color BorderColor2 { get; set; }
Property Value:

The border2 color.

Implements: IAppointmentBackgroundInfo.BorderColor2

Gets or sets the border color3.

C#
public Color BorderColor3 { get; set; }
Property Value:

The border color3.

Implements: IAppointmentBackgroundInfo.BorderColor3

Gets or sets the border color4.

C#
public Color BorderColor4 { get; set; }
Property Value:

The border color4.

Implements: IAppointmentBackgroundInfo.BorderColor4

Gets or sets the border gradient style.

C#
public GradientStyles BorderGradientStyle { get; set; }
Property Value:

The border gradient style.

Implements: IAppointmentBackgroundInfo.BorderGradientStyle

Gets or sets the date time color.

C#
public Color DateTimeColor { get; set; }
Property Value:

The date time color.

Implements: IAppointmentBackgroundInfo.DateTimeColor

Gets or sets the date time font.

C#
public Font DateTimeFont { get; set; }
Property Value:

The date time font.

Implements: IAppointmentBackgroundInfo.DateTimeFont

Gets or sets the display name.

C#
public string DisplayName { get; set; }
Property Value:

The display name.

Implements: IAppointmentBackgroundInfo.DisplayName

Gets or sets the font.

C#
public Font Font { get; set; }
Property Value:

The font.

Implements: IAppointmentBackgroundInfo.Font

Gets or sets the fore color.

C#
public Color ForeColor { get; set; }
Property Value:

The fore color.

Implements: IAppointmentBackgroundInfo.ForeColor

Gets or sets the gradient angle.

C#
public float GradientAngle { get; set; }
Property Value:

The gradient angle.

Implements: IAppointmentBackgroundInfo.GradientAngle

Gets or sets the gradient percentage.

C#
public float GradientPercentage { get; set; }
Property Value:

The gradient percentage.

Implements: IAppointmentBackgroundInfo.GradientPercentage

Gets or sets the second gradient percentage.

C#
public float GradientPercentage2 { get; set; }
Property Value:

The second gradient percentage.

Implements: IAppointmentBackgroundInfo.GradientPercentage2

Gets or sets the gradient style.

C#
public GradientStyles GradientStyle { get; set; }
Property Value:

The gradient style.

Implements: IAppointmentBackgroundInfo.GradientStyle

Gets or sets the id.

C#
public int Id { get; set; }
Property Value:

The id.

Implements: IAppointmentBackgroundInfo.Id

Gets or sets the number of colors.

C#
public int NumberOfColors { get; set; }
Property Value:

The number of colors.

Implements: IAppointmentBackgroundInfo.NumberOfColors

Gets or sets the selected border color.

C#
public Color SelectedBorderColor { get; set; }
Property Value:

The selected border color.

Implements: IAppointmentBackgroundInfo.SelectedBorderColor

Gets or sets the shadow color.

C#
public Color ShadowColor { get; set; }
Property Value:

The shadow color.

Implements: IAppointmentBackgroundInfo.ShadowColor

Gets or sets the shadow style.

C#
public ShadowStyles ShadowStyle { get; set; }
Property Value:

The shadow style.

Implements: IAppointmentBackgroundInfo.ShadowStyle

Gets or sets the shadow width.

C#
public int ShadowWidth { get; set; }
Property Value:

The shadow width.

Implements: IAppointmentBackgroundInfo.ShadowWidth