Method GetObjectView
GetObjectView(object?)
Retrieves the View associated with the specified object, if available.
public static View? GetObjectView(object? instance)
Parameters
Returns
Remarks
If the instance
is a View,
it is returned directly.
If the instance
is a Control,
the method attempts to retrieve the container View using
GetContainer(AbstractControl?).