TemporaryViewModes.IsModeEnabled
Description:
Tests whether a temporary view mode is currently enabled in the associated view.
Tests whether a temporary view mode is currently enabled in the associated view.
Remarks:
Most of temporary modes are enabled in a specific context only. A programmer who wants to use a mode needs to first test whether it is currently available and enabled, or not.
Most of temporary modes are enabled in a specific context only. A programmer who wants to use a mode needs to first test whether it is currently available and enabled, or not.
public bool IsModeEnabled(
TemporaryViewMode mode
)
-
modeThe mode to evaluate
Return Value
bool
True if the requested mode is available and enabled in the associated view; False otherwise.
-
A value passed for an enumeration argument is not a member of that enumeration