Vcl.Themes.TCustomStyleServices.GetStyleFontColor
Delphi
function GetStyleFontColor(Font: TStyleFont): TColor;
C++
System::Uitypes::TColor __fastcall GetStyleFontColor(TStyleFont Font);
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| function | public | Vcl.Themes.pas Vcl.Themes.hpp |
Vcl.Themes | TCustomStyleServices |
説明
Font で指定される要素のフォント色を返します。
GetStyleFontColor を呼び出すと、コントロールの指定された部分および状態に対して、現在のスタイルで定義されているフォント色を取得することができます。たとえば、Font が sfEditBoxDisabled の場合、GetStyleFontColor は、編集ボックスが無効の際の、編集ボックス内のテキストの色を返します。