Class TFireGridViewOptions

Unit

Declaration

type TFireGridViewOptions = class(TPersistent)

Description

Hierarchy

Overview

Methods

Public constructor Create(View: TFireGridViewBase);
Public destructor Destroy; override;
Public function IsFieldChooserEnabled: Boolean;
Public procedure SetFieldChooserEnabled(Enabled: Boolean);
Public function GetGridLines: TFireGridLinesStyle;
Public procedure SetGridLines(Lines: TFireGridLinesStyle);
Public function GetGridLineColor: TAlphaColor;
Public procedure SetGridLineColor(const Color: TAlphaColor);
Public function GetGridLineWidth: Integer;
Public procedure SetGridLineWidth(Width: Integer);
Public function GetGridLineBrush: TBrush;
Public procedure SetGridLineBrush(const Brush: TBrush);
Public function GetGridLineStrokeDash: TStrokeDash;
Public procedure SetGridLineStrokeDash(const Dash: TStrokeDash);
Public function GetAlternatingRowColors: Boolean;
Public procedure SetAlternatingRowColors(alternating: Boolean);
Public function GetScrollBars: TFireGridScrollBarsMode;
Public procedure SetScrollBars(mode: TFireGridScrollBarsMode);
Public function GetGroupsHeader: Boolean;
Public procedure SetGroupsHeader(GroupsHeader: Boolean);
Public function GetScrollRowStyle: TFireGridScrollItemStyle;
Public procedure SetScrollRowStyle(Style: TFireGridScrollItemStyle);
Public function GetColumnsAutoScroll: Boolean;
Public procedure SetColumnsAutoScroll(AutoScroll: Boolean);
Public function GetColumnFont: TFont;
Public procedure SetColumnFont(const Font: TFont);
Public function GetColumnHeight: Integer;
Public procedure SetColumnHeight(Height: Integer);
Public function GetColumnTextColor: TAlphaColor;
Public procedure SetColumnTextColor(const Color: TAlphaColor);
Public function GetCellHeight: Integer;
Public procedure SetCellHeight(Height: Integer);
Public function GetCellPalette: PFirePalette;
Public procedure SetCellPalette(const Palette: TFirePalette);
Public function GetCellFont: TFont;
Public procedure SetCellFont(const Font: TFont);
Public function IsSortEnabled: Boolean;
Public procedure SetSortEnabled(Enabled: Boolean);
Public function IsGroupSortEnabled: Boolean;
Public procedure SetGroupSortEnabled(Enabled: Boolean);
Public function GetModelDecoration: Boolean;
Public procedure SetModelDecoration(Enabled: Boolean);
Public function GetRubberBandSelection: Boolean;
Public procedure SetRubberBandSelection(Enabled: Boolean);
Public function GetBorderWidth: Integer;
Public procedure SetBorderWidth(Width: Integer);
Public function GetBorderColor: TAlphaColor;
Public procedure SetBorderColor(const Color: TAlphaColor);
Public function GetBorderStyled: Boolean;
Public procedure SetBorderStyled(Styled: Boolean);
Public function GetGroupsHeaderBrush: TBrush;
Public procedure SetGroupsHeaderBrush(const Brush: TBrush);
Public function GetGroupsHeaderColor: TAlphaColor;
Public procedure SetGroupsHeaderColor(const Color: TAlphaColor);
Public function GetGroupsHeaderTextColor: TAlphaColor;
Public procedure SetGroupsHeaderTextColor(const Color: TAlphaColor);
Public function GetGroupsHeaderTextFont: TFont;
Public procedure SetGroupsHeaderTextFont(const Font: TFont);
Public function GetGroupsHeaderText: String;
Public procedure SetGroupsHeaderText(const Text: String);
Public function GetGroupsHeaderHeight: Integer;
Public procedure SetGroupsHeaderHeight(Height: Integer);
Public function GetBackgroundBrush: TBrush;
Public procedure SetBackgroundBrush(const Brush: TBrush);
Public function GetBackgroundColor: TAlphaColor;
Public procedure SetBackgroundColor(const Color: TAlphaColor);
Public function IsTransparentBackground: Boolean;
Public procedure SetTransparentBackground(Transparent: Boolean);
Public function IsFilterEnabled: Boolean;
Public procedure SetFilterEnabled(Enabled: Boolean);
Public procedure SetFilterPanelAutoHide(AutoHide: Boolean);
Public function GetFilterPanelHeight: Integer;
Public procedure SetFilterPanelHeight(Height: Integer);
Public function IsDragEnabled: Boolean;
Public procedure SetDragEnabled(Enabled: Boolean);
Public function IsDropEnabled: Boolean;
Public procedure SetDropEnabled(Enabled: Boolean);
Public function IsZoomEnabled: Boolean;
Public procedure SetZoomEnabled(Zoom: Boolean);
Public function GetZoomFactor: Single;
Public procedure SetZoomFactor(const Factor: Single);
Public function IsZoomIndicatorActive: Boolean;
Public procedure SetZoomIndicatorActive(Active: Boolean);
Public function GetCellButtonAutoRaise: Boolean;
Public procedure SetCellButtonAutoRaise(AutoRaise: Boolean);
Public function GetCellButtonWidth: Integer;
Public procedure SetCellButtonWidth(Width: Integer);
Public procedure SetAutoCreateColumns(AutoCreate: Boolean);
Public function IsMultiSelect: Boolean;
Public function GetSelectionPolicy: TFireGridSelectionPolicy;
Public procedure SetSelectionPolicy(Policy: TFireGridSelectionPolicy);
Public function GetNewRowHighlightEffect: TFireGridRowHighlightEffect;
Public procedure SetNewRowHighlightEffect(effect: TFireGridRowHighlightEffect);
Public function GetNewRowFlashInterval: Integer;
Public procedure SetNewRowFlashInterval(Interval: Integer);
Public function GetNewRowOpacity: Single;
Public procedure SetNewRowOpacity(Opcity: Single);
Public function GetNewRowText: String;
Public procedure SetNewRowText(const Text: String);
Public function AllowFilterEditor: Boolean;
Protected procedure DoChanged;
Protected function IsBackgroundBrushStored: Boolean;
Protected function IsGroupsHeaderBrushStored: Boolean;
Protected function IsGridLineBrushStored: Boolean;
Protected function IsZoomFactorStored: Boolean;
Protected function IsNewRowOpacityStored: Boolean;
Protected function IsGroupsHeaderTextStored: Boolean;
Protected function IsNewRowTextStored: Boolean;

