[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Member Tables
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Collapse]Scheduler
   [Expand]Product Information
    Getting Started
   [Expand]Scheduler Elements and Structure
   [Collapse]Data Binding
    [Expand]Data Sources
    [Collapse]Mappings
      Appointment Mappings
      Resource Mappings
      Dependency Mappings
      Label Mappings
      Status Mappings
      How to: Set Mappings
      Custom Fields
      Mapping Converters
     FetchAppointments Event - Handling Large Datasets
   [Expand]Appointments
   [Expand]Views
   [Expand]Import and Export
    Printing
   [Expand]Reports
   [Expand]Time Zones
   [Expand]Design-Time Features
   [Expand]End-User Capabilities
   [Expand]Services
   [Expand]Member Tables
   [Expand]Visual Elements
   [Expand]Examples
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Status Mappings

The table below lists Mappings for Statuses.

Name

Type

Required?

Description

StatusMappingInfo.Id

Object (any type)

Yes

The unique Status ID. Specifies the UserInterfaceObject.Id property value.

StatusMappingInfo.Brush

See description

No

A brush or color that specifies the Status appearance. Specifies the AppointmentStatus.Brush property value. The SchedulerDataStorage.Statuses.BrushSaving property value should correspond to the Brush field's value type.

  • BrushSaving equals Auto: A data field mapped to the StatusMappingInfo.Brush property can store values of any supported type. A correct value type is determined automatically.
  • BrushSaving equals Brush: A data field mapped to the StatusMappingInfo.Brush property must store Brush values (Brushes, HatchBrushes, LinearGradientBrushes, etc.).
  • BrushSaving equals ColorInstance: A data field mapped to the StatusMappingInfo.Brush property must store System.Drawing.Color type values.
  • BrushSaving equals ColorString: A data field mapped to the StatusMappingInfo.Brush property must store values that specify colors in the hexadecimal format (e.g., "0xFFFF0000" for red).
  • BrushSaving equals ArgbColor: A data field mapped to the StatusMappingInfo.Brush property must store 32-bit ARGB values (integer values in the "AARRGGBB" format, e.g. "-65536" for red). You can retrieve integer ARGB values using the Color.ToArgb method.
  • BrushSaving equals Image: A data field mapped to the StatusMappingInfo.Brush property must store Image objects.
  • BrushSaving equals ImageBytes: A data field mapped to the StatusMappingInfo.Brush property must store byte arrays with images.
  • BrushSaving equals OleColor: A data field mapped to the StatusMappingInfo.Brush property must store OLE_Color values.

StatusMappingInfo.DisplayName

String

No

The primary Status name. Specifies the UserInterfaceObject.DisplayName property value. Displayed in the Edit Appointment dialog.

StatusMappingInfo.MenuCaption

String

No

The secondary Status name. Specifies the UserInterfaceObject.MenuCaption property value. Displayed in the "Show Time As" appointment context menu item.

You can map this and the DisplayName properties to the same data source field.

Is this topic helpful?​​​​​​​