Skip to content

ColorSelectionDialog

Public Class

Allows display of the Revit Color dialog.

Inheritance Hierarchy

System.Object
Autodesk.Revit.UI.ColorSelectionDialog

Namespace: Autodesk.Revit.UI

Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class ColorSelectionDialog : IDisposable

The ColorSelectionDialog type exposes the following members.

Constructors

Name

Description


Public Method
ColorSelectionDialog

Default constructor.


Properties

Name

Description


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

The original color.


Public Property

The new color selected by the user.


Methods

Name

Description


Public Method

Releases all resources used by the ColorSelectionDialog


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

Shows the Revit Color dialog as a modal dialog.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Remarks

The class provides the option to launch the Revit Color dialog to select the color.