Version

RadialMenuColorTool Class

A button tool that maintains a selected Color.
Syntax
'Declaration
 
Public Class RadialMenuColorTool 
   Inherits RadialMenuColorToolBase
   Implements Infragistics.Shared.IKeyedSubObject, Infragistics.Shared.IKeyedSubObjectEx 
public class RadialMenuColorTool : RadialMenuColorToolBase, Infragistics.Shared.IKeyedSubObject, Infragistics.Shared.IKeyedSubObjectEx  
Remarks

The RadialMenuColorTool displays like a normal RadialMenuTool with an image and text. In addition to all of the normal RadialMenuTool functionality, the Color Tool maintains a selected Color property.

If the parent of a RadialMenuColorToolBase is a RadialMenuColorToolBase, then the child RadialMenuColorToolBase will attempt to set the parent RadialMenuColorToolBase's Color to it's selected Color any time the Color property of the child RadialMenuColorToolBase is changed, or the RadialMenuTool.Checked property of the child RadialMenuColorToolBase is set to true. To set the Color of a RadialMenuColorTool without affecting the parent tool, use the RadialMenuColorToolBase.SetColor method and specify false for 'synchParentToolIfNeeded'.

The ToolSettings.ColorToolReplaceableColor property allows you to specify which color (if any) within the image of the tool that will be replaced by the currently selected color.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also