Vcl.Outline.TCustomOutline.DrawCell
Delphi
procedure DrawCell(ACol, ARow: Longint; ARect: TRect; AState: TGridDrawState); override;
C++
virtual void __fastcall DrawCell(int ACol, int ARow, const System::Types::TRect &ARect, Vcl::Grids::TGridDrawState AState);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | Vcl.Outline.pas Vcl.Outline.hpp |
Vcl.Outline | TCustomOutline |
説明
アウトラインでノードを描画します。
DrawCell メソッドは,アウトラインがノードを描画する必要があるたびに自動的に呼び出されます。Style プロパティが otOwnerDraw で OnDrawItem イベントハンドラが指定されている場合,DrawCell は OnDrawItem イベントを生成します。それ以外の場合,DrawCell は OutlineStyle プロパティで示された方法でノードを描画します。