menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TranparentLabel - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TranparentLabel

    Creates a transparent label that is used to display the schedule appointments.

    Inheritance
    System.Object
    TranparentLabel
    Namespace: Syncfusion.Windows.Forms.Schedule
    Assembly: Syncfusion.Schedule.Windows.dll
    Syntax
    public class TranparentLabel : Panel

    Constructors

    TranparentLabel(ScheduleGrid, IRecurringScheduleAppointment)

    Initializes a new instance of the TranparentLabel class.

    Declaration
    public TranparentLabel(ScheduleGrid parent, IRecurringScheduleAppointment item)
    Parameters
    Type Name Description
    ScheduleGrid parent

    Schedule grid.

    IRecurringScheduleAppointment item

    Recurring appointment.

    Properties

    BoxColor

    Gets or sets the color used to draw the label background.

    Declaration
    public Color BoxColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    DrawRounded

    Gets a value indicating whether the label should have rounded corners.

    Declaration
    public bool DrawRounded { get; }
    Property Value
    Type
    System.Boolean

    Item

    Gets or sets the Recurring Appointment item.

    Declaration
    public IRecurringScheduleAppointment Item { get; set; }
    Property Value
    Type
    IRecurringScheduleAppointment

    LeftIText

    Gets or sets the text displayed on interior left-side of the label.

    Declaration
    public string LeftIText { get; set; }
    Property Value
    Type
    System.String

    LeftText

    Gets or sets the text displayed on open left-side of the label.

    Declaration
    public string LeftText { get; set; }
    Property Value
    Type
    System.String

    MarkerColor

    Gets or sets the color used to draw the label background.

    Declaration
    public Color MarkerColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    RightIText

    Gets or sets the text displayed on interior right-side of the label.

    Declaration
    public string RightIText { get; set; }
    Property Value
    Type
    System.String

    RightText

    Gets or sets the text displayed on open right-side of the label.

    Declaration
    public string RightText { get; set; }
    Property Value
    Type
    System.String

    Schedule

    Gets or sets the ScheduleControl.

    Declaration
    public ScheduleControl Schedule { get; set; }
    Property Value
    Type
    ScheduleControl

    ScheduleGrid

    Gets the Schedule Grid.

    Declaration
    public ScheduleGrid ScheduleGrid { get; }
    Property Value
    Type
    ScheduleGrid

    Methods

    OnMouseMove(MouseEventArgs)

    Overridden to show the advanced tooltip.

    Declaration
    protected override void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    The System.Windows.Forms.MouseEventArgs that contains the event data.

    OnPaint(PaintEventArgs)

    Overridden to draw the rectangles and customization.

    Declaration
    protected override void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    The System.Windows.Forms.PaintEventArgs that contains the event data.

    OnPaintBackground(PaintEventArgs)

    Overridden to draw the rectangle.

    Declaration
    protected override void OnPaintBackground(PaintEventArgs pevent)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs pevent

    The System.Windows.Forms.PaintEventArgs that contains the event data.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved