System.Drawing.ContentAlignment Enumeration

Specifies alignment of content on the drawing surface.

Syntax

[System.ComponentModel.Editor("System.Drawing.Design.ContentAlignmentEditor, System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))]
public enum ContentAlignment

Remarks

Documentation for this section has not yet been entered.

Members

Member NameDescription
BottomCenter

Content is vertically aligned at the bottom, and horizontally aligned at the center.

BottomLeft

Content is vertically aligned at the bottom, and horizontally aligned on the left.

BottomRight

Content is vertically aligned at the bottom, and horizontally aligned on the right.

MiddleCenter

Content is vertically aligned in the middle, and horizontally aligned at the center.

MiddleLeft

Content is vertically aligned in the middle, and horizontally aligned on the left.

MiddleRight

Content is vertically aligned in the middle, and horizontally aligned on the right.

TopCenter

Content is vertically aligned at the top, and horizontally aligned at the center.

TopLeft

Content is vertically aligned at the top, and horizontally aligned on the left.

TopRight

Content is vertically aligned at the top, and horizontally aligned on the right.

Requirements

Namespace: System.Drawing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0