Context.Source operator

Introduced

v4.0

Description

Returns the Object Model object that is the cause of the callback being fired. The type of object returned depends on the callback. For example this returns a CustomProperty object in the context of a "Define" callback for a CustomProperty Plugin, and it returns a PPGLayout object in the context of a "DefineLayout" callback.

C# Syntax

// get accessor
Object rtn = Context.Source;