Krypton |
public class KryptonPalette : Component, IPalette
The KryptonPalette type exposes the following members.
| Name | Description | |
|---|---|---|
| KryptonPalette | Initialize a new instance of the KryptonPalette class. | |
| KryptonPalette(IContainer) | Initialize a new instance of the KryptonPalette class. |
| Name | Description | |
|---|---|---|
| BasePalette | Gets and sets the KryptonPalette used to inherit from. | |
| BasePaletteMode | Gets or sets the base palette used to inherit from. | |
| BaseRenderer | Gets and sets the custom renderer to be used with this palette. | |
| BaseRenderMode | Gets or sets the renderer used for drawing the palette. | |
| ButtonSpecs | Gets access to the button specifications. | |
| ButtonStyles | Gets access to the appearance for button styles. | |
| CalendarDay | Gets access to the appearance of the calendar day. | |
| CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component) | |
| Cargo | Gets access to the set of user supplied values. | |
| ColorTable | Gets access to the color table instance. | |
| Common | Gets access to the common appearance values. | |
| Container | Gets the IContainer that contains the Component. (Inherited from Component) | |
| ContextMenu | Gets access to the appearance for context menus. | |
| ControlStyles | Gets access to the appearance for control styles. | |
| DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component) | |
| DragDrop | Gets access to the appearance of drag and drop. | |
| Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component) | |
| FormCaptionHeight | ||
| FormMargin | ||
| FormStyles | Gets access to the appearance for form styles. | |
| HeaderGroup | Gets access to the HeaderGroup appearance entries. | |
| HeaderStyles | Gets access to the appearance for header styles. | |
| Images | Gets access to the images. | |
| InputControlStyles | Gets access to the input controls styles. | |
| LabelStyles | Gets access to the appearance for label styles. | |
| Navigator | Gets access to the Navigator appearance entries. | |
| NeedPaintDelegate | Gets access to the need paint delegate. | |
| PanelStyles | Gets access to the appearance for panel styles. | |
| Ribbon | Gets access to the appearance settings for ribbon. | |
| SeparatorStyles | Gets access to the appearance for separator styles. | |
| Site | Gets or sets the ISite of the Component. (Inherited from Component) | |
| TabStyles | Gets access to the appearance for tab styles. | |
| ToolMenuStatus | Gets access to the set of color table settings. | |
| TrackBar | Gets access to the appearance for the track bar. |
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by the Component. (Inherited from Component) | |
| Dispose(Boolean) |
Clean up any resources being used.
(Overrides ComponentDispose(Boolean)) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component) | |
| GetBackColor1 | Gets the first background color. | |
| GetBackColor2 | Gets the second back color. | |
| GetBackColorAlign | Gets the color alignment. | |
| GetBackColorAngle | Gets the color background angle. | |
| GetBackColorStyle | Gets the color background drawing style. | |
| GetBackDraw | Gets a value indicating if background should be drawn. | |
| GetBackGraphicsHint | Gets the graphics drawing hint for the background. | |
| GetBackImage | Gets a background image. | |
| GetBackImageAlign | Gets the image alignment. | |
| GetBackImageStyle | Gets the background image style. | |
| GetBorderColor1 | Gets the first border color. | |
| GetBorderColor2 | Gets the second border color. | |
| GetBorderColorAlign | Gets the color border alignment. | |
| GetBorderColorAngle | Gets the color border angle. | |
| GetBorderColorStyle | Gets the color border drawing style. | |
| GetBorderDraw | Gets a value indicating if border should be drawn. | |
| GetBorderDrawBorders | Gets a value indicating which borders to draw. | |
| GetBorderGraphicsHint | Gets the graphics drawing hint for the border. | |
| GetBorderImage | Gets a border image. | |
| GetBorderImageAlign | Gets the image border alignment. | |
| GetBorderImageStyle | Gets the border image style. | |
| GetBorderRounding | Gets the border corner rounding. | |
| GetBorderWidth | Gets the border width. | |
| GetButtonSpecColorMap | Gets the color to remap from the image to the container foreground. | |
| GetButtonSpecEdge | Gets the edge to positon the button against. | |
| GetButtonSpecIcon | Gets the icon to display for the button. | |
| GetButtonSpecImage | Gets the image to display for the button. | |
| GetButtonSpecImageTransparentColor | Gets the image transparent color. | |
| GetButtonSpecLocation | Get the location for the button. | |
| GetButtonSpecLongText | Gets the long text to display for the button. | |
| GetButtonSpecOrientation | Gets the button orientation. | |
| GetButtonSpecShortText | Gets the short text to display for the button. | |
| GetButtonSpecStyle | Gets the button style used for drawing the button. | |
| GetButtonSpecToolTipTitle | Gets the tooltip title text to display for the button. | |
| GetCheckBoxImage | Gets a check box image appropriate for the provided state. | |
| GetContentAdjacentGap | Gets the padding between adjacent content items. | |
| GetContentDraw | Gets a value indicating if content should be drawn. | |
| GetContentDrawFocus | Gets a value indicating if content should be drawn with focus indication. | |
| GetContentImageColorMap | Gets the image color to remap into another color. | |
| GetContentImageColorTo | Gets the color to use in place of the image map color. | |
| GetContentImageEffect | Gets the effect applied to drawing of the image. | |
| GetContentImageH | Gets the horizontal relative alignment of the image. | |
| GetContentImageV | Gets the vertical relative alignment of the image. | |
| GetContentLongTextColor1 | Gets the first back color for the long text. | |
| GetContentLongTextColor2 | Gets the second back color for the long text. | |
| GetContentLongTextColorAlign | Gets the color alignment for the long text. | |
| GetContentLongTextColorAngle | Gets the color background angle for the long text. | |
| GetContentLongTextColorStyle | Gets the color drawing style for the long text. | |
| GetContentLongTextFont | Gets the font for the long text. | |
| GetContentLongTextH | Gets the horizontal relative alignment of the long text. | |
| GetContentLongTextHint | Gets the rendering hint for the long text. | |
| GetContentLongTextImage | Gets a background image for the long text. | |
| GetContentLongTextImageAlign | Gets the image alignment for the long text. | |
| GetContentLongTextImageStyle | Gets the background image style for the long text. | |
| GetContentLongTextMultiLine | Gets the flag indicating if multiline text is allowed for long text. | |
| GetContentLongTextMultiLineH | Gets the horizontal relative alignment of multiline long text. | |
| GetContentLongTextNewFont | Gets the font for the long text by generating a new font instance. | |
| GetContentLongTextPrefix | Gets the prefix drawing setting for long text. | |
| GetContentLongTextTrim | Gets the text trimming to use for long text. | |
| GetContentLongTextV | Gets the vertical relative alignment of the long text. | |
| GetContentPadding | Gets the padding between the border and content drawing. | |
| GetContentShortTextColor1 | Gets the first back color for the short text. | |
| GetContentShortTextColor2 | Gets the second back color for the short text. | |
| GetContentShortTextColorAlign | Gets the color alignment for the short text. | |
| GetContentShortTextColorAngle | Gets the color background angle for the short text. | |
| GetContentShortTextColorStyle | Gets the color drawing style for the short text. | |
| GetContentShortTextFont | Gets the font for the short text. | |
| GetContentShortTextH | Gets the horizontal relative alignment of the short text. | |
| GetContentShortTextHint | Gets the rendering hint for the short text. | |
| GetContentShortTextImage | Gets a background image for the short text. | |
| GetContentShortTextImageAlign | Gets the image alignment for the short text. | |
| GetContentShortTextImageStyle | Gets the background image style. | |
| GetContentShortTextMultiLine | Gets the flag indicating if multiline text is allowed for short text. | |
| GetContentShortTextMultiLineH | Gets the horizontal relative alignment of multiline short text. | |
| GetContentShortTextNewFont | Gets the font for the short text by generating a new font instance. | |
| GetContentShortTextPrefix | Gets the prefix drawing setting for short text. | |
| GetContentShortTextTrim | Gets the text trimming to use for short text. | |
| GetContentShortTextV | Gets the vertical relative alignment of the short text. | |
| GetContextMenuCheckedImage | Gets a checked image appropriate for a context menu item. | |
| GetContextMenuIndeterminateImage | Gets a indeterminate image appropriate for a context menu item. | |
| GetContextMenuSubMenuImage | Gets an image indicating a sub-menu on a context menu item. | |
| GetDragDropDockActive | Gets the active color for docking indicators. | |
| GetDragDropDockBack | Gets the background color for the docking indicators area. | |
| GetDragDropDockBorder | Gets the border color for the docking indicators area. | |
| GetDragDropDockInactive | Gets the inactive color for docking indicators. | |
| GetDragDropFeedback | Gets the feedback drawing method used. | |
| GetDragDropSolidBack | Gets the background color for a solid drag drop area. | |
| GetDragDropSolidBorder | Gets the border color for a solid drag drop area. | |
| GetDragDropSolidOpacity | Gets the opacity of the solid area. | |
| GetDropDownButtonImage | Gets a drop down button image appropriate for the provided state. | |
| GetElementColor1 | Gets the first element color. | |
| GetElementColor2 | Gets the second element color. | |
| GetElementColor3 | Gets the third element color. | |
| GetElementColor4 | Gets the fourth element color. | |
| GetElementColor5 | Gets the fifth element color. | |
| GetFormCaptionHeight | ||
| GetFormMargin | ||
| GetGalleryButtonImage | Gets a check box image appropriate for the provided state. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject) Obsolete | |
| GetMetricBool | Gets a boolean metric value. | |
| GetMetricInt | Gets an integer metric value. | |
| GetMetricPadding | Gets a padding metric value. | |
| GetRadioButtonImage | Gets a check box image appropriate for the provided state. | |
| GetRenderer | Gets the renderer to use for this palette. | |
| GetRibbonBackColor1 | Gets the first background color for the ribbon item. | |
| GetRibbonBackColor2 | Gets the second background color for the ribbon item. | |
| GetRibbonBackColor3 | Gets the third background color for the ribbon item. | |
| GetRibbonBackColor4 | Gets the fourth background color for the ribbon item. | |
| GetRibbonBackColor5 | Gets the fifth background color for the ribbon item. | |
| GetRibbonBackColorStyle | Gets the method used to draw the background of a ribbon item. | |
| GetRibbonContextTextAlign | Gets the text alignment for the ribbon context text. | |
| GetRibbonContextTextColor | Gets the color for the ribbon context text. | |
| GetRibbonContextTextFont | Gets the font for the ribbon context text. | |
| GetRibbonDisabledDark | Gets the dark disabled color used for ribbon glyphs. | |
| GetRibbonDisabledLight | Gets the light disabled color used for ribbon glyphs. | |
| GetRibbonDropArrowDark | Gets the color for the drop arrow dark. | |
| GetRibbonDropArrowLight | Gets the color for the drop arrow light. | |
| GetRibbonGroupDialogDark | Gets the color for the dialog launcher dark. | |
| GetRibbonGroupDialogLight | Gets the color for the dialog launcher light. | |
| GetRibbonGroupSeparatorDark | Gets the color for the group separator dark. | |
| GetRibbonGroupSeparatorLight | Gets the color for the group separator light. | |
| GetRibbonMinimizeBarDark | Gets the color for the minimize bar dark. | |
| GetRibbonMinimizeBarLight | Gets the color for the minimize bar light. | |
| GetRibbonQATButtonDark | Gets the color for the extra QAT button dark content color. | |
| GetRibbonQATButtonLight | Gets the color for the extra QAT button light content color. | |
| GetRibbonShape | Gets the ribbon shape that should be used. | |
| GetRibbonTabSeparatorColor | Gets the color for the tab separator. | |
| GetRibbonTabSeparatorContextColor | Gets the color for the tab context separators. | |
| GetRibbonTextColor | Gets the tab color for the item text. | |
| GetRibbonTextFont | Gets the font for the ribbon text. | |
| GetRibbonTextHint | Gets the rendering hint for the ribbon font. | |
| GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component) | |
| GetTreeViewImage | Gets a tree view image appropriate for the provided state. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject) Obsolete | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject) | |
| OnAllowFormChromeChanged | Raises the AllowFormChromeChanged event. | |
| OnAllowOnePixelBorderChanged | ||
| OnBasePaletteChanged | Raises the BasePaletteChanged event. | |
| OnBaseRendererChanged | Raises the BaseRendererChanged event. | |
| OnButtonSpecChanged | Raises the ButtonSpecChanged event. | |
| OnFormCaptionHeightChanged | ||
| OnFormMarginChanged | ||
| OnPalettePaint | Raises the PalettePaint event. | |
| PopulateFromBase | Populate values from the base palette. | |
| ResetBasePalette | Resets the BasePalette property to its default value. | |
| ResetBasePaletteMode | Resets the BasePaletteMode property to its default value. | |
| ResetBaseRendererMode | Resets the BaseRendererMode property to its default value. | |
| ResetToDefaults | Reset all palettes values back to defaults. | |
| ResumeUpdates | Resume the notification of drawing updates when palette values are changed. | |
| ResumeUpdates(Boolean) | Resume the notification of drawing updates when palette values are changed. | |
| SuspendUpdates | Suspend the notification of drawing updates when palette values are changed. | |
| ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component) |
| Name | Description | |
|---|---|---|
| AllowFormChromeChanged | Occurs when the AllowFormChrome setting changes. | |
| BasePaletteChanged | Occurs when the BasePalette/BasePaletteMode setting changes. | |
| BaseRendererChanged | Occurs when the BaseRenderer/BaseRendererMode setting changes. | |
| ButtonSpecChanged | Occurs when a button spec change occurs. | |
| Disposed | Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component) | |
| PalettePaint | Occurs when a palette change requires a repaint. |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |