# Common Visual Properties

Some properties can modify the appearance of the appointments in **RadScheduler** and are common for all views.

## Exact Time Rendering

Exact Time Rendering increases readability of the appointments by rendering them at its exact Start and End time corresponding  with the time slots around. When **ExactTimeRendering** is enabled, appointments will not snap to the nearest cell border but will render exactly on the location where their Start and End dates are expected to be. To enable this functionality, use the **ExactTimeRendering**  property:

```C#
this.radScheduler1.EnableExactTimeRendering = true;
```

```VB.NET
Me.RadScheduler1.EnableExactTimeRendering = True
```

> caption Figure 1: Exact Time Rendering

![WinForms RadScheduler Exact Time Rendering](https://www.telerik.com/products/winforms/documentation/assets/82b3c04b5e3719f5d7f6eaa168ce5574/scheduler-views-common-visual-properties001.png)

## AutoSize Appointments

When **AutoSizeAppointments** is enabled, appointment elements will automatically adjust their height so that they can fully display their summary. This property will not have any effect in DayView and WeekView because the height in these views is determined by the appointment’s dates.

```C#
this.radScheduler1.AutoSizeAppointments = true;
```

```VB.NET
Me.RadScheduler1.AutoSizeAppointments = True
```

> caption Figure 2: AutoSize Appointments

![WinForms RadScheduler AutoSize Appointments](https://www.telerik.com/products/winforms/documentation/assets/93f3bb78ee37eab3a0e28c8919bf4a79/scheduler-views-common-visual-properties002.png)

## Appointments’ Height

When **AutoSizeAppointments** is disabled, the appointments in Month and Timeline views have a fixed height which can be modified by using the **AppointmentsHeight** property.

```C#
((SchedulerMonthViewElement)this.radScheduler1.ViewElement).AppointmentHeight = 50;
((SchedulerTimelineViewElement)this.radScheduler1.ViewElement).AppointmentHeight = 50;
```

```VB.NET
DirectCast(Me.RadScheduler1.ViewElement, SchedulerMonthViewElement).AppointmentHeight = 50
DirectCast(Me.RadScheduler1.ViewElement, SchedulerTimelineViewElement).AppointmentHeight = 50
```

## Spacing Between Appointments

Using the **AppointmentsMargin** property, you can specify the spacing between the appointment elements:

```C#
this.radScheduler1.ViewElement.AppointmentMargin = new Padding(5, 0, 10, 0);
```

```VB.NET
Me.RadScheduler1.ViewElement.AppointmentMargin = New Padding(5, 0, 10, 0)
```

> caption Figure 3: Appointments Spacing

![WinForms RadScheduler Appointments Spacing](https://www.telerik.com/products/winforms/documentation/assets/e4582bc25087b8c3bba8b87d91bd664f/scheduler-views-common-visual-properties003.png)

## See Also

* [Common Visual Properties](https://www.telerik.com/products/winforms/documentation/controls/scheduler/views/common-visual-properties)
* [Working with Views](https://www.telerik.com/products/winforms/documentation/controls/scheduler/views/working-with-views)
* [Views Walkthrough](https://www.telerik.com/products/winforms/documentation/controls/scheduler/views/views-walkthrough)
* [Grouping by Resources](https://www.telerik.com/products/winforms/documentation/controls/scheduler/views/grouping-by-resources)
* [Exact Time Rendering](https://www.telerik.com/products/winforms/documentation/controls/scheduler/views/exact-time-rendering)
