C# Class ComponentFactory.Krypton.Toolkit.PaletteBase

Inheritance: System.ComponentModel.Component, IPalette
Afficher le fichier Open project: ComponentFactory/Krypton

Méthodes publiques

Méthode Description
FadedColor ( Color baseColor ) : Color

Create a faded version of provided color.

GetAllowFormChrome ( ) : InheritBool

Gets a value indicating if KryptonForm instances should show custom chrome.

GetBackColor1 ( PaletteBackStyle style, PaletteState state ) : Color

Gets the first background color.

GetBackColor2 ( PaletteBackStyle style, PaletteState state ) : Color

Gets the second back color.

GetBackColorAlign ( PaletteBackStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the color alignment.

GetBackColorAngle ( PaletteBackStyle style, PaletteState state ) : float

Gets the color background angle.

GetBackColorStyle ( PaletteBackStyle style, PaletteState state ) : PaletteColorStyle

Gets the color background drawing style.

GetBackDraw ( PaletteBackStyle style, PaletteState state ) : InheritBool

Gets a value indicating if background should be drawn.

GetBackGraphicsHint ( PaletteBackStyle style, PaletteState state ) : PaletteGraphicsHint

Gets the graphics drawing hint for the background.

GetBackImage ( PaletteBackStyle style, PaletteState state ) : Image

Gets a background image.

GetBackImageAlign ( PaletteBackStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the image alignment.

GetBackImageStyle ( PaletteBackStyle style, PaletteState state ) : PaletteImageStyle

Gets the background image style.

GetBorderColor1 ( PaletteBorderStyle style, PaletteState state ) : Color

Gets the first border color.

GetBorderColor2 ( PaletteBorderStyle style, PaletteState state ) : Color

Gets the second border color.

GetBorderColorAlign ( PaletteBorderStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the color border alignment.

GetBorderColorAngle ( PaletteBorderStyle style, PaletteState state ) : float

Gets the color border angle.

GetBorderColorStyle ( PaletteBorderStyle style, PaletteState state ) : PaletteColorStyle

Gets the color border drawing style.

GetBorderDraw ( PaletteBorderStyle style, PaletteState state ) : InheritBool

Gets a value indicating if border should be drawn.

GetBorderDrawBorders ( PaletteBorderStyle style, PaletteState state ) : PaletteDrawBorders

Gets a value indicating which borders to draw.

GetBorderGraphicsHint ( PaletteBorderStyle style, PaletteState state ) : PaletteGraphicsHint

Gets the graphics drawing hint for the border.

GetBorderImage ( PaletteBorderStyle style, PaletteState state ) : Image

Gets a border image.

GetBorderImageAlign ( PaletteBorderStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the image border alignment.

GetBorderImageStyle ( PaletteBorderStyle style, PaletteState state ) : PaletteImageStyle

Gets the border image style.

GetBorderRounding ( PaletteBorderStyle style, PaletteState state ) : int

Gets the border corner rounding.

GetBorderWidth ( PaletteBorderStyle style, PaletteState state ) : int

Gets the border width.

GetButtonSpecColorMap ( PaletteButtonSpecStyle style ) : Color

Gets the color to remap from the image to the container foreground.

GetButtonSpecColorTransparent ( PaletteButtonSpecStyle style ) : Color

Gets the color to remap to transparent.

GetButtonSpecEdge ( PaletteButtonSpecStyle style ) : PaletteRelativeEdgeAlign

Gets the edge to positon the button against.

GetButtonSpecIcon ( PaletteButtonSpecStyle style ) : Icon

Gets the icon to display for the button.

GetButtonSpecImage ( PaletteButtonSpecStyle style, PaletteState state ) : Image

Gets the image to display for the button.

GetButtonSpecImageTransparentColor ( PaletteButtonSpecStyle style ) : Color

Gets the image transparent color.

GetButtonSpecLocation ( PaletteButtonSpecStyle style ) : HeaderLocation

Get the location for the button.

GetButtonSpecLongText ( PaletteButtonSpecStyle style ) : string

Gets the long text to display for the button.

GetButtonSpecOrientation ( PaletteButtonSpecStyle style ) : PaletteButtonOrientation

Gets the button orientation.

GetButtonSpecShortText ( PaletteButtonSpecStyle style ) : string

Gets the short text to display for the button.

GetButtonSpecStyle ( PaletteButtonSpecStyle style ) : PaletteButtonStyle

Gets the button style used for drawing the button.

GetButtonSpecToolTipTitle ( PaletteButtonSpecStyle style ) : string

Gets the tooltip title text to display for the button.

GetCheckBoxImage ( bool enabled, CheckState checkState, bool tracking, bool pressed ) : Image

Gets a check box image appropriate for the provided state.

GetContentAdjacentGap ( PaletteContentStyle style, PaletteState state ) : int

Gets the padding between adjacent content items.

GetContentDraw ( PaletteContentStyle style, PaletteState state ) : InheritBool

Gets a value indicating if content should be drawn.

GetContentDrawFocus ( PaletteContentStyle style, PaletteState state ) : InheritBool

Gets a value indicating if content should be drawn with focus indication.

GetContentImageColorMap ( PaletteContentStyle style, PaletteState state ) : Color

Gets the image color to remap into another color.

GetContentImageColorTo ( PaletteContentStyle style, PaletteState state ) : Color

Gets the color to use in place of the image map color.

GetContentImageColorTransparent ( PaletteContentStyle style, PaletteState state ) : Color

Gets the image color that should be transparent.

GetContentImageEffect ( PaletteContentStyle style, PaletteState state ) : PaletteImageEffect

Gets the effect applied to drawing of the image.

GetContentImageH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the horizontal relative alignment of the image.

GetContentImageV ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the vertical relative alignment of the image.

GetContentLongTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color

Gets the first back color for the long text.

GetContentLongTextColor2 ( PaletteContentStyle style, PaletteState state ) : Color

Gets the second back color for the long text.

GetContentLongTextColorAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the color alignment for the long text.

GetContentLongTextColorAngle ( PaletteContentStyle style, PaletteState state ) : float

Gets the color background angle for the long text.

GetContentLongTextColorStyle ( PaletteContentStyle style, PaletteState state ) : PaletteColorStyle

Gets the color drawing style for the long text.

GetContentLongTextFont ( PaletteContentStyle style, PaletteState state ) : Font

Gets the font for the long text.

GetContentLongTextH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the horizontal relative alignment of the long text.

GetContentLongTextHint ( PaletteContentStyle style, PaletteState state ) : PaletteTextHint

Gets the rendering hint for the long text.

GetContentLongTextImage ( PaletteContentStyle style, PaletteState state ) : Image

Gets a background image for the long text.

GetContentLongTextImageAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the image alignment for the long text.

GetContentLongTextImageStyle ( PaletteContentStyle style, PaletteState state ) : PaletteImageStyle

Gets the background image style for the long text.

GetContentLongTextMultiLine ( PaletteContentStyle style, PaletteState state ) : InheritBool

Gets the flag indicating if multiline text is allowed for long text.

GetContentLongTextMultiLineH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the horizontal relative alignment of multiline long text.

GetContentLongTextNewFont ( PaletteContentStyle style, PaletteState state ) : Font

Gets the font for the long text by generating a new font instance.

GetContentLongTextPrefix ( PaletteContentStyle style, PaletteState state ) : PaletteTextHotkeyPrefix

Gets the prefix drawing setting for long text.

GetContentLongTextTrim ( PaletteContentStyle style, PaletteState state ) : PaletteTextTrim

Gets the text trimming to use for long text.

GetContentLongTextV ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the vertical relative alignment of the long text.

GetContentPadding ( PaletteContentStyle style, PaletteState state ) : Padding

Gets the padding between the border and content drawing.

GetContentShortTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color

Gets the first back color for the short text.

GetContentShortTextColor2 ( PaletteContentStyle style, PaletteState state ) : Color

Gets the second back color for the short text.

GetContentShortTextColorAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the color alignment for the short text.

GetContentShortTextColorAngle ( PaletteContentStyle style, PaletteState state ) : float

Gets the color background angle for the short text.

GetContentShortTextColorStyle ( PaletteContentStyle style, PaletteState state ) : PaletteColorStyle

Gets the color drawing style for the short text.

GetContentShortTextFont ( PaletteContentStyle style, PaletteState state ) : Font

Gets the font for the short text.

GetContentShortTextH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the horizontal relative alignment of the short text.

GetContentShortTextHint ( PaletteContentStyle style, PaletteState state ) : PaletteTextHint

Gets the rendering hint for the short text.

GetContentShortTextImage ( PaletteContentStyle style, PaletteState state ) : Image

Gets a background image for the short text.

GetContentShortTextImageAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the image alignment for the short text.

GetContentShortTextImageStyle ( PaletteContentStyle style, PaletteState state ) : PaletteImageStyle

Gets the background image style.

GetContentShortTextMultiLine ( PaletteContentStyle style, PaletteState state ) : InheritBool

Gets the flag indicating if multiline text is allowed for short text.

GetContentShortTextMultiLineH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the horizontal relative alignment of multiline short text.

GetContentShortTextNewFont ( PaletteContentStyle style, PaletteState state ) : Font

Gets the font for the short text by generating a new font instance.

GetContentShortTextPrefix ( PaletteContentStyle style, PaletteState state ) : PaletteTextHotkeyPrefix

Gets the prefix drawing setting for short text.

GetContentShortTextTrim ( PaletteContentStyle style, PaletteState state ) : PaletteTextTrim

Gets the text trimming to use for short text.

GetContentShortTextV ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign

Gets the vertical relative alignment of the short text.

GetContextMenuCheckedImage ( ) : Image

Gets a checked image appropriate for a context menu item.

GetContextMenuIndeterminateImage ( ) : Image

Gets a indeterminate image appropriate for a context menu item.

GetContextMenuSubMenuImage ( ) : Image

Gets an image indicating a sub-menu on a context menu item.

GetDragDropDockActive ( ) : Color

Gets the active color for docking indicators.

GetDragDropDockBack ( ) : Color

Gets the background color for the docking indicators area.

GetDragDropDockBorder ( ) : Color

Gets the border color for the docking indicators area.

GetDragDropDockInactive ( ) : Color

Gets the inactive color for docking indicators.

GetDragDropFeedback ( ) : PaletteDragFeedback

Gets the feedback drawing method used.

GetDragDropSolidBack ( ) : Color

Gets the background color for a solid drag drop area.

GetDragDropSolidBorder ( ) : Color

Gets the border color for a solid drag drop area.

GetDragDropSolidOpacity ( ) : float

Gets the opacity of the solid area.

GetDropDownButtonImage ( PaletteState state ) : Image

Gets a drop down button image appropriate for the provided state.

GetElementColor1 ( PaletteElement element, PaletteState state ) : Color

Gets the first element color.

GetElementColor2 ( PaletteElement element, PaletteState state ) : Color

Gets the second element color.

GetElementColor3 ( PaletteElement element, PaletteState state ) : Color

Gets the third element color.

GetElementColor4 ( PaletteElement element, PaletteState state ) : Color

Gets the fourth element color.

GetElementColor5 ( PaletteElement element, PaletteState state ) : Color

Gets the fifth element color.

GetGalleryButtonImage ( PaletteRibbonGalleryButton button, PaletteState state ) : Image

Gets a check box image appropriate for the provided state.

GetMetricBool ( PaletteState state, PaletteMetricBool metric ) : InheritBool

Gets a boolean metric value.

GetMetricInt ( PaletteState state, PaletteMetricInt metric ) : int

Gets an integer metric value.

GetMetricPadding ( PaletteState state, PaletteMetricPadding metric ) : Padding

Gets a padding metric value.

GetRadioButtonImage ( bool enabled, bool checkState, bool tracking, bool pressed ) : Image

Gets a check box image appropriate for the provided state.

GetRenderer ( ) : IRenderer

Gets the renderer to use for this palette.

GetRibbonBackColor1 ( PaletteRibbonBackStyle style, PaletteState state ) : Color

Gets the first background color for the ribbon item.

GetRibbonBackColor2 ( PaletteRibbonBackStyle style, PaletteState state ) : Color

Gets the second background color for the ribbon item.

GetRibbonBackColor3 ( PaletteRibbonBackStyle style, PaletteState state ) : Color

Gets the third background color for the ribbon item.

GetRibbonBackColor4 ( PaletteRibbonBackStyle style, PaletteState state ) : Color

Gets the fourth background color for the ribbon item.

GetRibbonBackColor5 ( PaletteRibbonBackStyle style, PaletteState state ) : Color

Gets the fifth background color for the ribbon item.

GetRibbonBackColorStyle ( PaletteRibbonBackStyle style, PaletteState state ) : PaletteRibbonColorStyle

Gets the method used to draw the background of a ribbon item.

GetRibbonContextTextAlign ( PaletteState state ) : PaletteRelativeAlign

Gets the text alignment for the ribbon context text.

GetRibbonContextTextColor ( PaletteState state ) : Color

Gets the color for the ribbon context text.

GetRibbonContextTextFont ( PaletteState state ) : Font

Gets the font for the ribbon context text.

GetRibbonDisabledDark ( PaletteState state ) : Color

Gets the dark disabled color used for ribbon glyphs.

GetRibbonDisabledLight ( PaletteState state ) : Color

Gets the light disabled color used for ribbon glyphs.

GetRibbonDropArrowDark ( PaletteState state ) : Color

Gets the color for the drop arrow dark.

GetRibbonDropArrowLight ( PaletteState state ) : Color

Gets the color for the drop arrow light.

GetRibbonGroupDialogDark ( PaletteState state ) : Color

Gets the color for the dialog launcher dark.

GetRibbonGroupDialogLight ( PaletteState state ) : Color

Gets the color for the dialog launcher light.

GetRibbonGroupSeparatorDark ( PaletteState state ) : Color

Gets the color for the group separator dark.

GetRibbonGroupSeparatorLight ( PaletteState state ) : Color

Gets the color for the group separator light.

GetRibbonMinimizeBarDark ( PaletteState state ) : Color

Gets the color for the minimize bar dark.

GetRibbonMinimizeBarLight ( PaletteState state ) : Color

Gets the color for the minimize bar light.

GetRibbonQATButtonDark ( PaletteState state ) : Color

Gets the color for the extra QAT button dark content color.

GetRibbonQATButtonLight ( PaletteState state ) : Color

Gets the color for the extra QAT button light content color.

GetRibbonShape ( ) : PaletteRibbonShape

Gets the ribbon shape that should be used.

GetRibbonTabSeparatorColor ( PaletteState state ) : Color

Gets the color for the tab separator.

GetRibbonTabSeparatorContextColor ( PaletteState state ) : Color

Gets the color for the tab context separators.

GetRibbonTextColor ( PaletteRibbonTextStyle style, PaletteState state ) : Color

Gets the tab color for the item text.

GetRibbonTextFont ( PaletteState state ) : Font

Gets the font for the ribbon text.

GetRibbonTextHint ( PaletteState state ) : PaletteTextHint

Gets the rendering hint for the ribbon font.

GetTreeViewImage ( bool expanded ) : Image

Gets a tree view image appropriate for the provided state.

MergeColors ( Color color1, float percent1, Color color2, float percent2 ) : Color

Merge two colors together using relative percentages.

MergeColors ( Color color1, float percent1, Color color2, float percent2, Color color3, float percent3 ) : Color

Merge three colors together using relative percentages.

PaletteBase ( ) : System

Initialize a new instance of the PaletteBase class.

Méthodes protégées

Méthode Description
DefineFonts ( ) : void

Update the fonts to reflect system or user defined changes.

OnAllowFormChromeChanged ( object sender, EventArgs e ) : void

Raises the AllowFormChromeChanged event.

OnBasePaletteChanged ( object sender, EventArgs e ) : void

Raises the BasePaletteChanged event.

OnBaseRendererChanged ( object sender, EventArgs e ) : void

Raises the BaseRendererChanged event.

OnButtonSpecChanged ( object sender, EventArgs e ) : void

Raises the ButtonSpecChanged event.

OnPalettePaint ( object sender, PaletteLayoutEventArgs e ) : void

Raises the PalettePaint event.

OnUserPreferenceChanged ( object sender, Microsoft.Win32.UserPreferenceChangedEventArgs e ) : void

Handle a change in the user preferences.

Private Methods

Méthode Description
UserPreferenceChanged ( ) : void

Method Details

DefineFonts() protected abstract méthode

Update the fonts to reflect system or user defined changes.
protected abstract DefineFonts ( ) : void
Résultat void

FadedColor() public static méthode

Create a faded version of provided color.
public static FadedColor ( Color baseColor ) : Color
baseColor Color Starting color.
Résultat Color

GetAllowFormChrome() public abstract méthode

Gets a value indicating if KryptonForm instances should show custom chrome.
public abstract GetAllowFormChrome ( ) : InheritBool
Résultat InheritBool

GetBackColor1() public abstract méthode

Gets the first background color.
public abstract GetBackColor1 ( PaletteBackStyle style, PaletteState state ) : Color
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetBackColor2() public abstract méthode

Gets the second back color.
public abstract GetBackColor2 ( PaletteBackStyle style, PaletteState state ) : Color
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetBackColorAlign() public abstract méthode

Gets the color alignment.
public abstract GetBackColorAlign ( PaletteBackStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetBackColorAngle() public abstract méthode

Gets the color background angle.
public abstract GetBackColorAngle ( PaletteBackStyle style, PaletteState state ) : float
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat float

GetBackColorStyle() public abstract méthode

Gets the color background drawing style.
public abstract GetBackColorStyle ( PaletteBackStyle style, PaletteState state ) : PaletteColorStyle
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteColorStyle

GetBackDraw() public abstract méthode

Gets a value indicating if background should be drawn.
public abstract GetBackDraw ( PaletteBackStyle style, PaletteState state ) : InheritBool
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat InheritBool

GetBackGraphicsHint() public abstract méthode

Gets the graphics drawing hint for the background.
public abstract GetBackGraphicsHint ( PaletteBackStyle style, PaletteState state ) : PaletteGraphicsHint
style PaletteBackStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteGraphicsHint

GetBackImage() public abstract méthode

Gets a background image.
public abstract GetBackImage ( PaletteBackStyle style, PaletteState state ) : Image
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat Image

GetBackImageAlign() public abstract méthode

Gets the image alignment.
public abstract GetBackImageAlign ( PaletteBackStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetBackImageStyle() public abstract méthode

Gets the background image style.
public abstract GetBackImageStyle ( PaletteBackStyle style, PaletteState state ) : PaletteImageStyle
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteImageStyle

GetBorderColor1() public abstract méthode

Gets the first border color.
public abstract GetBorderColor1 ( PaletteBorderStyle style, PaletteState state ) : Color
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetBorderColor2() public abstract méthode

Gets the second border color.
public abstract GetBorderColor2 ( PaletteBorderStyle style, PaletteState state ) : Color
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetBorderColorAlign() public abstract méthode

Gets the color border alignment.
public abstract GetBorderColorAlign ( PaletteBorderStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetBorderColorAngle() public abstract méthode

Gets the color border angle.
public abstract GetBorderColorAngle ( PaletteBorderStyle style, PaletteState state ) : float
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat float

GetBorderColorStyle() public abstract méthode

Gets the color border drawing style.
public abstract GetBorderColorStyle ( PaletteBorderStyle style, PaletteState state ) : PaletteColorStyle
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteColorStyle

GetBorderDraw() public abstract méthode

Gets a value indicating if border should be drawn.
public abstract GetBorderDraw ( PaletteBorderStyle style, PaletteState state ) : InheritBool
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat InheritBool

GetBorderDrawBorders() public abstract méthode

Gets a value indicating which borders to draw.
public abstract GetBorderDrawBorders ( PaletteBorderStyle style, PaletteState state ) : PaletteDrawBorders
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteDrawBorders

GetBorderGraphicsHint() public abstract méthode

Gets the graphics drawing hint for the border.
public abstract GetBorderGraphicsHint ( PaletteBorderStyle style, PaletteState state ) : PaletteGraphicsHint
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteGraphicsHint

GetBorderImage() public abstract méthode

Gets a border image.
public abstract GetBorderImage ( PaletteBorderStyle style, PaletteState state ) : Image
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat Image

GetBorderImageAlign() public abstract méthode

Gets the image border alignment.
public abstract GetBorderImageAlign ( PaletteBorderStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetBorderImageStyle() public abstract méthode

Gets the border image style.
public abstract GetBorderImageStyle ( PaletteBorderStyle style, PaletteState state ) : PaletteImageStyle
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteImageStyle

GetBorderRounding() public abstract méthode

Gets the border corner rounding.
public abstract GetBorderRounding ( PaletteBorderStyle style, PaletteState state ) : int
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat int

GetBorderWidth() public abstract méthode

Gets the border width.
public abstract GetBorderWidth ( PaletteBorderStyle style, PaletteState state ) : int
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat int

GetButtonSpecColorMap() public abstract méthode

Gets the color to remap from the image to the container foreground.
public abstract GetButtonSpecColorMap ( PaletteButtonSpecStyle style ) : Color
style PaletteButtonSpecStyle Style of button spec.
Résultat Color

GetButtonSpecColorTransparent() public abstract méthode

Gets the color to remap to transparent.
public abstract GetButtonSpecColorTransparent ( PaletteButtonSpecStyle style ) : Color
style PaletteButtonSpecStyle Style of button spec.
Résultat Color

GetButtonSpecEdge() public abstract méthode

Gets the edge to positon the button against.
public abstract GetButtonSpecEdge ( PaletteButtonSpecStyle style ) : PaletteRelativeEdgeAlign
style PaletteButtonSpecStyle Style of button spec.
Résultat PaletteRelativeEdgeAlign

GetButtonSpecIcon() public abstract méthode

Gets the icon to display for the button.
public abstract GetButtonSpecIcon ( PaletteButtonSpecStyle style ) : Icon
style PaletteButtonSpecStyle Style of button spec.
Résultat System.Drawing.Icon

GetButtonSpecImage() public abstract méthode

Gets the image to display for the button.
public abstract GetButtonSpecImage ( PaletteButtonSpecStyle style, PaletteState state ) : Image
style PaletteButtonSpecStyle Style of button spec.
state PaletteState State for which image is required.
Résultat Image

GetButtonSpecImageTransparentColor() public abstract méthode

Gets the image transparent color.
public abstract GetButtonSpecImageTransparentColor ( PaletteButtonSpecStyle style ) : Color
style PaletteButtonSpecStyle Style of button spec.
Résultat Color

GetButtonSpecLocation() public abstract méthode

Get the location for the button.
public abstract GetButtonSpecLocation ( PaletteButtonSpecStyle style ) : HeaderLocation
style PaletteButtonSpecStyle Style of button spec.
Résultat HeaderLocation

GetButtonSpecLongText() public abstract méthode

Gets the long text to display for the button.
public abstract GetButtonSpecLongText ( PaletteButtonSpecStyle style ) : string
style PaletteButtonSpecStyle Style of button spec.
Résultat string

GetButtonSpecOrientation() public abstract méthode

Gets the button orientation.
public abstract GetButtonSpecOrientation ( PaletteButtonSpecStyle style ) : PaletteButtonOrientation
style PaletteButtonSpecStyle Style of button spec.
Résultat PaletteButtonOrientation

GetButtonSpecShortText() public abstract méthode

Gets the short text to display for the button.
public abstract GetButtonSpecShortText ( PaletteButtonSpecStyle style ) : string
style PaletteButtonSpecStyle Style of button spec.
Résultat string

GetButtonSpecStyle() public abstract méthode

Gets the button style used for drawing the button.
public abstract GetButtonSpecStyle ( PaletteButtonSpecStyle style ) : PaletteButtonStyle
style PaletteButtonSpecStyle Style of button spec.
Résultat PaletteButtonStyle

GetButtonSpecToolTipTitle() public méthode

Gets the tooltip title text to display for the button.
public GetButtonSpecToolTipTitle ( PaletteButtonSpecStyle style ) : string
style PaletteButtonSpecStyle Style of button spec.
Résultat string

GetCheckBoxImage() public abstract méthode

Gets a check box image appropriate for the provided state.
public abstract GetCheckBoxImage ( bool enabled, CheckState checkState, bool tracking, bool pressed ) : Image
enabled bool Is the check box enabled.
checkState CheckState Is the check box checked/unchecked/indeterminate.
tracking bool Is the check box being hot tracked.
pressed bool Is the check box being pressed.
Résultat Image

GetContentAdjacentGap() public abstract méthode

Gets the padding between adjacent content items.
public abstract GetContentAdjacentGap ( PaletteContentStyle style, PaletteState state ) : int
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat int

GetContentDraw() public abstract méthode

Gets a value indicating if content should be drawn.
public abstract GetContentDraw ( PaletteContentStyle style, PaletteState state ) : InheritBool
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat InheritBool

GetContentDrawFocus() public abstract méthode

Gets a value indicating if content should be drawn with focus indication.
public abstract GetContentDrawFocus ( PaletteContentStyle style, PaletteState state ) : InheritBool
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat InheritBool

GetContentImageColorMap() public abstract méthode

Gets the image color to remap into another color.
public abstract GetContentImageColorMap ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetContentImageColorTo() public abstract méthode

Gets the color to use in place of the image map color.
public abstract GetContentImageColorTo ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetContentImageColorTransparent() public abstract méthode

Gets the image color that should be transparent.
public abstract GetContentImageColorTransparent ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetContentImageEffect() public abstract méthode

Gets the effect applied to drawing of the image.
public abstract GetContentImageEffect ( PaletteContentStyle style, PaletteState state ) : PaletteImageEffect
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteImageEffect

GetContentImageH() public abstract méthode

Gets the horizontal relative alignment of the image.
public abstract GetContentImageH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContentImageV() public abstract méthode

Gets the vertical relative alignment of the image.
public abstract GetContentImageV ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContentLongTextColor1() public abstract méthode

Gets the first back color for the long text.
public abstract GetContentLongTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetContentLongTextColor2() public abstract méthode

Gets the second back color for the long text.
public abstract GetContentLongTextColor2 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetContentLongTextColorAlign() public abstract méthode

Gets the color alignment for the long text.
public abstract GetContentLongTextColorAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetContentLongTextColorAngle() public abstract méthode

Gets the color background angle for the long text.
public abstract GetContentLongTextColorAngle ( PaletteContentStyle style, PaletteState state ) : float
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat float

GetContentLongTextColorStyle() public abstract méthode

Gets the color drawing style for the long text.
public abstract GetContentLongTextColorStyle ( PaletteContentStyle style, PaletteState state ) : PaletteColorStyle
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteColorStyle

GetContentLongTextFont() public abstract méthode

Gets the font for the long text.
public abstract GetContentLongTextFont ( PaletteContentStyle style, PaletteState state ) : Font
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat System.Drawing.Font

GetContentLongTextH() public abstract méthode

Gets the horizontal relative alignment of the long text.
public abstract GetContentLongTextH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContentLongTextHint() public abstract méthode

Gets the rendering hint for the long text.
public abstract GetContentLongTextHint ( PaletteContentStyle style, PaletteState state ) : PaletteTextHint
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteTextHint

GetContentLongTextImage() public abstract méthode

Gets a background image for the long text.
public abstract GetContentLongTextImage ( PaletteContentStyle style, PaletteState state ) : Image
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat Image

GetContentLongTextImageAlign() public abstract méthode

Gets the image alignment for the long text.
public abstract GetContentLongTextImageAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetContentLongTextImageStyle() public abstract méthode

Gets the background image style for the long text.
public abstract GetContentLongTextImageStyle ( PaletteContentStyle style, PaletteState state ) : PaletteImageStyle
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteImageStyle

GetContentLongTextMultiLine() public abstract méthode

Gets the flag indicating if multiline text is allowed for long text.
public abstract GetContentLongTextMultiLine ( PaletteContentStyle style, PaletteState state ) : InheritBool
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat InheritBool

GetContentLongTextMultiLineH() public abstract méthode

Gets the horizontal relative alignment of multiline long text.
public abstract GetContentLongTextMultiLineH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContentLongTextNewFont() public abstract méthode

Gets the font for the long text by generating a new font instance.
public abstract GetContentLongTextNewFont ( PaletteContentStyle style, PaletteState state ) : Font
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat System.Drawing.Font

GetContentLongTextPrefix() public abstract méthode

Gets the prefix drawing setting for long text.
public abstract GetContentLongTextPrefix ( PaletteContentStyle style, PaletteState state ) : PaletteTextHotkeyPrefix
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteTextHotkeyPrefix

GetContentLongTextTrim() public abstract méthode

Gets the text trimming to use for long text.
public abstract GetContentLongTextTrim ( PaletteContentStyle style, PaletteState state ) : PaletteTextTrim
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteTextTrim

GetContentLongTextV() public abstract méthode

Gets the vertical relative alignment of the long text.
public abstract GetContentLongTextV ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContentPadding() public abstract méthode

Gets the padding between the border and content drawing.
public abstract GetContentPadding ( PaletteContentStyle style, PaletteState state ) : Padding
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat Padding

GetContentShortTextColor1() public abstract méthode

Gets the first back color for the short text.
public abstract GetContentShortTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetContentShortTextColor2() public abstract méthode

Gets the second back color for the short text.
public abstract GetContentShortTextColor2 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetContentShortTextColorAlign() public abstract méthode

Gets the color alignment for the short text.
public abstract GetContentShortTextColorAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetContentShortTextColorAngle() public abstract méthode

Gets the color background angle for the short text.
public abstract GetContentShortTextColorAngle ( PaletteContentStyle style, PaletteState state ) : float
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat float

GetContentShortTextColorStyle() public abstract méthode

Gets the color drawing style for the short text.
public abstract GetContentShortTextColorStyle ( PaletteContentStyle style, PaletteState state ) : PaletteColorStyle
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteColorStyle

GetContentShortTextFont() public abstract méthode

Gets the font for the short text.
public abstract GetContentShortTextFont ( PaletteContentStyle style, PaletteState state ) : Font
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat System.Drawing.Font

GetContentShortTextH() public abstract méthode

Gets the horizontal relative alignment of the short text.
public abstract GetContentShortTextH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContentShortTextHint() public abstract méthode

Gets the rendering hint for the short text.
public abstract GetContentShortTextHint ( PaletteContentStyle style, PaletteState state ) : PaletteTextHint
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteTextHint

GetContentShortTextImage() public abstract méthode

Gets a background image for the short text.
public abstract GetContentShortTextImage ( PaletteContentStyle style, PaletteState state ) : Image
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat Image

GetContentShortTextImageAlign() public abstract méthode

Gets the image alignment for the short text.
public abstract GetContentShortTextImageAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetContentShortTextImageStyle() public abstract méthode

Gets the background image style.
public abstract GetContentShortTextImageStyle ( PaletteContentStyle style, PaletteState state ) : PaletteImageStyle
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteImageStyle

GetContentShortTextMultiLine() public abstract méthode

Gets the flag indicating if multiline text is allowed for short text.
public abstract GetContentShortTextMultiLine ( PaletteContentStyle style, PaletteState state ) : InheritBool
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat InheritBool

GetContentShortTextMultiLineH() public abstract méthode

Gets the horizontal relative alignment of multiline short text.
public abstract GetContentShortTextMultiLineH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContentShortTextNewFont() public abstract méthode

Gets the font for the short text by generating a new font instance.
public abstract GetContentShortTextNewFont ( PaletteContentStyle style, PaletteState state ) : Font
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat System.Drawing.Font

GetContentShortTextPrefix() public abstract méthode

Gets the prefix drawing setting for short text.
public abstract GetContentShortTextPrefix ( PaletteContentStyle style, PaletteState state ) : PaletteTextHotkeyPrefix
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteTextHotkeyPrefix

GetContentShortTextTrim() public abstract méthode

Gets the text trimming to use for short text.
public abstract GetContentShortTextTrim ( PaletteContentStyle style, PaletteState state ) : PaletteTextTrim
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteTextTrim

GetContentShortTextV() public abstract méthode

Gets the vertical relative alignment of the short text.
public abstract GetContentShortTextV ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetContextMenuCheckedImage() public abstract méthode

Gets a checked image appropriate for a context menu item.
public abstract GetContextMenuCheckedImage ( ) : Image
Résultat Image

GetContextMenuIndeterminateImage() public abstract méthode

Gets a indeterminate image appropriate for a context menu item.
public abstract GetContextMenuIndeterminateImage ( ) : Image
Résultat Image

GetContextMenuSubMenuImage() public abstract méthode

Gets an image indicating a sub-menu on a context menu item.
public abstract GetContextMenuSubMenuImage ( ) : Image
Résultat Image

GetDragDropDockActive() public méthode

Gets the active color for docking indicators.
public GetDragDropDockActive ( ) : Color
Résultat Color

GetDragDropDockBack() public méthode

Gets the background color for the docking indicators area.
public GetDragDropDockBack ( ) : Color
Résultat Color

GetDragDropDockBorder() public méthode

Gets the border color for the docking indicators area.
public GetDragDropDockBorder ( ) : Color
Résultat Color

GetDragDropDockInactive() public méthode

Gets the inactive color for docking indicators.
public GetDragDropDockInactive ( ) : Color
Résultat Color

GetDragDropFeedback() public méthode

Gets the feedback drawing method used.
public GetDragDropFeedback ( ) : PaletteDragFeedback
Résultat PaletteDragFeedback

GetDragDropSolidBack() public méthode

Gets the background color for a solid drag drop area.
public GetDragDropSolidBack ( ) : Color
Résultat Color

GetDragDropSolidBorder() public méthode

Gets the border color for a solid drag drop area.
public GetDragDropSolidBorder ( ) : Color
Résultat Color

GetDragDropSolidOpacity() public méthode

Gets the opacity of the solid area.
public GetDragDropSolidOpacity ( ) : float
Résultat float

GetDropDownButtonImage() public abstract méthode

Gets a drop down button image appropriate for the provided state.
public abstract GetDropDownButtonImage ( PaletteState state ) : Image
state PaletteState PaletteState for which image is required.
Résultat Image

GetElementColor1() public abstract méthode

Gets the first element color.
public abstract GetElementColor1 ( PaletteElement element, PaletteState state ) : Color
element PaletteElement Element for which color is required.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetElementColor2() public abstract méthode

Gets the second element color.
public abstract GetElementColor2 ( PaletteElement element, PaletteState state ) : Color
element PaletteElement Element for which color is required.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetElementColor3() public abstract méthode

Gets the third element color.
public abstract GetElementColor3 ( PaletteElement element, PaletteState state ) : Color
element PaletteElement Element for which color is required.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetElementColor4() public abstract méthode

Gets the fourth element color.
public abstract GetElementColor4 ( PaletteElement element, PaletteState state ) : Color
element PaletteElement Element for which color is required.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetElementColor5() public abstract méthode

Gets the fifth element color.
public abstract GetElementColor5 ( PaletteElement element, PaletteState state ) : Color
element PaletteElement Element for which color is required.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetGalleryButtonImage() public abstract méthode

Gets a check box image appropriate for the provided state.
public abstract GetGalleryButtonImage ( PaletteRibbonGalleryButton button, PaletteState state ) : Image
button PaletteRibbonGalleryButton Enum of the button to fetch.
state PaletteState State of the button to fetch.
Résultat Image

GetMetricBool() public abstract méthode

Gets a boolean metric value.
public abstract GetMetricBool ( PaletteState state, PaletteMetricBool metric ) : InheritBool
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricBool Requested metric.
Résultat InheritBool

GetMetricInt() public abstract méthode

Gets an integer metric value.
public abstract GetMetricInt ( PaletteState state, PaletteMetricInt metric ) : int
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricInt Requested metric.
Résultat int

GetMetricPadding() public abstract méthode

Gets a padding metric value.
public abstract GetMetricPadding ( PaletteState state, PaletteMetricPadding metric ) : Padding
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricPadding Requested metric.
Résultat Padding

GetRadioButtonImage() public abstract méthode

Gets a check box image appropriate for the provided state.
public abstract GetRadioButtonImage ( bool enabled, bool checkState, bool tracking, bool pressed ) : Image
enabled bool Is the radio button enabled.
checkState bool Is the radio button checked.
tracking bool Is the radio button being hot tracked.
pressed bool Is the radio button being pressed.
Résultat Image

GetRenderer() public abstract méthode

Gets the renderer to use for this palette.
public abstract GetRenderer ( ) : IRenderer
Résultat IRenderer

GetRibbonBackColor1() public abstract méthode

Gets the first background color for the ribbon item.
public abstract GetRibbonBackColor1 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonBackColor2() public abstract méthode

Gets the second background color for the ribbon item.
public abstract GetRibbonBackColor2 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonBackColor3() public abstract méthode

Gets the third background color for the ribbon item.
public abstract GetRibbonBackColor3 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonBackColor4() public abstract méthode

Gets the fourth background color for the ribbon item.
public abstract GetRibbonBackColor4 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonBackColor5() public abstract méthode

Gets the fifth background color for the ribbon item.
public abstract GetRibbonBackColor5 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonBackColorStyle() public abstract méthode

Gets the method used to draw the background of a ribbon item.
public abstract GetRibbonBackColorStyle ( PaletteRibbonBackStyle style, PaletteState state ) : PaletteRibbonColorStyle
style PaletteRibbonBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRibbonColorStyle

GetRibbonContextTextAlign() public abstract méthode

Gets the text alignment for the ribbon context text.
public abstract GetRibbonContextTextAlign ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRelativeAlign

GetRibbonContextTextColor() public abstract méthode

Gets the color for the ribbon context text.
public abstract GetRibbonContextTextColor ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonContextTextFont() public abstract méthode

Gets the font for the ribbon context text.
public abstract GetRibbonContextTextFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
Résultat System.Drawing.Font

GetRibbonDisabledDark() public abstract méthode

Gets the dark disabled color used for ribbon glyphs.
public abstract GetRibbonDisabledDark ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonDisabledLight() public abstract méthode

Gets the light disabled color used for ribbon glyphs.
public abstract GetRibbonDisabledLight ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonDropArrowDark() public abstract méthode

Gets the color for the drop arrow dark.
public abstract GetRibbonDropArrowDark ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonDropArrowLight() public abstract méthode

Gets the color for the drop arrow light.
public abstract GetRibbonDropArrowLight ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonGroupDialogDark() public abstract méthode

Gets the color for the dialog launcher dark.
public abstract GetRibbonGroupDialogDark ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonGroupDialogLight() public abstract méthode

Gets the color for the dialog launcher light.
public abstract GetRibbonGroupDialogLight ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonGroupSeparatorDark() public abstract méthode

Gets the color for the group separator dark.
public abstract GetRibbonGroupSeparatorDark ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonGroupSeparatorLight() public abstract méthode

Gets the color for the group separator light.
public abstract GetRibbonGroupSeparatorLight ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonMinimizeBarDark() public abstract méthode

Gets the color for the minimize bar dark.
public abstract GetRibbonMinimizeBarDark ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonMinimizeBarLight() public abstract méthode

Gets the color for the minimize bar light.
public abstract GetRibbonMinimizeBarLight ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonQATButtonDark() public abstract méthode

Gets the color for the extra QAT button dark content color.
public abstract GetRibbonQATButtonDark ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonQATButtonLight() public abstract méthode

Gets the color for the extra QAT button light content color.
public abstract GetRibbonQATButtonLight ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonShape() public abstract méthode

Gets the ribbon shape that should be used.
public abstract GetRibbonShape ( ) : PaletteRibbonShape
Résultat PaletteRibbonShape

GetRibbonTabSeparatorColor() public abstract méthode

Gets the color for the tab separator.
public abstract GetRibbonTabSeparatorColor ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonTabSeparatorContextColor() public abstract méthode

Gets the color for the tab context separators.
public abstract GetRibbonTabSeparatorContextColor ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonTextColor() public abstract méthode

Gets the tab color for the item text.
public abstract GetRibbonTextColor ( PaletteRibbonTextStyle style, PaletteState state ) : Color
style PaletteRibbonTextStyle Text style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonTextFont() public abstract méthode

Gets the font for the ribbon text.
public abstract GetRibbonTextFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
Résultat System.Drawing.Font

GetRibbonTextHint() public abstract méthode

Gets the rendering hint for the ribbon font.
public abstract GetRibbonTextHint ( PaletteState state ) : PaletteTextHint
state PaletteState Palette value should be applicable to this state.
Résultat PaletteTextHint

GetTreeViewImage() public abstract méthode

Gets a tree view image appropriate for the provided state.
public abstract GetTreeViewImage ( bool expanded ) : Image
expanded bool Is the node expanded
Résultat Image

MergeColors() public static méthode

Merge two colors together using relative percentages.
public static MergeColors ( Color color1, float percent1, Color color2, float percent2 ) : Color
color1 Color First color.
percent1 float Percentage of first color to use.
color2 Color Second color.
percent2 float Percentage of second color to use.
Résultat Color

MergeColors() public static méthode

Merge three colors together using relative percentages.
public static MergeColors ( Color color1, float percent1, Color color2, float percent2, Color color3, float percent3 ) : Color
color1 Color First color.
percent1 float Percentage of first color to use.
color2 Color Second color.
percent2 float Percentage of second color to use.
color3 Color Third color.
percent3 float Percentage of third color to use.
Résultat Color

OnAllowFormChromeChanged() protected méthode

Raises the AllowFormChromeChanged event.
protected OnAllowFormChromeChanged ( object sender, EventArgs e ) : void
sender object Source of the event.
e System.EventArgs An EventArgs containing event data.
Résultat void

OnBasePaletteChanged() protected méthode

Raises the BasePaletteChanged event.
protected OnBasePaletteChanged ( object sender, EventArgs e ) : void
sender object Source of the event.
e System.EventArgs An EventArgs containing event data.
Résultat void

OnBaseRendererChanged() protected méthode

Raises the BaseRendererChanged event.
protected OnBaseRendererChanged ( object sender, EventArgs e ) : void
sender object Source of the event.
e System.EventArgs An EventArgs containing event data.
Résultat void

OnButtonSpecChanged() protected méthode

Raises the ButtonSpecChanged event.
protected OnButtonSpecChanged ( object sender, EventArgs e ) : void
sender object Source of the event.
e System.EventArgs An EventArgs containing event data.
Résultat void

OnPalettePaint() protected méthode

Raises the PalettePaint event.
protected OnPalettePaint ( object sender, PaletteLayoutEventArgs e ) : void
sender object Source of the event.
e PaletteLayoutEventArgs An PaletteLayoutEventArgs containing event data.
Résultat void

OnUserPreferenceChanged() protected méthode

Handle a change in the user preferences.
protected OnUserPreferenceChanged ( object sender, Microsoft.Win32.UserPreferenceChangedEventArgs e ) : void
sender object Source of event.
e Microsoft.Win32.UserPreferenceChangedEventArgs Event data.
Résultat void

PaletteBase() public méthode

Initialize a new instance of the PaletteBase class.
public PaletteBase ( ) : System
Résultat System