Table of Contents

Method SafeControl

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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 object

The object which is returrned if it is a control.

Returns

AbstractControl