概要
特定のプロパティに対してスタイルを取得または設定するために使用される、Style
で使用するControlProperty
列挙を表します。
シグネチャ
1 |
|
名前空間
cAlgo.API
例
1 2 3 4 5 6 7 8 910111213141516171819202122232425262728 |
|
関連項目
- cAlgo.API.Style
フィールド
背景色
概要
背景色。このプロパティ値は、カラーバリューまたは文字列としてColor.Red、Color.FromName(“Red”)、Color.FromArgb(255, 0, 0)、Color.FromHex(“#ff0000”)、”Red”、”#ff0000″を使用して設定できます。
シグネチャ
1 |
|
戻り値
ControlProperty
前景色
概要
前景色。このプロパティ値は、カラーバリューまたは文字列としてColor.Red、Color.FromName(“Red”)、Color.FromArgb(255, 0, 0)、Color.FromHex(“#ff0000”)、”Red”、”#ff0000″を使用して設定できます。
シグネチャ
1 |
|
戻り値
ControlProperty
不透明度
概要
コントロールの不透明度。0(透明)から1(不透明)まで設定可能です。1を超える値は1に、0未満の値は0に設定されます。
シグネチャ
1 |
|
戻り値
ControlProperty
Padding
概要
コントロールのパディング。プロパティの値は、Thickness
、数値、または文字列で設定できます。例: new Thickness(5)
、new Thickness(1, 2, 3, 4)
、5
、"5"
、"1 2 3 4"
。
シグネチャ
1 |
|
戻り値
ControlProperty
BorderThickness
概要
コントロールの境界線の厚さ。プロパティの値は、Thickness
、数値、または文字列で設定できます。例: new Thickness(5)
、new Thickness(1, 2, 3, 4)
、5
、"5"
、"1 2 3 4"
。
シグネチャ
1 |
|
戻り値
ControlProperty
CornerRadius
概要
コントロールの角の半径。プロパティの値は、CornerRadius
、数値、または文字列で設定できます。例: new CornerRadius(5)
、new CornerRadius(1, 2, 3, 4)
。
シグネチャ
1 |
|
戻り値
ControlProperty
HorizontalContentAlignment
概要
コンテンツの水平方向の配置。
シグネチャ
1 |
|
戻り値
ControlProperty
VerticalContentAlignment
概要
コンテンツの垂直方向の配置。
シグネチャ
1 |
|
戻り値
ControlProperty
TextAlignment
概要
コンテンツの配置。
シグネチャ
1 |
|
戻り値
ControlProperty
Margin
概要
コンテンツの余白。プロパティの値は、Thickness
、数値、または文字列で設定できます。例: new Thickness(5)
、new Thickness(1, 2, 3, 4)
、5
、"5"
、"1 2 3 4"
。
シグネチャ
1 |
|
戻り値
ControlProperty
FontWeight
概要
コンテンツのフォントの太さ。プロパティの値は、FontWeight
列挙を使用して設定できます。例: FontWeight.Bold
、FontWeight.SemiBold
、FontWeight.Light
、FontWeight.Thin
など。
シグネチャ
1 |
|
戻り値
ControlProperty
FontStyle
概要
コンテンツのフォントスタイル。プロパティの値は、FontStyle
列挙を使用して設定できます。例: FontWeight.Italic
またはFontWeight.Oblique
。
シグネチャ
1 |
|
戻り値
ControlProperty
FontFamily
概要
フォントファミリー。
シグネチャ
1 |
|
戻り値
ControlProperty
FontSize
概要
フォントサイズ。
シグネチャ
1 |
|
戻り値
ControlProperty
BorderColor
概要
境界線の色。プロパティの値は、カラー値または文字列を使用して設定できます。例: Color.Red
、Color.FromName("Red")
、Color.FromArgb(255, 0, 0)
、Color.FromHex("#ff0000")
、"Red"
、"#ff0000"
。
シグネチャ
1 |
|
戻り値
ControlProperty
CaretColor
概要
カーソルの色。プロパティの値は、カラー値または文字列を使用して設定できます。例: Color.Red
、Color.FromName("Red")
、Color.FromArgb(255, 0, 0)
、Color.FromHex("#ff0000")
、"Red"
、"#ff0000"
。
シグネチャ
1 |
|
戻り値
ControlProperty
関連チュートリアル
- コントロール