CustomDrawDayNumberCellEventArgs.Style Property
Gets the painted date cell’s appearance settings.
Namespace: DevExpress.XtraEditors.Calendar
Assembly: DevExpress.XtraEditors.v26.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
| Type | Description |
|---|---|
| AppearanceObject | A AppearanceObject object that provides the painted cell’s appearance settings. |
Remarks
The Style property can be used in a number of ways:
- By reading the
Styleproperty’s attributes to custom paint a cell using the default settings. In this case, set theHandledproperty to true to prevent the default painting mechanism from painting over your paintings. - Change specific attributes of the
Styleproperty (except for the background color) and leave theHandledproperty set to false. This forces the date editor to paint the day cell using the default painting mechanism, but with the modified appearance settings. Note that it’s not possible to change a cell’s background color.
See Also