CustomDrawCommentIndicatorEventArgs.ForeColor Property
Gets or sets the color of the default comment indicator.
Namespace: DevExpress.XtraSpreadsheet
Assembly: DevExpress.XtraSpreadsheet.v24.1.dll
NuGet Package: DevExpress.Win.Spreadsheet
Declaration
Property Value
Type | Description |
---|---|
Color | Specifies a comment indicator’s color. |
Remarks
The code snippet below shows how to change the default comment indicator’s size and color.
spreadsheetControl1.CustomDrawCommentIndicator += (s, e) => {
e.Size = 10;
e.ForeColor = Color.FromArgb(0x21, 0x73, 0x46);
};
See Also