API:FMX.Gestures.TGestureManager.FindCustomGesture

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FindCustomGesture(AGestureID: TGestureID): TCustomGestureCollectionItem; override;
function FindCustomGesture(const AName: string): TCustomGestureCollectionItem; override;

C++

virtual Fmx::Types::TCustomGestureCollectionItem* __fastcall FindCustomGesture(Fmx::Types::TGestureID AGestureID)/* overload */;
virtual Fmx::Types::TCustomGestureCollectionItem* __fastcall FindCustomGesture(const System::UnicodeString AName)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
FMX.Gestures.pas
FMX.Gestures.hpp
FMX.Gestures TGestureManager

Description

Returns a recorded or a registered gesture managed by the gesture manager component.

FMX.Gestures.TGestureManager.FindCustomGesture inherits from FMX.Types.TCustomGestureManager.FindCustomGesture. All content below this line refers to FMX.Types.TCustomGestureManager.FindCustomGesture.

Returns a recorded or a registered gesture managed by the gesture manager component.

Override FindCustomGesture in descending classes to implement a proper lookup of collection items holding recorded or registered gestures given an ID or a name. FindCustomGesture is expected to return a TCustomGestureCollectionItem instance if the gesture was found, and nil if the ID or the name was not found in the gesture manager.

See Also