FGX.CollectionView.TfgCollectionViewStyle: различия между версиями

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
Строка 79: Строка 79:
 
|-
 
|-
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>Visible: [[Boolean]]</code>
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>Visible: [[Boolean]]</code>
 +
 +
|}
 +
 +
== События ==
 +
 +
{| class="wikitable sortable"
 +
|-
 +
| <syntaxhighlight lang="Delphi">event</syntaxhighlight> || <code>OnDestroy: [[TNotifyEvent]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">event</syntaxhighlight> || <code>OnResized: [[TfgResizedEvent]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">event</syntaxhighlight> || <code>OnPaint: [[TfgPaintEvent]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">event</syntaxhighlight> || <code>OnLongTap: [[TfgLongTapEvent]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">event</syntaxhighlight> || <code>OnPositionChanged: [[TfgPositionChangedEvent]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">event</syntaxhighlight> || <code>OnTouch: [[Boolean]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">event</syntaxhighlight> || <code>OnTap: [[TNotifyEvent]]</code>
  
 
|}
 
|}

Версия 04:39, 10 июня 2019

Delphi

TfgCollectionViewStyle = class (TfgCustomLayout, IFGXYogaContainer, IFGXContainer)

Описание

Стиль элемента списка.

Конструкторы

constructor
Create(AOwner: TComponent)

Свойства

property
CollectionView: TfgCustomCollectionView
property
SelectionColorLink: TfgAssetColorLink
property
StyleName: string

Название стиля элемента, используемого в TfgCollectionView.OnGetItemStyle .

property
Selectable: Boolean

Поддерживает ли элемент данного стиля выделение или нет.

property
Clickable: Boolean

Можно ли сделать Tap по элементу данного стиля или нет. Влияет на событие TfgCollectionView.OnTapItem .

property
SelectionColor: TAlphaColor

Цвет выделение элементов данного стиля. Перекрывает настройку цвета выделения TfgCollectionView.SelectionColor .

property
SelectionColorName: TfgAssetName

Название ресурса цвета выделения элемента данного стиля. Перекрывает настройки цвета выделения TfgCollectionView.SelectionColor и SelectionColor .

property
AlignmentChildren: TfgChildrenAlignment
property
Padding: TfgPadding
property
Alignment: TfgControlAlignment
property
AlignWithMargins: Boolean
property
BackgroundName: TfgAssetName
property
LookupName: string
property
Size: TfgSize
property
Constraints: TfgConstraints
property
Margins: TfgMargins
property
GestureKinds: TfgGestureKinds
property
HitTest: Boolean
property
Opacity: Single
property
Visible: Boolean

События

event
OnDestroy: TNotifyEvent
event
OnResized: TfgResizedEvent
event
OnPaint: TfgPaintEvent
event
OnLongTap: TfgLongTapEvent
event
OnPositionChanged: TfgPositionChangedEvent
event
OnTouch: Boolean
event
OnTap: TNotifyEvent