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;
    FMemberType: TScopeMemberType;
    FMemberGetter: string;
    FMemberSetter: string;
    FCustomFormat: string;
    FCustomParse: string;
    FColumnStyle: string;
  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 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;
  end;

C++

struct DECLSPEC_DRECORD TCreateColumnDescription
{
private:
    Data::Bind::Components::TBaseLinkingBindSource* FDataSource;
    System::UnicodeString FHeader;
    bool FReadOnly;
    System::UnicodeString FMemberName;
    bool FVisible;
    int FWidth;
    Data::Bind::Components::TScopeMemberType FMemberType;
    System::UnicodeString FMemberGetter;
    System::UnicodeString FMemberSetter;
    System::UnicodeString FCustomFormat;
    System::UnicodeString FCustomParse;
    System::UnicodeString FColumnStyle;
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 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};
    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