Method GetObjectOrDefault
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
VisualControlStateControl state.
defaultValue
TDefault result value.
Returns
- T