This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IC > IColorPalette Interface > IColorPalette.TrackPopupMenu Method (ArcObjects .NET 10.5 SDK) |
Show Color Palette.
[Visual Basic .NET] Public Function TrackPopupMenu ( _ ByRef rect As tagRECT, _ ByVal currentColor As IColor, _ ByVal orientation As Boolean, _ ByVal hParentWnd As Integer _ ) As Boolean
[C#] public bool TrackPopupMenu ( ref tagRECT rect, ref IColor currentColor, ref bool orientation, ref int hParentWnd );
The TrackPopupMenu method displays the ColorPalette dialog on the screen.
The TrackPopupMenu method controls the display of the palette with four parameters.