ColorSelectionDialog
Description:
Allows display of the Revit Color dialog.
Allows display of the Revit Color dialog.
Remarks:
The class provides the option to launch the Revit Color dialog to select the color.
The class provides the option to launch the Revit Color dialog to select the color.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.UI.ColorSelectionDialog
System.Object
Autodesk.Revit.UI.ColorSelectionDialog
public class ColorSelectionDialog : IDisposable
| Name | Return Type | Description |
|---|---|---|
| ColorSelectionDialog() | None | Default constructor. |
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| Show() | ItemSelectionDialogResult | Shows the Revit Color dialog as a modal dialog. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| OriginalColor | Color | The original color. |
| SelectedColor | Color | The new color selected by the user. |