WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RadialColorPalette

    Show / Hide Table of Contents

    Class RadialColorPalette

    Advanced RadialColorPalette with color items

    Inheritance
    System.Object
    RadialColorPalette
    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 Description
    System.Drawing.Color

    BackgroundImage

    Overrides the BackgroundImage.

    Declaration
    public override Image BackgroundImage { get; set; }
    Property Value
    Type Description
    System.Drawing.Image

    ColorPaletteItemCollection

    Gets or sets the value to the ColorPaletteItemCollection.

    Declaration
    public ColorSpecialItems ColorPaletteItemCollection { get; }
    Property Value
    Type Description
    ColorSpecialItems

    ContextMenuStrip

    Overrides the ContextMenuStrip.

    Declaration
    public override ContextMenuStrip ContextMenuStrip { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.ContextMenuStrip

    Dock

    Overrides the Dock property.

    Declaration
    public override DockStyle Dock { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.DockStyle

    ImageIndex

    Gets or sets the value associated with the ImageIndex.

    Declaration
    public int ImageIndex { get; set; }
    Property Value
    Type Description
    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 property has no effect for particular radial menu item.

    See Also
    MenuItemImageSize

    Index

    Gets or sets the value associated with the Index.

    Declaration
    public int Index { get; set; }
    Property Value
    Type Description
    System.Int32

    ItemBackColor

    Gets or sets the value associated with the ItemBackColor.

    Declaration
    public Color ItemBackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    RightToLeft

    Overrides the RightToLeft.

    Declaration
    public override RightToLeft RightToLeft { get; set; }
    Property Value
    Type Description
    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 Description
    ColorChanged

    NextMenuOpened

    NextLevelOpened event for RadialColorPalette.

    Declaration
    public event RadialColorPalette.NextLevelOpened NextMenuOpened
    Event Type
    Type Description
    RadialColorPalette.NextLevelOpened

    NextMenuOpening

    NextLevelOpening event for RadialColorPalette.

    Declaration
    public event RadialColorPalette.NextLevelOpening NextMenuOpening
    Event Type
    Type Description
    RadialColorPalette.NextLevelOpening

    PreviousMenuLevelOpened

    PreviousLevelOpened event for RadialColorPalette.

    Declaration
    public event RadialColorPalette.PreviousLevelOpened PreviousMenuLevelOpened
    Event Type
    Type Description
    RadialColorPalette.PreviousLevelOpened

    PreviousMenuOpening

    PreviousMenuLevelOpening event for RadialColorPalette.

    Declaration
    public event RadialColorPalette.PreviousMenuLevelOpening PreviousMenuOpening
    Event Type
    Type Description
    RadialColorPalette.PreviousMenuLevelOpening
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved