Class TItemOptionsEx

Unit

Declaration

type TItemOptionsEx = class(TComponent)

Description

class for new Items design properties (size, colors, position) used by TrHTMLListView

Hierarchy

  • TComponent
  • TItemOptionsEx

Overview

Properties

Published property CustomDraw: boolean read FCustomDraw write SetCustomDraw default true;
Published property FullItemWidth: integer read FFullItemWidth write SetFullItemWidth default 64;
Published property FullItemHeight: integer read FFullItemHeight write SetFullItemHeight default 64;
Published property FullIconItemVSpace: integer read FFullIconItemVSpace write SetFullIconItemVSpace default 0;
Published property FullItemMargin: integer read FFullItemMargin write SetFullItemMargin default 0;
Published property ItemFrameType: TFrameType read FItemFrameType write SetItemFrameType default ft3D;
Published property ItemFrameColor: TColor read FItemFrameColor write SetItemFrameColor default clWindowFrame;
Published property ItemFrameColorFocused: TColor read FItemFrameColorFocused write SetItemFrameColorFocused default clHotLight;
Published property ItemBkColor: TColor read FItemBkColor write SetItemBkColor default clNone;
Published property ItemBkColorSelected: TColor read FItemBkColorSelected write SetItemBkColorSelected default clNone;
Published property ItemBkColorHot: TColor read FItemBkColorHot write SetItemBkColorHot default clNone;
Published property Images: TCustomImageList read FImages write SetImages;
Published property ImageMargin: integer read FImageMargin write SetImageMargin default 4;
Published property ImageFrameType: TFrameType read FImageFrameType write SetImageFrameType default ftNone;
Published property ImageFrameColor: TColor read FImageFrameColor write SetImageFrameColor default clWindowFrame;
Published property ImageBkColor: TColor read FImageBkColor write SetImageBkColor default clNone;
Published property ImageStretch: boolean read FImageStretch write SetImageStretch default true;
Published property ImageTransparent: boolean read FImageTransparent write SetImageTransparent default true;
Published property StateImages: TCustomImageList read FStateImages write SetStateImages;
Published property StateNotLoadedIndex: integer read FStateNotLoadedIndex write FStateNotLoadedIndex default - 1;
Published property StateNotDefinedIndex: integer read FStateNotDefinedIndex write FStateNotDefinedIndex default - 1;
Published property StateErrorIndex: integer read FStateErrorIndex write FStateErrorIndex default - 1;
Published property TextWidth: integer read FTextWidth write SetTextWidth default 0;
Published property TextHeight: integer read FTextHeight write SetTextHeight default 0;
Published property TextLines: integer read FTextLines write SetTextLines default 0;
Published property TextWordWrap: boolean read FTextWordWrap write FTextWordWrap default true;
Published property TextAlignment: TAlignment read FTextAlignment write SetTextAlignment default taCenter;
Published property TextLayout: TTextLayout read FTextLayout write SetTextLayout default tlCenter;
Published property TextMargin: integer read FTextMargin write SetTextMargin default 4;
Published property TextFrameType: TFrameType read FTextFrameType write SetTextFrameType default ftNone;
Published property TextFrameColor: TColor read FTextFrameColor write SetTextFrameColor default clWindowFrame;
Published property TextBkColor: TColor read FTextBkColor write SetTextBkColor default clNone;
Published property TextTabGridWidth: byte read FTextTabGridWidth write SetTextTabGridWidth default 30;

Description

Properties

Published property CustomDraw: boolean read FCustomDraw write SetCustomDraw default true;

define whether new design is used

Published property FullItemWidth: integer read FFullItemWidth write SetFullItemWidth default 64;

define width of item

Published property FullItemHeight: integer read FFullItemHeight write SetFullItemHeight default 64;

define height of item

Published property FullIconItemVSpace: integer read FFullIconItemVSpace write SetFullIconItemVSpace default 0;

define additional vertical space for vsIcon style (negative number is possible)

Published property FullItemMargin: integer read FFullItemMargin write SetFullItemMargin default 0;

define margin between items

Published property ItemFrameType: TFrameType read FItemFrameType write SetItemFrameType default ft3D;

define frame type around item rect

Published property ItemFrameColor: TColor read FItemFrameColor write SetItemFrameColor default clWindowFrame;

define color of frame around item rect

Published property ItemFrameColorFocused: TColor read FItemFrameColorFocused write SetItemFrameColorFocused default clHotLight;

define color of frame around item rect for focused item

Published property ItemBkColor: TColor read FItemBkColor write SetItemBkColor default clNone;

define background color of item rect

Published property ItemBkColorSelected: TColor read FItemBkColorSelected write SetItemBkColorSelected default clNone;

define background color of item rect for all selected items

Published property ItemBkColorHot: TColor read FItemBkColorHot write SetItemBkColorHot default clNone;

define background color of item rect

Published property Images: TCustomImageList read FImages write SetImages;

define ImageList for items

Published property ImageMargin: integer read FImageMargin write SetImageMargin default 4;

define margin between image and item border

Published property ImageFrameType: TFrameType read FImageFrameType write SetImageFrameType default ftNone;

define frame type around image rect

Published property ImageFrameColor: TColor read FImageFrameColor write SetImageFrameColor default clWindowFrame;

define color of frame around image rect

Published property ImageBkColor: TColor read FImageBkColor write SetImageBkColor default clNone;

define background color of image rect

Published property ImageStretch: boolean read FImageStretch write SetImageStretch default true;

define whether image from ImageList is resized to image rect

Published property ImageTransparent: boolean read FImageTransparent write SetImageTransparent default true;

define whether image from ImageList is shown transparently

Published property StateImages: TCustomImageList read FStateImages write SetStateImages;

define ImageList for special state images

Published property StateNotLoadedIndex: integer read FStateNotLoadedIndex write FStateNotLoadedIndex default - 1;

define image index from StateImages in case that image is not loaded yet

Published property StateNotDefinedIndex: integer read FStateNotDefinedIndex write FStateNotDefinedIndex default - 1;

define image index from StateImages in case that image is not defined or empty

Published property StateErrorIndex: integer read FStateErrorIndex write FStateErrorIndex default - 1;

define image index from StateImages in case that image is corrupted

Published property TextWidth: integer read FTextWidth write SetTextWidth default 0;

define width of text rect, whole item width is used if TextWidth=0

Published property TextHeight: integer read FTextHeight write SetTextHeight default 0;

define height of text rect, whole item height is used if TextHeight=0

Published property TextLines: integer read FTextLines write SetTextLines default 0;

define height of text rect as needed space for defined text lines, whole item height is used if TextLines=0

Published property TextWordWrap: boolean read FTextWordWrap write FTextWordWrap default true;

define whether text is wrapped if needed

Published property TextAlignment: TAlignment read FTextAlignment write SetTextAlignment default taCenter;

define horizontal alignment in text rect

Published property TextLayout: TTextLayout read FTextLayout write SetTextLayout default tlCenter;

define vertical alignment in text rect

Published property TextMargin: integer read FTextMargin write SetTextMargin default 4;

define margin between text rect and item border

Published property TextFrameType: TFrameType read FTextFrameType write SetTextFrameType default ftNone;

define frame type around text rect

Published property TextFrameColor: TColor read FTextFrameColor write SetTextFrameColor default clWindowFrame;

define color of frame around text rect

Published property TextBkColor: TColor read FTextBkColor write SetTextBkColor default clNone;

define background color of text rect

Published property TextTabGridWidth: byte read FTextTabGridWidth write SetTextTabGridWidth default 30;

define width of Tabulator grid


Generated by PasDoc 0.15.0.