Properties

Public property View: TFireGridViewBase read FView;
Published property FieldChooserEnabled: Boolean read IsFieldChooserEnabled write SetFieldChooserEnabled default True;
Published property AlternatingRowColors: Boolean read GetAlternatingRowColors write SetAlternatingRowColors default True;
Published property GridLines: TFireGridLinesStyle read GetGridLines write SetGridLines default TFireGridLinesStyle.LinesBoth2D;
Published property GridLineColor: TAlphaColor read GetGridLineColor write SetGridLineColor default TAlphaColorRec.Lightgray;
Published property GridLineWidth: Integer read GetGridLineWidth write SetGridLineWidth default 1;
Published property GridLineBrush: TBrush read GetGridLineBrush write SetGridLineBrush stored IsGridLineBrushStored;
Published property GridLineStrokeDash: TStrokeDash read GetGridLineStrokeDash write SetGridLineStrokeDash default TStrokeDash.Solid;
Published property OnChange: TNotifyEvent read FOnChange write FOnChange;
Published property ScrollBars: TFireGridScrollBarsMode read GetScrollBars write SetScrollBars default TFireGridScrollBarsMode.ScrollAuto;
Published property GroupsHeader: Boolean read GetGroupsHeader write SetGroupsHeader default True;
Published property ColumnFont: TFont read GetColumnFont write SetColumnFont;
Published property ColumnTextColor: TAlphaColor read GetColumnTextColor write SetColumnTextColor default TAlphaColorRec.Null;
Published property CellFont: TFont read GetCellFont write SetCellFont;
Published property ZoomEnabled: Boolean read IsZoomEnabled write SetZoomEnabled default True;
Published property ZoomFactor: Single read GetZoomFactor write SetZoomFactor stored IsZoomFactorStored;
Published property ZoomIndicatorActive: Boolean read IsZoomIndicatorActive write SetZoomIndicatorActive default True;
Published property GroupsHeaderBrush: TBrush read GetGroupsHeaderBrush write SetGroupsHeaderBrush stored IsGroupsHeaderBrushStored;
Published property GroupsHeaderColor: TAlphaColor read GetGroupsHeaderColor write SetGroupsHeaderColor default TAlphaColorRec.Null;
Published property GroupsHeaderTextColor: TAlphaColor read GetGroupsHeaderTextColor write SetGroupsHeaderTextColor default TAlphaColorRec.White;
Published property GroupsHeaderTextFont: TFont read GetGroupsHeaderTextFont write SetGroupsHeaderTextFont;
Published property GroupsHeaderText: String read GetGroupsHeaderText write SetGroupsHeaderText stored IsGroupsHeaderTextStored;
Published property GroupsHeaderHeight: Integer read GetGroupsHeaderHeight write SetGroupsHeaderHeight;
Published property BackgroundColor: TAlphaColor read GetBackgroundColor write SetBackgroundColor default TAlphaColorRec.Null;
Published property BackgroundBrush: TBrush read GetBackgroundBrush write SetBackgroundBrush stored IsBackgroundBrushStored;
Published property TransparentBackground: Boolean read IsTransparentBackground write SetTransparentBackground default False;
Published property FilterEnabled: Boolean read IsFilterEnabled write SetFilterEnabled default True;
Published property FilterPanelAutoHide: Boolean read FFilterPanelAutoHide write SetFilterPanelAutoHide default False;
Published property FilterPanelHeight: Integer read GetFilterPanelHeight write SetFilterPanelHeight default -1;
Published property ScrollRowStyle: TFireGridScrollItemStyle read GetScrollRowStyle write SetScrollRowStyle default TFireGridScrollItemStyle.ScrollByItem;
Published property AutoCreateColumns: Boolean read FAutoCreateColumns write SetAutoCreateColumns default True;
Published property RubberBandSelection: Boolean read GetRubberBandSelection write SetRubberBandSelection default True;
Published property SelectionPolicy: TFireGridSelectionPolicy read GetSelectionPolicy write SetSelectionPolicy default TFireGridSelectionPolicy.RowSelection;
Published property NewRowHighlightEffect: TFireGridRowHighlightEffect read GetNewRowHighlightEffect write SetNewRowHighlightEffect default TFireGridRowHighlightEffect.RowFlashEffect;
Published property NewRowFlashInterval: Integer read GetNewRowFlashInterval write SetNewRowFlashInterval default 70;
Published property NewRowOpacity: Single read GetNewRowOpacity write SetNewRowOpacity stored IsNewRowOpacityStored;
Published property NewRowText: String read GetNewRowText write SetNewRowText stored IsNewRowTextStored;

