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: 2023.4.9.0
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