FGX.CollectionView.Styles.TfgCollectionViewStylesRegistry: различия между версиями
Перейти к навигации
Перейти к поиску
Admin (обсуждение | вклад) (summary) |
Admin (обсуждение | вклад) (summary) |
||
(не показано 11 промежуточных версий этого же участника) | |||
Строка 3: | Строка 3: | ||
Delphi | Delphi | ||
− | < | + | <syntaxhighlight lang="Delphi">TfgCollectionViewStylesRegistry = class (TObject)</syntaxhighlight> |
== Описание == | == Описание == | ||
Строка 13: | Строка 13: | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
− | | < | + | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">Register(const ATemplate: [[.TfgCollectionViewStyleTemplateInfo|TfgCollectionViewStyleTemplateInfo]])</code> |
|- | |- | ||
− | | < | + | | <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">CreateStyle(const AId: [[string]]; const AOwner: [[TComponent]]): [[FGX.CollectionView.TfgCollectionViewStyle|TfgCollectionViewStyle]]</code> |
|- | |- | ||
− | | < | + | | <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">Contains(const AId: [[string]]): [[Boolean]]</code> |
|- | |- | ||
− | | < | + | | <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">TemplateInfo(const AId: [[string]]): [[.TfgCollectionViewStyleTemplateInfo|TfgCollectionViewStyleTemplateInfo]]</code> |
|} | |} |
Текущая версия на 04:38, 10 июня 2019
Delphi
TfgCollectionViewStylesRegistry = class (TObject)
Описание
Реестр шаблонов стилей для TfgCollectionView. Пользователь может регистрировать здесь свои готовые шаблоны стилей, для использования их в дизайнере.
Методы
procedure
|
Register(const ATemplate: TfgCollectionViewStyleTemplateInfo)
|
function
|
CreateStyle(const AId: string; const AOwner: TComponent): TfgCollectionViewStyle
|
function
|
Contains(const AId: string): Boolean
|
function
|
TemplateInfo(const AId: string): TfgCollectionViewStyleTemplateInfo
|