FMX.ActnList.TActionLink.IsVisibleLinked

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsVisibleLinked: Boolean; override;

C++

virtual bool __fastcall IsVisibleLinked(void);

Properties

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

Description

Defines the method to retrieve whether the Visible property of the action assigned to the action link and the Visible property of the client of the action link are linked.

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

Defines the method to retrieve whether the Visible property of the action assigned to the action link and the Visible property of the client of the action link are linked.

As implemented in TActionLink, IsVisibleLinked returns False if the action, assigned to the action link, belongs to TCustomViewAction and the component of this action equals the client of the action link. Otherwise, IsVisibleLinked returns True.

TContainedActionLink descendants call IsVisibleLinked to determine whether they need to propagate changes made to the Visible property of the action to the Visible property of the client.

When IsVisibleLinked of an action link returns True and the Visible property of the action is set False, then the Visible property of the client is also set False. This means that the client is invisible. For example, if a client is a menu item or a control, then these menu item or control are invisible. Such situation takes place when the action belongs to the standard

See Also