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
obj
objectThe object which is returrned if it is a control.