TemporaryViewModes Members


The TemporaryViewModes type exposes the following members.

Methods

Name Description
Public method DeactivateAllModes
Deactivates all temporary modes that are currently active.
Public method DeactivateMode
Deactivates the given temporary mode.
Public method Dispose
Causes the object to release immediately any resources it may be utilizing.
(Inherited from APIObject .)
Public method Equals
Determines whether the specified Object is equal to the current Object .
(Inherited from Object .)
Public method GetCaption
A text caption to use for the given mode.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method IsModeActive
Tests whether a given mode is currently active or not.
Public method IsModeAvailable
Tests whether a temporary view mode is currently available in the associated view.
Public method IsModeEnabled
Tests whether a temporary view mode is currently enabled in the associated view.
Public method IsValidState
Tests whether the given state is valid for the associated view and the context the view is currently in.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)

Properties

Name Description
Public property IsReadOnly
Identifies if the object is read-only or modifiable.
(Inherited from APIObject .)
Public property IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public property PreviewFamilyVisibility
The current state of the PreviewFamilyVisibility mode in the associated view.
Public property Static member PreviewFamilyVisibilityDefaultOnState
Controls the default state of the PreviewFamilyVisibility mode in all views.
Public property Static member PreviewFamilyVisibilityDefaultUncutState
Controls the default type of the On state of the PreviewFamilyVisibility mode in cut-able views.
Public property RevealConstraints
The current state of the RevealConstraints mode in the associated view.
Public property RevealHiddenElements
The current state of the RevealHiddenElements mode in the associated view.
Public property WorksharingDisplay
The current state of the WorksharingDisplay mode in the associated view.

See Also