Method CenterHorizontal
CenterHorizontal()
Center an item only in horizontal direction.
ISizerFlags CenterHorizontal()
Returns
- ISizerFlags
This ISizerFlags instance allowing chaining multiple methods calls.
Remarks
This is mostly useful for 2D sizers as for the 1D ones it is shorter to just use Center() as the alignment is only used in one direction with them anyhow. For 2D sizers, centering an item in one direction is quite different from centering it in both directions however.