英語で読む

次の方法で共有


ContentAlignment 列挙型

定義

ウィンドウ キャプションにテキストをどのように配置するかを指定します。

C#
public enum ContentAlignment
継承
ContentAlignment

フィールド

名前 説明
Center 1

テキストが中央揃えで配置されます。

Left 0

テキストが左揃えで配置されます。

Right 2

テキストが右揃えで配置されます。

注釈

値は ContentAlignment 、引数値 が のメソッドが VisualStyleRenderer.GetEnumValue 呼び出されたときのメソッドの EnumProperty.ContentAlignment戻り値を表します。

適用対象

製品 バージョン
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9