Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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