eDriven Framework API
GetTarget Method (target, parent)
Namespaces ► eDriven.Gui.States ► OverrideBase ► GetTarget(Object, Component)
eDriven Framework API
Returns the target based on the folowing logic: If target is supplied - as object - return it If target is supplied - as string - find a target (object) and return it If target is not supplied - get the parent object
Declaration Syntax

C# | Visual Basic | Visual C++

    protected Object GetTarget(
    	Object target,
    	Component parent
    )

    Protected Function GetTarget ( _
    	target As Object, _
    	parent As Component _
    ) As Object

    protected:
    Object^ GetTarget(
    	Object^ target,
    	Component^ parent
    )

Parameters

target (Object)

parent (Component)

Return Value

Assembly: eDriven.Gui (Module: eDriven.Gui) Version: 2.0.1.0 (2.0.1.0)