Description

Methods

Public constructor Create(View: TFireGridViewBase);
 
Public destructor Destroy; override;
 
Public function IsFieldChooserEnabled: Boolean;
 
Public procedure SetFieldChooserEnabled(Enabled: Boolean);
 
Public function GetGridLines: TFireGridLinesStyle;
 
Public procedure SetGridLines(Lines: TFireGridLinesStyle);
 
Public function GetGridLineColor: TAlphaColor;
 
Public procedure SetGridLineColor(const Color: TAlphaColor);
 
Public function GetGridLineWidth: Integer;
 
Public procedure SetGridLineWidth(Width: Integer);
 
Public function GetGridLineBrush: TBrush;
 
Public procedure SetGridLineBrush(const Brush: TBrush);
 
Public function GetGridLineStrokeDash: TStrokeDash;
 
Public procedure SetGridLineStrokeDash(const Dash: TStrokeDash);
 
Public function GetAlternatingRowColors: Boolean;
 
Public procedure SetAlternatingRowColors(alternating: Boolean);
 
Public function GetScrollBars: TFireGridScrollBarsMode;
 
Public procedure SetScrollBars(mode: TFireGridScrollBarsMode);
 
Public function GetGroupsHeader: Boolean;
 
Public procedure SetGroupsHeader(GroupsHeader: Boolean);
 
Public function GetScrollRowStyle: TFireGridScrollItemStyle;
 
Public procedure SetScrollRowStyle(Style: TFireGridScrollItemStyle);
 
Public function GetColumnsAutoScroll: Boolean;
 
Public procedure SetColumnsAutoScroll(AutoScroll: Boolean);
 
Public function GetColumnFont: TFont;
 
Public procedure SetColumnFont(const Font: TFont);
 
Public function GetColumnHeight: Integer;
 
Public procedure SetColumnHeight(Height: Integer);
 
Public function GetColumnTextColor: TAlphaColor;
 
Public procedure SetColumnTextColor(const Color: TAlphaColor);
 
Public function GetCellHeight: Integer;
 
Public procedure SetCellHeight(Height: Integer);
 
Public function GetCellPalette: PFirePalette;
 
Public procedure SetCellPalette(const Palette: TFirePalette);
 
Public function GetCellFont: TFont;
 
Public procedure SetCellFont(const Font: TFont);
 
Public function IsSortEnabled: Boolean;
 
Public procedure SetSortEnabled(Enabled: Boolean);
 
Public function IsGroupSortEnabled: Boolean;
 
Public procedure SetGroupSortEnabled(Enabled: Boolean);
 
Public function GetModelDecoration: Boolean;
 
