Vcl.Themes.TCustomStyleServices.GetStyleFontColor

提供: RAD Studio API Documentation
移動先: 案内検索

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 を呼び出すと、コントロールの指定された部分および状態に対して、現在のスタイルで定義されているフォント色を取得することができます。たとえば、FontsfEditBoxDisabled の場合、GetStyleFontColor は、編集ボックスが無効の際の、編集ボックス内のテキストの色を返します。

関連項目