/
ContentAlignment.cs
50 lines (48 loc) · 1.9 KB
/
ContentAlignment.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Drawing;
/// <summary>
/// Specifies alignment of content on the drawing surface.
/// </summary>
[System.ComponentModel.Editor($"System.Drawing.Design.ContentAlignmentEditor, {AssemblyRef.SystemDrawingDesign}",
$"System.Drawing.Design.UITypeEditor, {AssemblyRef.SystemDrawing}")]
[System.Runtime.CompilerServices.TypeForwardedFrom(AssemblyRef.SystemDrawing)]
public enum ContentAlignment
{
/// <summary>
/// Content is vertically aligned at the top, and horizontally aligned on the left.
/// </summary>
TopLeft = 0x001,
/// <summary>
/// Content is vertically aligned at the top, and horizontally aligned at the center.
/// </summary>
TopCenter = 0x002,
/// <summary>
/// Content is vertically aligned at the top, and horizontally aligned on the right.
/// </summary>
TopRight = 0x004,
/// <summary>
/// Content is vertically aligned in the middle, and horizontally aligned on the left.
/// </summary>
MiddleLeft = 0x010,
/// <summary>
/// Content is vertically aligned in the middle, and horizontally aligned at the center.
/// </summary>
MiddleCenter = 0x020,
/// <summary>
/// Content is vertically aligned in the middle, and horizontally aligned on the right.
/// </summary>
MiddleRight = 0x040,
/// <summary>
/// Content is vertically aligned at the bottom, and horizontally aligned on the left.
/// </summary>
BottomLeft = 0x100,
/// <summary>
/// Content is vertically aligned at the bottom, and horizontally aligned at the center.
/// </summary>
BottomCenter = 0x200,
/// <summary>
/// Content is vertically aligned at the bottom, and horizontally aligned on the right.
/// </summary>
BottomRight = 0x400,
}