Skip to main content

CustomDrawCommentIndicatorEventArgs.Size Property

Gets or sets the size of the default comment indicator in units of measurement that are currently in effect.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v24.1.dll

NuGet Package: DevExpress.Win.Spreadsheet

Declaration

public int Size { get; set; }

Property Value

Type Description
Int32

A comment indicator’s size.

Remarks

The code snippet below shows how to change the default comment indicator’s size and color.

Custom_Comment_Indicator

spreadsheetControl1.CustomDrawCommentIndicator += (s, e) => {
    e.Size = 10;
    e.ForeColor = Color.FromArgb(0x21, 0x73, 0x46);
};
See Also