BaseDataGridViewCellComputeTextFormatFlagsForCellStyleAlignment Method
This is used to compute the text formatting flags based on the cell style alignment settings
Namespace: EWSoftware.ListControls.DataGridViewControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
protected static TextFormatFlags ComputeTextFormatFlagsForCellStyleAlignment(
bool rightToLeft,
DataGridViewContentAlignment alignment,
DataGridViewTriState wrapMode
)
Protected Shared Function ComputeTextFormatFlagsForCellStyleAlignment (
rightToLeft As Boolean,
alignment As DataGridViewContentAlignment,
wrapMode As DataGridViewTriState
) As TextFormatFlags
protected:
static TextFormatFlags ComputeTextFormatFlagsForCellStyleAlignment(
bool rightToLeft,
DataGridViewContentAlignment alignment,
DataGridViewTriState wrapMode
)
static member ComputeTextFormatFlagsForCellStyleAlignment :
rightToLeft : bool *
alignment : DataGridViewContentAlignment *
wrapMode : DataGridViewTriState -> TextFormatFlags
- rightToLeft Boolean
- True if right to left formatting is in effect
- alignment DataGridViewContentAlignment
- The alignment
- wrapMode DataGridViewTriState
- The wrapping mode
TextFormatFlagsThe text formatting flags to use