TemporaryViewModes.IsValidState
Description:
Tests whether the given state is valid for the associated view and the context the view is currently in.
Tests whether the given state is valid for the associated view and the context the view is currently in.
Remarks:
As long as the PreviewFamilyVisibility mode is available and enabled in the associated view, the Off and On states are always valid. However, the Uncut state is only valid in plan views and reflected ceilings.
As long as the PreviewFamilyVisibility mode is available and enabled in the associated view, the Off and On states are always valid. However, the Uncut state is only valid in plan views and reflected ceilings.
public bool IsValidState(
PreviewFamilyVisibilityMode state
)
-
stateA state of the PreviewFamilyVisibilityMode
-
A value passed for an enumeration argument is not a member of that enumeration