BaseDataGridViewCellComputeTextFormatFlagsForCellStyleAlignment Method

This is used to compute the text formatting flags based on the cell style alignment settings

Definition

Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.18.0+3a863295c73252b22e8ab6862ed6bdc57bcbd0fc
protected static TextFormatFlags ComputeTextFormatFlagsForCellStyleAlignment(
	bool rightToLeft,
	DataGridViewContentAlignment alignment,
	DataGridViewTriState wrapMode
)

Parameters

rightToLeft  Boolean
True if right to left formatting is in effect
alignment  DataGridViewContentAlignment
The alignment
wrapMode  DataGridViewTriState
The wrapping mode

Return Value

TextFormatFlags
The text formatting flags to use

See Also