Public procedure SetModelDecoration(Enabled: Boolean);
 
Public function GetRubberBandSelection: Boolean;
 
Public procedure SetRubberBandSelection(Enabled: Boolean);
 
Public function GetBorderWidth: Integer;
 
Public procedure SetBorderWidth(Width: Integer);
 
Public function GetBorderColor: TAlphaColor;
 
Public procedure SetBorderColor(const Color: TAlphaColor);
 
Public function GetBorderStyled: Boolean;
 
Public procedure SetBorderStyled(Styled: Boolean);
 
Public function GetGroupsHeaderBrush: TBrush;
 
Public procedure SetGroupsHeaderBrush(const Brush: TBrush);
 
Public function GetGroupsHeaderColor: TAlphaColor;
 
Public procedure SetGroupsHeaderColor(const Color: TAlphaColor);
 
Public function GetGroupsHeaderTextColor: TAlphaColor;
 
Public procedure SetGroupsHeaderTextColor(const Color: TAlphaColor);
 
Public function GetGroupsHeaderTextFont: TFont;
 
Public procedure SetGroupsHeaderTextFont(const Font: TFont);
 
Public function GetGroupsHeaderText: String;
 
Public procedure SetGroupsHeaderText(const Text: String);
 
Public function GetGroupsHeaderHeight: Integer;
 
Public procedure SetGroupsHeaderHeight(Height: Integer);
 
Public function GetBackgroundBrush: TBrush;
 
Public procedure SetBackgroundBrush(const Brush: TBrush);
 
Public function GetBackgroundColor: TAlphaColor;
 
Public procedure SetBackgroundColor(const Color: TAlphaColor);
 
Public function IsTransparentBackground: Boolean;
 
Public procedure SetTransparentBackground(Transparent: Boolean);
 
Public function IsFilterEnabled: Boolean;
 
Public procedure SetFilterEnabled(Enabled: Boolean);
 
Public procedure SetFilterPanelAutoHide(AutoHide: Boolean);
 
Public function GetFilterPanelHeight: Integer;
 
Public procedure SetFilterPanelHeight(Height: Integer);
 
Public function IsDragEnabled: Boolean;
 
Public procedure SetDragEnabled(Enabled: Boolean);
 
Public function IsDropEnabled: Boolean;
 
Public procedure SetDropEnabled(Enabled: Boolean);
 
Public function IsZoomEnabled: Boolean;
 
Public procedure SetZoomEnabled(Zoom: Boolean);
 
Public function GetZoomFactor: Single;
 
Public procedure SetZoomFactor(const Factor: Single);
 
Public function IsZoomIndicatorActive: Boolean;
 
Public procedure SetZoomIndicatorActive(Active: Boolean);
 
Public function GetCellButtonAutoRaise: Boolean;
 
Public procedure SetCellButtonAutoRaise(AutoRaise: Boolean);
 
Public function GetCellButtonWidth: Integer;
 
Public procedure SetCellButtonWidth(Width: Integer);
 
Public procedure SetAutoCreateColumns(AutoCreate: Boolean);
 
Public function IsMultiSelect: Boolean;
 
Public function GetSelectionPolicy: TFireGridSelectionPolicy;
 
Public procedure SetSelectionPolicy(Policy: TFireGridSelectionPolicy);
 
Public function GetNewRowHighlightEffect: TFireGridRowHighlightEffect;
 
Public procedure SetNewRowHighlightEffect(effect: TFireGridRowHighlightEffect);
 
Public function GetNewRowFlashInterval: Integer;
 
Public procedure SetNewRowFlashInterval(Interval: Integer);
 
Public function GetNewRowOpacity: Single;
 
Public procedure SetNewRowOpacity(Opcity: Single);
 
Public function GetNewRowText: String;
 
Public procedure SetNewRowText(const Text: String);
 
Public function AllowFilterEditor: Boolean;
 
Protected procedure DoChanged;
 
Protected function IsBackgroundBrushStored: Boolean;
 
Protected function IsGroupsHeaderBrushStored: Boolean;
 
Protected function IsGridLineBrushStored: Boolean;
 
Protected function IsZoomFactorStored: Boolean;
 
Protected function IsNewRowOpacityStored: Boolean;
 
Protected function IsGroupsHeaderTextStored: Boolean;
 
Protected function IsNewRowTextStored: Boolean;
 

Properties

Public property View: TFireGridViewBase read FView;
 
Published property FieldChooserEnabled: Boolean read IsFieldChooserEnabled write SetFieldChooserEnabled default True;
 
