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: 2024.12.18.0+3a863295c73252b22e8ab6862ed6bdc57bcbd0fc
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