Vcl.Outline.TCustomOutline.OutlineStyle
Delphi
property OutlineStyle: TOutlineStyle read FOutlineStyle write SetOutlineStyle default osTreePictureText;
C++
__property TOutlineStyle OutlineStyle = {read=FOutlineStyle, write=SetOutlineStyle, default=5};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.Outline.pas Vcl.Outline.hpp |
Vcl.Outline | TCustomOutline |
Description
Specifies how the outline tree is displayed.
Set OutlineStyle to one of the following values:
Value | Meaning |
---|---|
osText |
Displays node text (specified in Text) only. |
osPlusMinusText |
Displays plus picture (specified in PicturePlus), minus picture (specified in PictureMinus), and node text (specified in Text). |
osPictureText |
Displays open picture (specified in PictureOpen), closed picture (specified in PictureClosed), leaf picture (specified in PictureLeaf) and node text (specified in Text). |
osPlusMinusPictureText |
Displays plus picture (specified in PicturePlus), minus picture (specified in PictureMinus), open picture (specified in PictureOpen), closed picture (specified in PictureClosed), leaf picture (specified in PictureLeaf), and node text (specified in Text). |
osTreeText |
Displays lines connecting outline nodes and node text (specified in Text). |
osTreePictureText |
Displays lines connecting outline nodes, open picture (specified in PictureOpen), closed picture (specified in PictureClosed), leaf picture (specified in PictureLeaf), and node text (specified in Text). |
Note: If the Style property is otOwnerDraw, the value of OutlineStyle is ignored. The connecting lines, node bitmaps, and node text must all be drawn in an OnDrawItem event handler.