GLG Toolkit, C# Class Library  Version 4.6
GlgObjectActionInterface Interface Reference

Custom action interface. More...

Detailed Description

Custom action interface.

This object is used as a parameter of the TraverseObjects and TraceObject methods and provides a custom action to be performed on each object in a collection of objects.

Inherited by GlgObjectActionInterfaceExt.

Public Member Functions

bool Action (GlgObject object)
 An action to be performed. More...
 

Member Function Documentation

◆ Action()

bool Action ( GlgObject  object)

An action to be performed.

This method is invoked for each traversed object and provides a custom action to be performed on the object.

Parameters
objectThe object to act upon.
Returns
  • When used with FindObjects:
    • true to indicate that the object matches.
    • false to indicate that the object doesn't match.
  • When used with FindObjects:
    • true to highlight the object
    • false to unhighlight it.

Implemented in GlgObjectActionInterfaceExt.