# Border Styles

Easily integrate completely customized Microsoft Office style scheduling functionality to build intuitive, polished-looking scheduling applications using Scheduler for WinForms.

## Content

## Formatting the Border Style of the Schedule Control

To format the border style of the control, set the [BorderStyle](/componentone/docs/win/online-schedule/) 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 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**:

```csharp
this.c1Schedule1.BorderStyle = BorderStyle.FixedSingle;
```

```csharp
this.c1Schedule1.BorderStyle = BorderStyle.FixedSingle;
```

## Formatting the Border Style of the Calendar Control

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**:

### 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**:

```csharp
this.c1Calendar1.BorderStyle = BorderStyle.FixedSingle;
```

```csharp
this.c1Calendar1.BorderStyle = BorderStyle.FixedSingle;
```