Base Data Grid View CellCompute Text Format Flags For Cell Style Alignment 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.31.0
The text formatting flags to use
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
protected static TextFormatFlags ComputeTextFormatFlagsForCellStyleAlignment(
bool rightToLeft,
DataGridViewContentAlignment alignment,
DataGridViewTriState wrapMode
)VB
Protected Shared Function ComputeTextFormatFlagsForCellStyleAlignment (
rightToLeft As Boolean,
alignment As DataGridViewContentAlignment,
wrapMode As DataGridViewTriState
) As TextFormatFlagsC++
protected:
static TextFormatFlags ComputeTextFormatFlagsForCellStyleAlignment(
bool rightToLeft,
DataGridViewContentAlignment alignment,
DataGridViewTriState wrapMode
)F#
static member ComputeTextFormatFlagsForCellStyleAlignment :
rightToLeft : bool *
alignment : DataGridViewContentAlignment *
wrapMode : DataGridViewTriState -> TextFormatFlags Parameters
- rightToLeft Boolean
- True if right to left formatting is in effect
- alignment DataGridViewContentAlignment
- The alignment
- wrapMode DataGridViewTriState
- The wrapping mode
Return Value
TextFormatFlagsThe text formatting flags to use