Click or drag to resize

PaletteBase Class

Provides base class implementation for palettes.
Inheritance Hierarchy

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public abstract class PaletteBase : Component, 
	IPalette

The PaletteBase type exposes the following members.

Constructors
  NameDescription
Public methodPaletteBase
Initialize a new instance of the PaletteBase class.
Top
Properties
  NameDescription
Public propertyBaseFontSize
Gets and sets the base font size used when defining fonts.
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyColorTable
Gets access to the color table instance.
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Protected propertyInputControlPadding
Gets the input control padding needed to add a border to a borderless input control.
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
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.)
Protected methodDefineFonts
Update the fonts to reflect system or user defined changes.
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
(Inherited from Component.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberFadedColor
Create a faded version of provided color.
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Public methodGetAllowFormChrome
Gets a value indicating if KryptonForm instances should show custom chrome.
Public methodGetAllowOnePixelBorder
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 methodGetButtonSpecColorTransparent
Gets the color to remap to transparent.
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 methodGetContentImageColorTransparent
Gets the image color that should be transparent.
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.)
Public methodStatic memberMergeColors(Color, Single, Color, Single)
Merge two colors together using relative percentages.
Public methodStatic memberMergeColors(Color, Single, Color, Single, Color, Single)
Merge three colors together using relative percentages.
Protected methodOnAllowFormChromeChanged
Raises the AllowFormChromeChanged event.
Protected methodOnBasePaletteChanged
Raises the BasePaletteChanged event.
Protected methodOnBaseRendererChanged
Raises the BaseRendererChanged event.
Protected methodOnButtonSpecChanged
Raises the ButtonSpecChanged event.
Protected methodOnPalettePaint
Raises the PalettePaint event.
Protected methodOnUserPreferenceChanged
Handle a change in the user preferences.
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