windowsforms-devexpress-dot-xtrascheduler-dot-schedulercontrol-77b1e3d8.md
Provides access to the settings that specify the Scheduler control’s look and feel.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
public virtual UserLookAndFeel LookAndFeel { get; }
Public Overridable ReadOnly Property LookAndFeel As UserLookAndFeel
| Type | Description |
|---|---|
| UserLookAndFeel |
A UserLookAndFeel object whose properties specify the Scheduler control’s look and feel.
|
The settings provided by the LookAndFeel property enable you to specify how the visual elements of a Scheduler control are painted. For more information on look and feel technology, see the Look And Feel and Skinning topic.
The following code snippets (auto-collected from DevExpress Examples) contain references to the LookAndFeel property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-scheduler-localizer-translate-ui/CS/SchedulerLocalizerExample/OutlookAppointmentForm.cs#L77
LookAndFeel.ParentLookAndFeel = control.LookAndFeel;
this.defaultBarAndDockingController.Controller.LookAndFeel.ParentLookAndFeel = LookAndFeel;
winforms-scheduler-customize-appointment-flyout/CS/CustomAppointmentFlyoutExample/Form1.cs#L90
using (Stream stream = AppAssembly.GetManifestResourceStream("CustomAppointmentFlyoutExample.warning.svg")) {
var paletteProvider = SvgPaletteHelper.GetSvgPalette(schedulerControl1.LookAndFeel, ObjectState.Selected);
return SvgBitmap.FromStream(stream).Render(size, paletteProvider);
this.Bounds = control.RectangleToScreen(inplaceEditorArgs.Bounds);
DevExpress.Skins.Skin currentSkin = DevExpress.Skins.SchedulerSkins.GetSkin(control.LookAndFeel);
DevExpress.Skins.SkinElement element = currentSkin[DevExpress.Skins.SchedulerSkins.SkinAllDayAreaSelected];
winforms-scheduler-print-appointments-using-reports/CS/PrintingViaReports/Form1.cs#L208
// Required for skin support.
myForm.LookAndFeel.ParentLookAndFeel = schedulerControl1.LookAndFeel;
Me.LookAndFeel.ParentLookAndFeel = control.LookAndFeel
Me.defaultBarAndDockingController.Controller.LookAndFeel.ParentLookAndFeel = LookAndFeel
winforms-scheduler-customize-appointment-flyout/VB/CustomAppointmentFlyoutExample/Form1.vb#L99
Using stream As Stream = AppAssembly.GetManifestResourceStream("CustomAppointmentFlyoutExample.warning.svg")
Dim paletteProvider = SvgPaletteHelper.GetSvgPalette(schedulerControl1.LookAndFeel, ObjectState.Selected)
Return SvgBitmap.FromStream(stream).Render(size, paletteProvider)
Me.Bounds = control.RectangleToScreen(inplaceEditorArgs.Bounds)
Dim currentSkin As DevExpress.Skins.Skin = DevExpress.Skins.SchedulerSkins.GetSkin(control.LookAndFeel)
Dim element As DevExpress.Skins.SkinElement = currentSkin(DevExpress.Skins.SchedulerSkins.SkinAllDayAreaSelected)
winforms-scheduler-print-appointments-using-reports/VB/PrintingViaReports/Form1.vb#L187
' Required for skin support.
myForm.LookAndFeel.ParentLookAndFeel = schedulerControl1.LookAndFeel
See Also