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

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
 
(не показаны 33 промежуточные версии этого же участника)
Строка 1: Строка 1:
* [[ FGX.Switch | Вверх к родителю: FGX.Switch ]]
+
* [[ FGX.StaticLabel.TfgCustomLabel | Вверх к родителю: TfgCustomLabel ]]
* [[ FGX.Switch.TfgCustomSwitch_Methods | Методы ]]
+
* [[ FGX.Switch | К модулю: FGX.Switch ]]
* [[ FGX.Switch.TfgCustomSwitch_Properties | Свойства ]]
 
  
 
Delphi
 
Delphi
  
<syntaxhighlight lang="Delphi">TfgCustomSwitch = class (TfgCustomLabel)</syntaxhighlight>
+
<syntaxhighlight lang="Delphi">TfgCustomSwitch = class (TfgCustomLabel, IFGXCheckable)</syntaxhighlight>
  
 +
<p class="class-inheritance"><span class="type-border">[[System.Classes.TComponent|TComponent]]</span> -> <span class="type-border">[[FGX.Controls.TfgControl|TfgControl]]</span> -> <span class="type-border">[[FGX.StaticLabel.TfgCustomLabel|TfgCustomLabel]]</span> -> <span class="type-border">[[FGX.Switch.TfgCustomSwitch|TfgCustomSwitch]]</span></p>
 +
 +
Прямые наследники:
 +
[[FGX.Switch.TfgSwitch|TfgSwitch]]
 +
 +
== Описание ==
 +
 +
<span style="color:gray">Описание отсутствует.</span>
 
== Конструкторы ==
 
== Конструкторы ==
  
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
| <code>constructor</code> || <code>Create(AOwner: TComponent)</code>
+
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create(AOwner: [[TComponent]])</code>
 
+
<span style="color:gray">Описание отсутствует.</span>
 
|}
 
|}
  
Строка 19: Строка 26:
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
| <code>property</code> || <code>TintColorLink: TfgAssetColorLink</code>
+
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>TintColorLink: [[FGX.Assets.Color.TfgAssetColorLink|TfgAssetColorLink]]</code>
 
+
<span style="color:gray">Описание отсутствует.</span>
 
|-
 
|-
| <code>property</code> || <code>TintColor: TAlphaColor</code>
+
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>TintColor: [[TAlphaColor]]</code>
Цветовой оттенок переключателя.
+
<p>Цветовой оттенок переключателя.</p>
 
|-
 
|-
| <code>property</code> || <code>TintColorName: TfgAssetName</code>
+
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>TintColorName: [[TfgAssetName|TfgAssetName]]</code>
Ресурс цвета оттенка переключателя.
+
 
 +
<p>Ресурс цвета оттенка переключателя.</p><div class="info">Если указан ресурс цвета, то он имеет более высокий приоритет над <i>TintColor</i> . Поэтому именно он и будет использоваться. Если же в ресурсе цвет не указан (Null) или его нет, то будет использоваться <i>TintColor</i> .</div>
 
|-
 
|-
| <code>property</code> || <code>IsChecked: Boolean</code>
+
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>IsChecked: [[Boolean]]</code>
 
+
<span style="color:gray">Описание отсутствует.</span>
 
|}
 
|}
  
Строка 36: Строка 44:
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
| <code>event</code> || <code>OnChanged: TNotifyEvent</code>
+
| <syntaxhighlight lang="Delphi">event</syntaxhighlight> || <code>OnChanged: [[TNotifyEvent]]</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|}
 +
 
 +
== Константы ==
  
 +
{| class="wikitable sortable"
 +
|-
 +
| <syntaxhighlight lang="Delphi">const</syntaxhighlight> || <code>DefaultIsChecked: [[Boolean]]</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">const</syntaxhighlight> || <code>DefaultTintColor: [[TAlphaColor]]</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">const</syntaxhighlight> || <code>DefaultHitTest: [[Boolean]]</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 +
|-
 +
| <syntaxhighlight lang="Delphi">const</syntaxhighlight> || <code>DefaultAutosize: [[Set]]</code>
 +
<span style="color:gray">Описание отсутствует.</span>
 
|}
 
|}

Текущая версия на 00:25, 9 ноября 2020

Delphi

TfgCustomSwitch = class (TfgCustomLabel, IFGXCheckable)

TComponent -> TfgControl -> TfgCustomLabel -> TfgCustomSwitch

Прямые наследники: TfgSwitch

Описание

Описание отсутствует.

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

constructor
Create(AOwner: TComponent)

Описание отсутствует.

Свойства

property
TintColorLink: TfgAssetColorLink

Описание отсутствует.

property
TintColor: TAlphaColor

Цветовой оттенок переключателя.

property
TintColorName: TfgAssetName

Ресурс цвета оттенка переключателя.

Если указан ресурс цвета, то он имеет более высокий приоритет над TintColor . Поэтому именно он и будет использоваться. Если же в ресурсе цвет не указан (Null) или его нет, то будет использоваться TintColor .
property
IsChecked: Boolean

Описание отсутствует.

События

event
OnChanged: TNotifyEvent

Описание отсутствует.

Константы

const
DefaultIsChecked: Boolean

Описание отсутствует.

const
DefaultTintColor: TAlphaColor

Описание отсутствует.

const
DefaultHitTest: Boolean

Описание отсутствует.

const
DefaultAutosize: Set

Описание отсутствует.