The TemporaryViewModes type exposes the following members.

Methods

  NameDescription
Public methodDeactivateAllModes
Deactivates all temporary modes that are currently active.
Public methodDeactivateMode
Deactivates the given temporary mode.
Public methodDispose
Causes the object to release immediately any resources it may be utilizing.
(Inherited from APIObject.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetCaption
A text caption to use for the given mode.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsCustomized
Identifies if a custom temporary view mode is currently active. A custom mode is active if there is a non-empty string set for CustomTitle.
Public methodIsModeActive
Tests whether a given mode is currently active or not.
Public methodIsModeAvailable
Tests whether a temporary view mode is currently available in the associated view.
Public methodIsModeEnabled
Tests whether a temporary view mode is currently enabled in the associated view.
Public methodIsValidState
Tests whether the given state is valid for the associated view and the context the view is currently in.
Public methodRemoveCustomization
Removes all customized values for the TemporaryViewProperties mode.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyCustomColor
Custom color for the TemporaryViewProperties mode.
Public propertyCustomTitle
Custom title for the TemporaryViewProperties mode.
Public propertyIsReadOnly
Identifies if the object is read-only or modifiable.
(Inherited from APIObject.)
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public propertyPreviewFamilyVisibility
The current state of the PreviewFamilyVisibility mode in the associated view.
Public propertyStatic memberPreviewFamilyVisibilityDefaultOnState
Controls the default state of the PreviewFamilyVisibility mode in all views.
Public propertyStatic memberPreviewFamilyVisibilityDefaultUncutState
Controls the default type of the On state of the PreviewFamilyVisibility mode in cut-able views.
Public propertyRevealConstraints
The current state of the RevealConstraints mode in the associated view.
Public propertyRevealHiddenElements
The current state of the RevealHiddenElements mode in the associated view.
Public propertyWorksharingDisplay
The current state of the WorksharingDisplay mode in the associated view.

See Also