Version

Context Property (CancelableEditorButtonEventArgs)

Returns an object that provides some information about where the button is being used.
Syntax
'Declaration
 
Public ReadOnly Property Context As Object
public object Context {get;}
Remarks

Since the EditorButtonBase may hosted within a single standalone editor control (such as an UltraTextEditor or used by a control that hosts editors (e.g. UltraGrid), the event may be invoked from multiple sources. The Context is used to provide some context about the source of the action. For stand alone controls, the value will usually be null but for external objects, an object identifying the source should be returned. For example, a Cell object should be returned when the button is hosted in an editor in a grid cell.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also