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:
- Add Bars for SchedulerControl in MS Visual Studio Designer
- Use Project Wizard for WinForms to Create Scheduling Application with Bar UI
MS Visual Studio Designer
To provide a scheduler with Bar UI, follow the steps below.
- Drop the SchedulerControl and DateNavigator controls from the Toolbox onto a form.
Drop the BarManager item onto the form from the DX.17.2: Navigation & Layout toolbox tab…
… 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).
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.
- 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.
Run the application and explore the created bars.
Important
Command buttons for disabled views are not shown in the UI.