2026 Class
Changes 1
C

ColorOptions

Description:
A class providing access to color settings which affect the colors applied to specific views.
Remarks:
ColorOptions are managed and stored along with other global application options and thus impact the application as a whole.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ColorOptions
public class ColorOptions : IDisposable
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the ColorOptions
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetColorOptions() ColorOptions Returns the current Revit instance's ColorOptions.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P AlertColor Color The color of the current canvas theme used to highlight elements when a special alert is required.
P BackgroundColor Color The background color of the current canvas theme applied to views.
P CalculatingColor Color The color of the current canvas theme used to render elements when some aspect of their properties is currently being recalculated.
P EditingColor Color The color of the current canvas theme used to render elements when editing.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P PreselectionColor Color The color of the current canvas theme used to highlight candidates for selection before they are selected.
P SelectionColor Color The color of the current canvas theme used to highlight selected elements.
P SelectionSemitransparent bool Indicates whether or not selections will be shown in a semi-transparent manner in current canvas theme.