Class RadialColorPalette
Advanced RadialColorPalette with color items
Inheritance
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class RadialColorPalette : Control, IRadialMenuItem
Constructors
RadialColorPalette()
Initializes the new instance for RadialColorPalette class.
Declaration
public RadialColorPalette()
Properties
BackColor
Overrides the BackColor property.
Declaration
public override Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BackgroundImage
Overrides the BackgroundImage.
Declaration
public override Image BackgroundImage { get; set; }
Property Value
Type |
---|
System.Drawing.Image |
ColorPaletteItemCollection
Gets or sets the value to the ColorPaletteItemCollection.
Declaration
public ColorSpecialItems ColorPaletteItemCollection { get; }
Property Value
Type |
---|
ColorSpecialItems |
ContextMenuStrip
Overrides the ContextMenuStrip.
Declaration
public override ContextMenuStrip ContextMenuStrip { get; set; }
Property Value
Type |
---|
System.Windows.Forms.ContextMenuStrip |
Dock
Overrides the Dock property.
Declaration
public override DockStyle Dock { get; set; }
Property Value
Type |
---|
System.Windows.Forms.DockStyle |
ImageIndex
Gets or sets the value associated with the ImageIndex.
Declaration
public int ImageIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
ImageSize
Gets or sets the image size of the RadialColorPalette.
Declaration
public Size ImageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Size | The System.Drawing.Size that defines the height and width, in pixels, to draw the image in RadialColorPalette. The default size is 24 by 24. |
Remarks
If the ImageSize is defined, setting the
See Also
Index
Gets or sets the value associated with the Index.
Declaration
public int Index { get; set; }
Property Value
Type |
---|
System.Int32 |
ItemBackColor
Gets or sets the value associated with the ItemBackColor.
Declaration
public Color ItemBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
RightToLeft
Overrides the RightToLeft.
Declaration
public override RightToLeft RightToLeft { get; set; }
Property Value
Type |
---|
System.Windows.Forms.RightToLeft |
Methods
BlackColorCollection()
Initializes the BlackColorCollection.
Declaration
public void BlackColorCollection()
BlueColorCollection()
Initializes the BlueColorCollection.
Declaration
public void BlueColorCollection()
GreenColorCollection()
Initializes the GreenColorCollection.
Declaration
public void GreenColorCollection()
RedColorCollection()
Initializes the RedColorCollection.
Declaration
public void RedColorCollection()
ResetImageIndex()
Resets the ImageIndex
Declaration
public void ResetImageIndex()
ResetIndex()
Resets the Index
Declaration
public void ResetIndex()
ResetItemBackColor()
Resets the ItemBackColor
Declaration
public void ResetItemBackColor()
SetDisabledColor(Color)
Set the backcolor of the item for disable mode.
Declaration
public void SetDisabledColor(Color disabledColor)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | disabledColor | Color |
YellowColorCollection()
Initializes the YellowColorCollection.
Declaration
public void YellowColorCollection()
Events
ColorPaletteColorChanged
Event for ColorPaletteColorChanged.
Declaration
public event ColorChanged ColorPaletteColorChanged
Event Type
Type |
---|
ColorChanged |
NextMenuOpened
NextLevelOpened event for RadialColorPalette.
Declaration
public event RadialColorPalette.NextLevelOpened NextMenuOpened
Event Type
Type |
---|
RadialColorPalette.NextLevelOpened |
NextMenuOpening
NextLevelOpening event for RadialColorPalette.
Declaration
public event RadialColorPalette.NextLevelOpening NextMenuOpening
Event Type
Type |
---|
RadialColorPalette.NextLevelOpening |
PreviousMenuLevelOpened
PreviousLevelOpened event for RadialColorPalette.
Declaration
public event RadialColorPalette.PreviousLevelOpened PreviousMenuLevelOpened
Event Type
Type |
---|
RadialColorPalette.PreviousLevelOpened |
PreviousMenuOpening
PreviousMenuLevelOpening event for RadialColorPalette.
Declaration
public event RadialColorPalette.PreviousMenuLevelOpening PreviousMenuOpening
Event Type
Type |
---|
RadialColorPalette.PreviousMenuLevelOpening |