System.Drawing.ContentAlignment枚舉看起來是這樣的:解釋上的ContentAlignment枚舉值
namespace System.Drawing
{
// Summary:
// Specifies alignment of content on the drawing surface.
[Editor("System.Drawing.Design.ContentAlignmentEditor, System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(UITypeEditor))]
public enum ContentAlignment
{
TopLeft = 1,
TopCenter = 2,
TopRight = 4,
MiddleLeft = 16,
MiddleCenter = 32,
MiddleRight = 64,
BottomLeft = 256,
BottomCenter = 512,
BottomRight = 1024,
}
}
爲什麼值實物標誌式的定義?爲什麼8和128失蹤?
如果您的材料基於其他答案,評論或建議的編輯,請不要擔心。只要你聲明,並在你的回答中提供新的東西,你就非常歡迎爲新的答案作出貢獻。所有材料都是Creative Commons許可的,因此它屬於每個人。 – halfer