ScaleBasedRangeControlClientOptions.DataDisplayType Property

Specifies how appointments contained in a SchedulerControl should be indicated in a RangeControl - using thumbnails or numbers.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll

Declaration

[DefaultValue(RangeControlDataDisplayType.Auto)]
public RangeControlDataDisplayType DataDisplayType { get; set; }
<DefaultValue(RangeControlDataDisplayType.Auto)>
Public Property DataDisplayType As RangeControlDataDisplayType

Property Value

Type Default Description
RangeControlDataDisplayType

Auto

A RangeControlDataDisplayType enumeration member.

Property Paths

You can access this nested property as listed below:

Object Type Path to DataDisplayType
SchedulerControl
.OptionsRangeControl.DataDisplayType

Remarks

Wnen SchedulerControl and RangeControl are integrated, RangeControl displays information about appointments in a simplified manner. Each RangeControl's interval shows appointment thumbnails or the number of appointments for the corresponding interval. The information on appointments displayed in the RangeControl is changed on the fly when an end-user creates, edits or deletes appointments in the scheduler.

Use the DataDisplayType property to specify the appointment data display type.

  • DataDisplayType=Auto

    Appointments are displayed as thumbnails if they all can fit into the corresponding interval area of RangeControl, taking into account the RangeControl's current height. If there are more appointments than can be displayed within a particular interval of the RangeControl via thumbnails, this interval will contain a number of appointments.

    NOTE

    OptionsRangeControl_DataDisplayType_Auto

  • DataDisplayType=Thumbnail

    Appointment data is schematically displayed via appointment thumbnails. Each thumbnail color is specified by the label of the corresponding appointment. To specify the height of appointment thumbnails, use the ScaleBasedRangeControlClientOptions.ThumbnailHeight property.

    OptionsRangeControl_DataDisplayType_Thumbnail

  • DataDisplayType=Number

    Each RangeControl interval displays the number of appointments contained within the corresponding time interval in SchedulerControl. Note that zeros are not displayed.

    OptionsRangeControl_DataDisplayType_Number

NOTE

When scheduler data is grouped by either dates or resources, the RangeControl shows appointment thumbnails or a number of appointments for all available resources (not only for visible resources).

Implements

DevExpress.XtraScheduler.IScaleBasedRangeControlClientOptions.DataDisplayType
See Also