Skip to main content
All docs
V17.2

Lesson 3 - Provide Bar UI for a Scheduler

  • 2 minutes to read

This document explains how to provide end-users with the basic functionality for switching views, view navigation and layout, grouping scheduler data and creating, editing and deleting appointments via Bar UI. In this example, we will demonstrate the use of the Bar Manager component for adding command bars to the form with SchedulerControl.

This topic explains the following ways to create a scheduling application with command bars required to work with a SchedulerControl:

MS Visual Studio Designer

To provide a scheduler with Bar UI, follow the steps below.

  1. Drop the SchedulerControl and DateNavigator controls from the Toolbox onto a form.
  2. Drop the BarManager item onto the form from the DX.17.2: Navigation & Layout toolbox tab…

    CreateBars_DropBarManager

    … or click the SchedulerControl’s smart tag and select Create BarManager from the invoked menu (BarManager will be automatically located on the top of the form).

    CreateBars_AddBarManager_SmartTag

  3. Click the SchedulerControl’s smart tag to invoke the SchedulerControl Tasks menu. Select an item to create the command bars and click it - the corresponding bars will be added to the form.

    CreateBars_SmartTag

  4. Select other menu items to create all required bars. If you wish to add all available scheduler bars at once, click the Create All Bars item in the smart tag menu.
  5. Run the application and explore the created bars.

    Scheduler_Lesson2_Result

Important

Command buttons for disabled views are not shown in the UI.

See Also