CustomDrawDayNumberCellEventArgs.Style Property
In This Article
Gets the painted date cell’s appearance settings.
Namespace: DevExpress.XtraEditors.Calendar
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public AppearanceObject Style { get; set; }
#Property Value
Type | Description |
---|---|
Appearance |
A Appearance |
#Remarks
The Style property can be used in a number of ways:
- By reading the
Style
property’s attributes to custom paint a cell using the default settings. In this case, set theHandled
property to true to prevent the default painting mechanism from painting over your paintings. - Change specific attributes of the
Style
property (except for the background color) and leave theHandled
property 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