Skip to main content
A newer version of this page is available. .

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.v19.1.dll

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