Data.Bind.Grid.TCreateColumnDescription

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

  TCreateColumnDescription = record
  private
    [weak] FDataSource: TBaseLinkingBindSource;
    FHeader: string;
    FReadOnly: Boolean;
    FMemberName: string;
    FVisible: Boolean;
    FWidth: Integer;
    FTextWidth: Integer;
    FMemberType: TScopeMemberType;
    FMemberGetter: string;
    FMemberSetter: string;
    FCustomFormat: string;
    FCustomParse: string;
    FColumnStyle: string;
    FDecimalDigits: Integer;
    FShowThousandSeparator: Boolean;
    FAlignment: TAlignment;
    FDefaultAlignment: Boolean;
  public
    constructor Create(AColumn: TLinkGridToDataSourceColumn); overload;
    constructor Create(ADataSource: TBaseLinkingBindSource; const AMemberName: string); overload;
    property DataSource: TBaseLinkingBindSource read FDataSource;
    property Header: string read FHeader write FHeader;
    property MemberName: string read FMemberName;
    property Visible: Boolean read FVisible write FVisible;
    property Width: Integer read FWidth write FWidth;
    property TextWidth: Integer read FTextWidth write FTextWidth;
    property ReadOnly: Boolean read FReadOnly write FReadOnly;
    property MemberType: TScopeMemberType read FMemberType write FMemberType;
    property MemberSetter: string read FMemberSetter write FMemberSetter;
    property MemberGetter: string read FMemberGetter write FMemberGetter;
    property CustomParse: string read FCustomParse write FCustomParse;
    property CustomFormat: string read FCustomFormat write FCustomFormat;
    property ColumnStyle: string read FColumnStyle write FColumnStyle;
    property DecimalDigits: Integer read FDecimalDigits write FDecimalDigits;
    property ShowThousandSeparator: Boolean read FShowThousandSeparator write FShowThousandSeparator;
    property Alignment: TAlignment read FAlignment write FAlignment;
    property DefaultAlignment: Boolean read FDefaultAlignment write FDefaultAlignment;
  end;

C++

struct DECLSPEC_DRECORD TCreateColumnDescription
{
private:
    Data::Bind::Components::TBaseLinkingBindSource* FDataSource;
    System::UnicodeString FHeader;
    bool FReadOnly;
    System::UnicodeString FMemberName;
    bool FVisible;
    int FWidth;
    int FTextWidth;
    Data::Bind::Components::TScopeMemberType FMemberType;
    System::UnicodeString FMemberGetter;
    System::UnicodeString FMemberSetter;
    System::UnicodeString FCustomFormat;
    System::UnicodeString FCustomParse;
    System::UnicodeString FColumnStyle;
    int FDecimalDigits;
    bool FShowThousandSeparator;
    System::Classes::TAlignment FAlignment;
    bool FDefaultAlignment;
public:
    __fastcall TCreateColumnDescription(TLinkGridToDataSourceColumn* AColumn)/* overload */;
    __fastcall TCreateColumnDescription(Data::Bind::Components::TBaseLinkingBindSource* ADataSource, const System::UnicodeString AMemberName)/* overload */;
    __property Data::Bind::Components::TBaseLinkingBindSource* DataSource = {read=FDataSource};
    __property System::UnicodeString Header = {read=FHeader, write=FHeader};
    __property System::UnicodeString MemberName = {read=FMemberName};
    __property bool Visible = {read=FVisible, write=FVisible};
    __property int Width = {read=FWidth, write=FWidth};
    __property int TextWidth = {read=FTextWidth, write=FTextWidth};
    __property bool ReadOnly = {read=FReadOnly, write=FReadOnly};
    __property Data::Bind::Components::TScopeMemberType MemberType = {read=FMemberType, write=FMemberType};
    __property System::UnicodeString MemberSetter = {read=FMemberSetter, write=FMemberSetter};
    __property System::UnicodeString MemberGetter = {read=FMemberGetter, write=FMemberGetter};
    __property System::UnicodeString CustomParse = {read=FCustomParse, write=FCustomParse};
    __property System::UnicodeString CustomFormat = {read=FCustomFormat, write=FCustomFormat};
    __property System::UnicodeString ColumnStyle = {read=FColumnStyle, write=FColumnStyle};
    __property int DecimalDigits = {read=FDecimalDigits, write=FDecimalDigits};
    __property bool ShowThousandSeparator = {read=FShowThousandSeparator, write=FShowThousandSeparator};
    __property System::Classes::TAlignment Alignment = {read=FAlignment, write=FAlignment};
    __property bool DefaultAlignment = {read=FDefaultAlignment, write=FDefaultAlignment};
    TCreateColumnDescription() {}
};

Propriétés

Type Visibilité  Source Unité  Parent
record
struct
public
Data.Bind.Grid.pas
Data.Bind.Grid.hpp
Data.Bind.Grid Data.Bind.Grid

Description

Décrit une colonne d'un contrôle grille incluant des informations sur l'apparence de la colonne et les expressions LiveBindings.

Voir aussi