Method SafeControl
SafeControl(object?)
Gets control for measure purposes in a safe way. Do not change any properties of the returned control.
public static AbstractControl SafeControl(object? obj)
Parameters
objobjectThe object which is returned if it is a control.