FGX.NavigationBar.Types.TfgNavigationBarButton: различия между версиями

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
(Метка: замена)
Строка 1: Строка 1:
* [[ FGX.NavigationBar.Types | Вверх к родителю: FGX.NavigationBar.Types ]]
+
* [[ FGX.Types.TfgCollectionItem | Вверх к родителю: TfgCollectionItem ]]
  
 
Delphi
 
Delphi
  
 
<syntaxhighlight lang="Delphi">TfgNavigationBarButton = class (TfgCollectionItem)</syntaxhighlight>
 
<syntaxhighlight lang="Delphi">TfgNavigationBarButton = class (TfgCollectionItem)</syntaxhighlight>
 
== Описание ==
 
 
Описание отсутствует.
 
 
== Конструкторы ==
 
 
{| class="wikitable sortable"
 
|-
 
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create(Collection: [[TCollection]])</code>
 
 
|}
 
 
== Свойства ==
 
 
{| class="wikitable sortable"
 
|-
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>IconLink: [[FGX.Assets.TfgAssetLink|TfgAssetLink]]</code>
 
 
|-
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>ActionKind: [[.TfgNavigationBarActionKind|TfgNavigationBarActionKind]]</code>
 
Вид контрола взаимодействия '' ActionControl '' , который будет отображен при нажатии на данную кнопку. Доступные виды можно посмотреть в '' TfgActionControlsFactory.GetKinds '' .
 
|-
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>ActionControl: [[FGX.Control.TfgControl|TfgControl]]</code>
 
Контрол взаимодействия, который отображается при нажатии на данную кнопку.
 
|-
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>Name: [[string]]</code>
 
Имя, которое можно использовать для идентификации кнопки на уровне кода.
 
|-
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>Title: [[string]]</code>
 
Заголовок кнопки.
 
|-
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>Enabled: [[Boolean]]</code>
 
Доступна ли кнопка для взаимодействия с пользователем или нет.
 
|-
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>IconName: [[.TfgAssetName|TfgAssetName]]</code>
 
Название ресура, содержащего иконку кнопки.
 
|-
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>Visible: [[Boolean]]</code>
 
Видимость кнопки.
 
|-
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>VisibilityMode: [[.TfgButtonVisibilityMode|TfgButtonVisibilityMode]]</code>
 
Режим видимости кнопки. Смотри описание '' TfgButtonVisibilityMode '' .
 
|}
 
 
== События ==
 
 
{| class="wikitable sortable"
 
|-
 
| <syntaxhighlight lang="Delphi">event</syntaxhighlight> || <code>OnTap: [[TNotifyEvent]]</code>
 
Срабатывает, когда пользователь нажимает на кнопку.
 
|}
 
 
== Константы ==
 
 
{| class="wikitable sortable"
 
|-
 
| <syntaxhighlight lang="Delphi">const</syntaxhighlight> || <code>DefaultVisible: [[Boolean]]</code>
 
 
|-
 
| <syntaxhighlight lang="Delphi">const</syntaxhighlight> || <code>DefaultVisibilityMode: [[.TfgButtonVisibilityMode|TfgButtonVisibilityMode]]</code>
 
 
|-
 
| <syntaxhighlight lang="Delphi">const</syntaxhighlight> || <code>DefaultEnabled: [[Boolean]]</code>
 
 
|}
 

Версия 23:31, 11 июня 2019

Delphi

TfgNavigationBarButton = class (TfgCollectionItem)