BaseDataGridViewCellGetTextLocation Method

This is used to get the text location based on the text size, cell style, and formatting flags in effect.

Definition

Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
protected static Point GetTextLocation(
	Rectangle cellBounds,
	Size sizeText,
	TextFormatFlags flags,
	DataGridViewCellStyle cellStyle
)

Parameters

cellBounds  Rectangle
The cell bounds
sizeText  Size
The text size
flags  TextFormatFlags
The text formatting flags
cellStyle  DataGridViewCellStyle
The cell style

Return Value

Point
The location at which to draw the text

See Also