ContentPosition

References
public enum ContentPosition
Enumerates the possible positions content can have within an IControl.

Enum values

NameValueDescription
Top0The top edge of the content is coincident with the top edge of the inner bounds.
Bottom1The bottom edge of the content is coincident with the bottom edge of the inner bounds.
Left2The left edge of the content is coincident with the left edge of the inner bounds.
Centre4The center of the content is coincident with the centre of the inner bounds.
Fit5The content is scaled to fit the inner bounds as best as possible, Though content is not enlarged beyond 100%.
HundredPercent6Maintain the current positioning, but adjust the zoom to 100%.
TopLeft7The top left corner of the content is coincident with the top left corner of the inner bounds.
TopRight8The top right corner of the content is coincident with the top right corner of the inner bounds.
BottomLeft9The bottom left corner of the content is coincident with the bottom left corner of the inner bounds.
BottomRight10The bottom right corner of the content is coincident with the bottom right corner of the inner bounds.