Table of Contents

Method GetObjectOrDefault

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

GetObjectOrDefault(VisualControlState, T)

Gets an object for the specified state or defaultValue if object for that state is not specified.

public virtual T GetObjectOrDefault(VisualControlState state, T defaultValue)

Parameters

state VisualControlState

Control state.

defaultValue T

Default result value.

Returns

T