FMX.Controls.Presentation.IIgnoreControlPosition

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

IIgnoreControlPosition = interface

C++

__interface  INTERFACE_UUID("{6C5DA960-D0E0-457B-9464-D489034510B7}") IIgnoreControlPosition  : public System::IInterface

Properties

Type Visibility Source Unit Parent
interface
class
public
FMX.Controls.Presentation.pas
FMX.Controls.Presentation.hpp
FMX.Controls.Presentation FMX.Controls.Presentation

Description

This interface is intended to ignore TContent if the control already considers the offset of content when computing the absolute coordinates of the native control.

Some composite controls, such as TListBox, TScrollBox etc., have a special content for storing and moving items.

If you embed a native control into a native scrollbox, for instance, the absolute position of the native control is computed using the chain of ancestors until the native scrollbox. However, you do not need to use TContent in this case, because the native TScrollBox is already considered the offset of content. IIgnoreControlPosition exists for this purpose.

See Also