FMX.ActnList.TActionLink.IsCheckedLinked

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsCheckedLinked: Boolean; override;

C++

virtual bool __fastcall IsCheckedLinked();

Properties

Type Visibility Source Unit Parent
function protected
FMX.ActnList.pas
FMX.ActnList.hpp
FMX.ActnList TActionLink

Description

Retrieves whether the Checked property for the action and for the client of the action link are linked.

FMX.ActnList.TActionLink.IsCheckedLinked inherits from System.Actions.TContainedActionLink.IsCheckedLinked. All content below this line refers to System.Actions.TContainedActionLink.IsCheckedLinked.

Retrieves whether the Checked property for the action and for the client of the action link are linked.

Descendants of TContainedActionLink call IsCheckedLinked to determine whether they need to distribute changes made to the action's Checked property to the corresponding Checked property of the client object:

  • When IsCheckedLinked returns True, the action link controls the Checked property; changes to the action's Checked property are reflected by changes to the corresponding property of the client object.
  • When IsCheckedLinked returns False, the client object is not influenced by the Checked property of its action for one of the following reasons:
    • It does not have a corresponding property.
    • It manages the value of its corresponding property independently (more common).

Descendant classes can override IsCheckedLinked to determine whether the Checked property is linked with the appropriate client property. If a client (like FMX.Forms.TForm) linked by a descendant class object does not support the Checked property, then IsCheckedLinked always returns False.

As implemented in TActionLink:

Also IsCheckedLinked returns False if the client does not support the Checked property.

See Also