Data.Bind.DBLinks.TDBGridLinkColumnDescription

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TDBGridLinkColumnDescription = record

C++

struct DECLSPEC_DRECORD TDBGridLinkColumnDescription
{
private:
    System::Classes::TComponent* FColumnControl;
    System::UnicodeString FColumnName;
    int FColumnIndex;
    System::UnicodeString FSourceMemberName;
    System::UnicodeString FControlMemberName;
#ifndef _WIN64
    System::DynamicArray<TDBGridLinkColumnExpressionPair> FFormatCellExpressions;
    System::DynamicArray<TDBGridLinkColumnExpressionPair> FFormatColumnExpressions;
    System::DynamicArray<TDBGridLinkColumnExpressionPair> FParseCellExpressions;
#else /* _WIN64 */
    System::TArray__1<TDBGridLinkColumnExpressionPair> FFormatCellExpressions;
    System::TArray__1<TDBGridLinkColumnExpressionPair> FFormatColumnExpressions;
    System::TArray__1<TDBGridLinkColumnExpressionPair> FParseCellExpressions;
#endif /* _WIN64 */
public:
#ifndef _WIN64
    __fastcall TDBGridLinkColumnDescription(System::Classes::TComponent* AColumnControl, const System::UnicodeString AColumnName, int AColumnIndex, const System::UnicodeString AControlMemberName, const System::UnicodeString ASourceMemberName, System::DynamicArray<TDBGridLinkColumnExpressionPair> AFormatColumnExpressions, System::DynamicArray<TDBGridLinkColumnExpressionPair> AFormatCellExpressions, System::DynamicArray<TDBGridLinkColumnExpressionPair> AParseCellExpression);
#else /* _WIN64 */
    __fastcall TDBGridLinkColumnDescription(System::Classes::TComponent* AColumnControl, const System::UnicodeString AColumnName, int AColumnIndex, const System::UnicodeString AControlMemberName, const System::UnicodeString ASourceMemberName, System::TArray__1<TDBGridLinkColumnExpressionPair> AFormatColumnExpressions, System::TArray__1<TDBGridLinkColumnExpressionPair> AFormatCellExpressions, System::TArray__1<TDBGridLinkColumnExpressionPair> AParseCellExpression);
#endif /* _WIN64 */
    __property System::Classes::TComponent* ColumnControl = {read=FColumnControl};
    __property System::UnicodeString ColumnName = {read=FColumnName};
    __property int ColumnIndex = {read=FColumnIndex};
    __property System::UnicodeString SourceMemberName = {read=FSourceMemberName};
    __property System::UnicodeString ControlMemberName = {read=FControlMemberName};
#ifndef _WIN64
    __property System::DynamicArray<TDBGridLinkColumnExpressionPair> ParseCellExpression = {read=FParseCellExpressions};
    __property System::DynamicArray<TDBGridLinkColumnExpressionPair> FormatCellExpressions = {read=FFormatCellExpressions};
    __property System::DynamicArray<TDBGridLinkColumnExpressionPair> FormatColumnExpressions = {read=FFormatColumnExpressions};
#else /* _WIN64 */
    __property System::TArray__1<TDBGridLinkColumnExpressionPair> ParseCellExpression = {read=FParseCellExpressions};
    __property System::TArray__1<TDBGridLinkColumnExpressionPair> FormatCellExpressions = {read=FFormatCellExpressions};
    __property System::TArray__1<TDBGridLinkColumnExpressionPair> FormatColumnExpressions = {read=FFormatColumnExpressions};
#endif /* _WIN64 */
    bool __fastcall IsEqual(const TDBGridLinkColumnDescription &ADescription);
    TDBGridLinkColumnDescription() {}
};

Properties

Type Visibility Source Unit Parent
record
struct
public
Data.Bind.DBLinks.pas
Data.Bind.DBLinks.hpp
Data.Bind.DBLinks Data.Bind.DBLinks

Description

Is a record that contains column-related information for a DB grid link.

Information held in the TDBGridLinkColumnDescription record consists of the column that is to be controlled, the column name and index, binding source and control names, and several bindings expressions for formatting.

TDBGridLinkColumnDescription also contains the IsEqual method that returns whether the column information stored in the record actually matches the column information given through the ADescription parameter.

See Also