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() {}
};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
record struct |
public | Data.Bind.DBLinks.pas Data.Bind.DBLinks.hpp |
Data.Bind.DBLinks | Data.Bind.DBLinks |
説明
DB グリッド リンクの列関連情報が格納されているレコードです。
TDBGridLinkColumnDescription レコードに保持されている情報は、制御の対象となる列、列の名前およびインデックス、バインディング ソース名およびコントロール名、書式設定用のいくつかのバインディング式から成ります。
TDBGridLinkColumnDescription には、レコードに格納されている列情報が ADescription
パラメータで指定された列情報と本当に一致するかどうかを返す IsEqual メソッドも含まれています。