Click or drag to resize

KryptonPalette Class

Define and modify a palette for styling Krypton controls.
Inheritance Hierarchy

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public class KryptonPalette : Component, 
	IPalette

The KryptonPalette type exposes the following members.

Constructors
  NameDescription
Public methodKryptonPalette
Initialize a new instance of the KryptonPalette class.
Public methodKryptonPalette(IContainer)
Initialize a new instance of the KryptonPalette class.
Top
Properties
  NameDescription
Public propertyBasePalette
Gets and sets the KryptonPalette used to inherit from.
Public propertyBasePaletteMode
Gets or sets the base palette used to inherit from.
Public propertyBaseRenderer
Gets and sets the custom renderer to be used with this palette.
Public propertyBaseRenderMode
Gets or sets the renderer used for drawing the palette.
Public propertyButtonSpecs
Gets access to the button specifications.
Public propertyButtonStyles
Gets access to the appearance for button styles.
Public propertyCalendarDay
Gets access to the appearance of the calendar day.
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyCargo
Gets access to the set of user supplied values.
Public propertyColorTable
Gets access to the color table instance.
Public propertyCommon
Gets access to the common appearance values.
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyContextMenu
Gets access to the appearance for context menus.
Public propertyControlStyles
Gets access to the appearance for control styles.
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Public propertyDragDrop
Gets access to the appearance of drag and drop.
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyFormCaptionHeight
Public propertyFormMargin
Public propertyFormStyles
Gets access to the appearance for form styles.
Public propertyHeaderGroup
Gets access to the HeaderGroup appearance entries.
Public propertyHeaderStyles
Gets access to the appearance for header styles.
Public propertyImages
Gets access to the images.
Public propertyInputControlStyles
Gets access to the input controls styles.
Public propertyLabelStyles
Gets access to the appearance for label styles.
Public propertyNavigator
Gets access to the Navigator appearance entries.
Protected propertyNeedPaintDelegate
Gets access to the need paint delegate.
Public propertyPanelStyles
Gets access to the appearance for panel styles.
Public propertyRibbon
Gets access to the appearance settings for ribbon.
Public propertySeparatorStyles
Gets access to the appearance for separator styles.
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertyTabStyles
Gets access to the appearance for tab styles.
Public propertyToolMenuStatus
Gets access to the set of color table settings.
Public propertyTrackBar
Gets access to the appearance for the track bar.
Top
Methods
  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Overrides ComponentDispose(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Public methodGetBackColor1
Gets the first background color.
Public methodGetBackColor2
Gets the second back color.
Public methodGetBackColorAlign
Gets the color alignment.
Public methodGetBackColorAngle
Gets the color background angle.
Public methodGetBackColorStyle
Gets the color background drawing style.
Public methodGetBackDraw
Gets a value indicating if background should be drawn.
Public methodGetBackGraphicsHint
Gets the graphics drawing hint for the background.
Public methodGetBackImage
Gets a background image.
Public methodGetBackImageAlign
Gets the image alignment.
Public methodGetBackImageStyle
Gets the background image style.
Public methodGetBorderColor1
Gets the first border color.
Public methodGetBorderColor2
Gets the second border color.
Public methodGetBorderColorAlign
Gets the color border alignment.
Public methodGetBorderColorAngle
Gets the color border angle.
Public methodGetBorderColorStyle
Gets the color border drawing style.
Public methodGetBorderDraw
Gets a value indicating if border should be drawn.
Public methodGetBorderDrawBorders
Gets a value indicating which borders to draw.
Public methodGetBorderGraphicsHint
Gets the graphics drawing hint for the border.
Public methodGetBorderImage
Gets a border image.
Public methodGetBorderImageAlign
Gets the image border alignment.
Public methodGetBorderImageStyle
Gets the border image style.
Public methodGetBorderRounding
Gets the border corner rounding.
Public methodGetBorderWidth
Gets the border width.
Public methodGetButtonSpecColorMap
Gets the color to remap from the image to the container foreground.
Public methodGetButtonSpecEdge
Gets the edge to positon the button against.
Public methodGetButtonSpecIcon
Gets the icon to display for the button.
Public methodGetButtonSpecImage
Gets the image to display for the button.
Public methodGetButtonSpecImageTransparentColor
Gets the image transparent color.
Public methodGetButtonSpecLocation
Get the location for the button.
Public methodGetButtonSpecLongText
Gets the long text to display for the button.
Public methodGetButtonSpecOrientation
Gets the button orientation.
Public methodGetButtonSpecShortText
Gets the short text to display for the button.
Public methodGetButtonSpecStyle
Gets the button style used for drawing the button.
Public methodGetButtonSpecToolTipTitle
Gets the tooltip title text to display for the button.
Public methodGetCheckBoxImage
Gets a check box image appropriate for the provided state.
Public methodGetContentAdjacentGap
Gets the padding between adjacent content items.
Public methodGetContentDraw
Gets a value indicating if content should be drawn.
Public methodGetContentDrawFocus
Gets a value indicating if content should be drawn with focus indication.
Public methodGetContentImageColorMap
Gets the image color to remap into another color.
Public methodGetContentImageColorTo
Gets the color to use in place of the image map color.
Public methodGetContentImageEffect
Gets the effect applied to drawing of the image.
Public methodGetContentImageH
Gets the horizontal relative alignment of the image.
Public methodGetContentImageV
Gets the vertical relative alignment of the image.
Public methodGetContentLongTextColor1
Gets the first back color for the long text.
Public methodGetContentLongTextColor2
Gets the second back color for the long text.
Public methodGetContentLongTextColorAlign
Gets the color alignment for the long text.
Public methodGetContentLongTextColorAngle
Gets the color background angle for the long text.
Public methodGetContentLongTextColorStyle
Gets the color drawing style for the long text.
Public methodGetContentLongTextFont
Gets the font for the long text.
Public methodGetContentLongTextH
Gets the horizontal relative alignment of the long text.
Public methodGetContentLongTextHint
Gets the rendering hint for the long text.
Public methodGetContentLongTextImage
Gets a background image for the long text.
Public methodGetContentLongTextImageAlign
Gets the image alignment for the long text.
Public methodGetContentLongTextImageStyle
Gets the background image style for the long text.
Public methodGetContentLongTextMultiLine
Gets the flag indicating if multiline text is allowed for long text.
Public methodGetContentLongTextMultiLineH
Gets the horizontal relative alignment of multiline long text.
Public methodGetContentLongTextNewFont
Gets the font for the long text by generating a new font instance.
Public methodGetContentLongTextPrefix
Gets the prefix drawing setting for long text.
Public methodGetContentLongTextTrim
Gets the text trimming to use for long text.
Public methodGetContentLongTextV
Gets the vertical relative alignment of the long text.
Public methodGetContentPadding
Gets the padding between the border and content drawing.
Public methodGetContentShortTextColor1
Gets the first back color for the short text.
Public methodGetContentShortTextColor2
Gets the second back color for the short text.
Public methodGetContentShortTextColorAlign
Gets the color alignment for the short text.
Public methodGetContentShortTextColorAngle
Gets the color background angle for the short text.
Public methodGetContentShortTextColorStyle
Gets the color drawing style for the short text.
Public methodGetContentShortTextFont
Gets the font for the short text.
Public methodGetContentShortTextH
Gets the horizontal relative alignment of the short text.
Public methodGetContentShortTextHint
Gets the rendering hint for the short text.
Public methodGetContentShortTextImage
Gets a background image for the short text.
Public methodGetContentShortTextImageAlign
Gets the image alignment for the short text.
Public methodGetContentShortTextImageStyle
Gets the background image style.
Public methodGetContentShortTextMultiLine
Gets the flag indicating if multiline text is allowed for short text.
Public methodGetContentShortTextMultiLineH
Gets the horizontal relative alignment of multiline short text.
Public methodGetContentShortTextNewFont
Gets the font for the short text by generating a new font instance.
Public methodGetContentShortTextPrefix
Gets the prefix drawing setting for short text.
Public methodGetContentShortTextTrim
Gets the text trimming to use for short text.
Public methodGetContentShortTextV
Gets the vertical relative alignment of the short text.
Public methodGetContextMenuCheckedImage
Gets a checked image appropriate for a context menu item.
Public methodGetContextMenuIndeterminateImage
Gets a indeterminate image appropriate for a context menu item.
Public methodGetContextMenuSubMenuImage
Gets an image indicating a sub-menu on a context menu item.
Public methodGetDragDropDockActive
Gets the active color for docking indicators.
Public methodGetDragDropDockBack
Gets the background color for the docking indicators area.
Public methodGetDragDropDockBorder
Gets the border color for the docking indicators area.
Public methodGetDragDropDockInactive
Gets the inactive color for docking indicators.
Public methodGetDragDropFeedback
Gets the feedback drawing method used.
Public methodGetDragDropSolidBack
Gets the background color for a solid drag drop area.
Public methodGetDragDropSolidBorder
Gets the border color for a solid drag drop area.
Public methodGetDragDropSolidOpacity
Gets the opacity of the solid area.
Public methodGetDropDownButtonImage
Gets a drop down button image appropriate for the provided state.
Public methodGetElementColor1
Gets the first element color.
Public methodGetElementColor2
Gets the second element color.
Public methodGetElementColor3
Gets the third element color.
Public methodGetElementColor4
Gets the fourth element color.
Public methodGetElementColor5
Gets the fifth element color.
Public methodGetFormCaptionHeight
Public methodGetFormMargin
Public methodGetGalleryButtonImage
Gets a check box image appropriate for the provided state.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetMetricBool
Gets a boolean metric value.
Public methodGetMetricInt
Gets an integer metric value.
Public methodGetMetricPadding
Gets a padding metric value.
Public methodGetRadioButtonImage
Gets a check box image appropriate for the provided state.
Public methodGetRenderer
Gets the renderer to use for this palette.
Public methodGetRibbonBackColor1
Gets the first background color for the ribbon item.
Public methodGetRibbonBackColor2
Gets the second background color for the ribbon item.
Public methodGetRibbonBackColor3
Gets the third background color for the ribbon item.
Public methodGetRibbonBackColor4
Gets the fourth background color for the ribbon item.
Public methodGetRibbonBackColor5
Gets the fifth background color for the ribbon item.
Public methodGetRibbonBackColorStyle
Gets the method used to draw the background of a ribbon item.
Public methodGetRibbonContextTextAlign
Gets the text alignment for the ribbon context text.
Public methodGetRibbonContextTextColor
Gets the color for the ribbon context text.
Public methodGetRibbonContextTextFont
Gets the font for the ribbon context text.
Public methodGetRibbonDisabledDark
Gets the dark disabled color used for ribbon glyphs.
Public methodGetRibbonDisabledLight
Gets the light disabled color used for ribbon glyphs.
Public methodGetRibbonDropArrowDark
Gets the color for the drop arrow dark.
Public methodGetRibbonDropArrowLight
Gets the color for the drop arrow light.
Public methodGetRibbonGroupDialogDark
Gets the color for the dialog launcher dark.
Public methodGetRibbonGroupDialogLight
Gets the color for the dialog launcher light.
Public methodGetRibbonGroupSeparatorDark
Gets the color for the group separator dark.
Public methodGetRibbonGroupSeparatorLight
Gets the color for the group separator light.
Public methodGetRibbonMinimizeBarDark
Gets the color for the minimize bar dark.
Public methodGetRibbonMinimizeBarLight
Gets the color for the minimize bar light.
Public methodGetRibbonQATButtonDark
Gets the color for the extra QAT button dark content color.
Public methodGetRibbonQATButtonLight
Gets the color for the extra QAT button light content color.
Public methodGetRibbonShape
Gets the ribbon shape that should be used.
Public methodGetRibbonTabSeparatorColor
Gets the color for the tab separator.
Public methodGetRibbonTabSeparatorContextColor
Gets the color for the tab context separators.
Public methodGetRibbonTextColor
Gets the tab color for the item text.
Public methodGetRibbonTextFont
Gets the font for the ribbon text.
Public methodGetRibbonTextHint
Gets the rendering hint for the ribbon font.
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public methodGetTreeViewImage
Gets a tree view image appropriate for the provided state.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnAllowFormChromeChanged
Raises the AllowFormChromeChanged event.
Protected methodOnAllowOnePixelBorderChanged
Protected methodOnBasePaletteChanged
Raises the BasePaletteChanged event.
Protected methodOnBaseRendererChanged
Raises the BaseRendererChanged event.
Protected methodOnButtonSpecChanged
Raises the ButtonSpecChanged event.
Protected methodOnFormCaptionHeightChanged
Protected methodOnFormMarginChanged
Protected methodOnPalettePaint
Raises the PalettePaint event.
Public methodPopulateFromBase
Populate values from the base palette.
Public methodResetBasePalette
Resets the BasePalette property to its default value.
Public methodResetBasePaletteMode
Resets the BasePaletteMode property to its default value.
Public methodResetBaseRendererMode
Resets the BaseRendererMode property to its default value.
Public methodResetToDefaults
Reset all palettes values back to defaults.
Public methodResumeUpdates
Resume the notification of drawing updates when palette values are changed.
Public methodResumeUpdates(Boolean)
Resume the notification of drawing updates when palette values are changed.
Public methodSuspendUpdates
Suspend the notification of drawing updates when palette values are changed.
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Top
Events
  NameDescription
Public eventAllowFormChromeChanged
Occurs when the AllowFormChrome setting changes.
Public eventBasePaletteChanged
Occurs when the BasePalette/BasePaletteMode setting changes.
Public eventBaseRendererChanged
Occurs when the BaseRenderer/BaseRendererMode setting changes.
Public eventButtonSpecChanged
Occurs when a button spec change occurs.
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)
Public eventPalettePaint
Occurs when a palette change requires a repaint.
Top
Extension Methods
See Also