Scheduler for WinForms | ComponentOne
In This Topic
    Formatting the Border Style of the C1Schedule Control
    In This Topic

    To format the border style of the control, set the BorderStyle property to Fixed3D, FixedSingle, or None. This property can be set either in the designer or in code.

    The following table describes each of the border styles:

    Border Description
    Fixed3D A three-dimensional border. This is the default setting.
    FixedSingle A single line border.
    None No border.

    In the Designer

    Locate the BorderStyle property in the Properties window and set it to Fixed3D, FixedSingle, or None.

    In this example, the BorderStyle property is set to FixedSingle:

    Fixed Single

    In Code

    Add code to the Form_Load event to set the BorderStyle property to Fixed3D, FixedSingle, or None. The following code sets the BorderStyle property to FixedSingle:

    To write code in Visual Basic

    Visual Basic
    Copy Code
    Me.C1Schedule1.BorderStyle = BorderStyle.FixedSingle
    

    To write code in C#

    C#
    Copy Code
    this.c1Schedule1.BorderStyle = BorderStyle.FixedSingle;
    

    Three-Dimensional Border

    If the BorderStyle property is set to Fixed3D, the border will be appear three-dimensional:

    BorderStyle property

    Single Line Border

    If the BorderStyle property is set to FixedSingle, the border will appear as a single line:

    FixedSingle Property

    No Border

    If the BorderStyle property is set to None, no border will be visible:

    BorderStyle Property