Share

ColorSelectionDialog 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: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class ColorSelectionDialog : IDisposable

The ColorSelectionDialog type exposes the following members.

Constructors

 NameDescription
Public methodColorSelectionDialog Default constructor.

Properties

 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyOriginalColor The original color.
Public propertySelectedColor The new color selected by the user.

Methods

 NameDescription
Public methodDisposeReleases all resources used by the ColorSelectionDialog
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodShow Shows the Revit Color dialog as a modal dialog.
Public methodToStringReturns 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.

See Also

Reference

Was this information helpful?