Data.Bind.DBLinks.TDBGridLinkColumnDescription
Delphi
TDBGridLinkColumnDescription = record
private
FColumnControl: TComponent;
FColumnName: string;
FColumnIndex: Integer;
FSourceMemberName: string;
FControlMemberName: string;
FFormatCellExpressions: TArray<TDBGridLinkColumnExpressionPair>;
FFormatColumnExpressions: TArray<TDBGridLinkColumnExpressionPair>;
FParseCellExpressions: TArray<TDBGridLinkColumnExpressionPair>;
public
constructor Create(AColumnControl: TComponent; const AColumnName: string;
AColumnIndex: Integer;
const AControlMemberName, ASourceMemberName: string;
AFormatColumnExpressions, AFormatCellExpressions, AParseCellExpression:
TArray<TDBGridLinkColumnExpressionPair>);
property ColumnControl: TComponent read FColumnControl;
property ColumnName: string read FColumnName;
property ColumnIndex: Integer read FColumnIndex;
property SourceMemberName: string read FSourceMemberName;
property ControlMemberName: string read FControlMemberName;
property ParseCellExpression: TArray<TDBGridLinkColumnExpressionPair> read FParseCellExpressions;
property FormatCellExpressions: TArray<TDBGridLinkColumnExpressionPair> read FFormatCellExpressions;
property FormatColumnExpressions: TArray<TDBGridLinkColumnExpressionPair> read FFormatColumnExpressions;
function IsEqual(const ADescription: TDBGridLinkColumnDescription): Boolean;
end;
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() {}
};
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
record struct |
public | Data.Bind.DBLinks.pas Data.Bind.DBLinks.hpp |
Data.Bind.DBLinks | Data.Bind.DBLinks |
Beschreibung
Ist ein Record, der spaltenbezogene Informationen für eine DB-Gitterverknüpfung enthält.
Die Informationen im Record TDBGridLinkColumnDescription bestehen aus der entsprechenden Spalte, dem Spaltennamen und -index, den Namen der Bindungsquelle und des Bindungssteuerelements und mehreren Bindungsausdrücken für die Formatierung.
TDBGridLinkColumnDescription enthält auch die Methode IsEqual, die zurückgibt, ob die im Record gespeicherten Spalteninformationen mit den im Parameter ADescription
angegebenen Spalteninformationen übereinstimmen.