Published property AlternatingRowColors: Boolean read GetAlternatingRowColors write SetAlternatingRowColors default True;
 
Published property GridLines: TFireGridLinesStyle read GetGridLines write SetGridLines default TFireGridLinesStyle.LinesBoth2D;
 
Published property GridLineColor: TAlphaColor read GetGridLineColor write SetGridLineColor default TAlphaColorRec.Lightgray;
 
Published property GridLineWidth: Integer read GetGridLineWidth write SetGridLineWidth default 1;
 
Published property GridLineBrush: TBrush read GetGridLineBrush write SetGridLineBrush stored IsGridLineBrushStored;
 
Published property GridLineStrokeDash: TStrokeDash read GetGridLineStrokeDash write SetGridLineStrokeDash default TStrokeDash.Solid;
 
Published property OnChange: TNotifyEvent read FOnChange write FOnChange;
 
Published property ScrollBars: TFireGridScrollBarsMode read GetScrollBars write SetScrollBars default TFireGridScrollBarsMode.ScrollAuto;
 
Published property GroupsHeader: Boolean read GetGroupsHeader write SetGroupsHeader default True;
 
Published property ColumnFont: TFont read GetColumnFont write SetColumnFont;
 
Published property ColumnTextColor: TAlphaColor read GetColumnTextColor write SetColumnTextColor default TAlphaColorRec.Null;
 
Published property CellFont: TFont read GetCellFont write SetCellFont;
 
Published property ZoomEnabled: Boolean read IsZoomEnabled write SetZoomEnabled default True;
 
Published property ZoomFactor: Single read GetZoomFactor write SetZoomFactor stored IsZoomFactorStored;
 
Published property ZoomIndicatorActive: Boolean read IsZoomIndicatorActive write SetZoomIndicatorActive default True;
 
Published property GroupsHeaderBrush: TBrush read GetGroupsHeaderBrush write SetGroupsHeaderBrush stored IsGroupsHeaderBrushStored;
 
Published property GroupsHeaderColor: TAlphaColor read GetGroupsHeaderColor write SetGroupsHeaderColor default TAlphaColorRec.Null;
 
Published property GroupsHeaderTextColor: TAlphaColor read GetGroupsHeaderTextColor write SetGroupsHeaderTextColor default TAlphaColorRec.White;
 
Published property GroupsHeaderTextFont: TFont read GetGroupsHeaderTextFont write SetGroupsHeaderTextFont;
 
Published property GroupsHeaderText: String read GetGroupsHeaderText write SetGroupsHeaderText stored IsGroupsHeaderTextStored;
 
Published property GroupsHeaderHeight: Integer read GetGroupsHeaderHeight write SetGroupsHeaderHeight;
 
Published property BackgroundColor: TAlphaColor read GetBackgroundColor write SetBackgroundColor default TAlphaColorRec.Null;
 
Published property BackgroundBrush: TBrush read GetBackgroundBrush write SetBackgroundBrush stored IsBackgroundBrushStored;
 
Published property TransparentBackground: Boolean read IsTransparentBackground write SetTransparentBackground default False;
 
Published property FilterEnabled: Boolean read IsFilterEnabled write SetFilterEnabled default True;
 
Published property FilterPanelAutoHide: Boolean read FFilterPanelAutoHide write SetFilterPanelAutoHide default False;
 
Published property FilterPanelHeight: Integer read GetFilterPanelHeight write SetFilterPanelHeight default -1;
 
Published property ScrollRowStyle: TFireGridScrollItemStyle read GetScrollRowStyle write SetScrollRowStyle default TFireGridScrollItemStyle.ScrollByItem;
 
Published property AutoCreateColumns: Boolean read FAutoCreateColumns write SetAutoCreateColumns default True;
 
Published property RubberBandSelection: Boolean read GetRubberBandSelection write SetRubberBandSelection default True;
 
Published property SelectionPolicy: TFireGridSelectionPolicy read GetSelectionPolicy write SetSelectionPolicy default TFireGridSelectionPolicy.RowSelection;
 
Published property NewRowHighlightEffect: TFireGridRowHighlightEffect read GetNewRowHighlightEffect write SetNewRowHighlightEffect default TFireGridRowHighlightEffect.RowFlashEffect;
 
Published property NewRowFlashInterval: Integer read GetNewRowFlashInterval write SetNewRowFlashInterval default 70;
 
Published property NewRowOpacity: Single read GetNewRowOpacity write SetNewRowOpacity stored IsNewRowOpacityStored;
 
Published property NewRowText: String read GetNewRowText write SetNewRowText stored IsNewRowTextStored;
 

Generated by PasDoc 0.15.0.