C# Класс ComponentFactory.Krypton.Toolkit.PaletteOffice2010Base

Provides a base for Office 2010 palettes.
Наследование: PaletteBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

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.

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 =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.

PaletteOffice2010Base ( Color schemeColors, ImageList checkBoxList, ImageList galleryButtonList, Image radioButtonArray, Color trackBarColors ) : System

Initialize a new instance of the PaletteOffice2010Base class.

Защищенные методы

Метод Описание
DefineFonts ( ) : void

Update the fonts to reflect system or user defined changes.

OnUserPreferenceChanged ( object sender, UserPreferenceChangedEventArgs e ) : void

Handle a change in the user preferences.

Описание методов

DefineFonts() защищенный Метод

Update the fonts to reflect system or user defined changes.
protected DefineFonts ( ) : void
Результат void

GetAllowFormChrome() публичный Метод

Gets a value indicating if KryptonForm instances should show custom chrome.
public GetAllowFormChrome ( ) : InheritBool
Результат InheritBool

GetBackColor1() публичный Метод

Gets the first background color.
public GetBackColor1 ( PaletteBackStyle style, PaletteState state ) : Color
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetBackColor2() публичный Метод

Gets the second back color.
public GetBackColor2 ( PaletteBackStyle style, PaletteState state ) : Color
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetBackColorAlign() публичный Метод

Gets the color alignment.
public GetBackColorAlign ( PaletteBackStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRectangleAlign

GetBackColorAngle() публичный Метод

Gets the color background angle.
public GetBackColorAngle ( PaletteBackStyle style, PaletteState state ) : float
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат float

GetBackColorStyle() публичный Метод

Gets the color background drawing style.
public GetBackColorStyle ( PaletteBackStyle style, PaletteState state ) : PaletteColorStyle
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteColorStyle

GetBackDraw() публичный Метод

Gets a value indicating if background should be drawn.
public GetBackDraw ( PaletteBackStyle style, PaletteState state ) : InheritBool
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат InheritBool

GetBackGraphicsHint() публичный Метод

Gets the graphics drawing hint for the background.
public GetBackGraphicsHint ( PaletteBackStyle style, PaletteState state ) : PaletteGraphicsHint
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteGraphicsHint

GetBackImage() публичный Метод

Gets a background image.
public GetBackImage ( PaletteBackStyle style, PaletteState state ) : Image
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат Image

GetBackImageAlign() публичный Метод

Gets the image alignment.
public GetBackImageAlign ( PaletteBackStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRectangleAlign

GetBackImageStyle() публичный Метод

Gets the background image style.
public GetBackImageStyle ( PaletteBackStyle style, PaletteState state ) : PaletteImageStyle
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteImageStyle

GetBorderColor1() публичный Метод

Gets the first border color.
public GetBorderColor1 ( PaletteBorderStyle style, PaletteState state ) : Color
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetBorderColor2() публичный Метод

Gets the second border color.
public GetBorderColor2 ( PaletteBorderStyle style, PaletteState state ) : Color
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetBorderColorAlign() публичный Метод

Gets the color border alignment.
public GetBorderColorAlign ( PaletteBorderStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRectangleAlign

GetBorderColorAngle() публичный Метод

Gets the color border angle.
public GetBorderColorAngle ( PaletteBorderStyle style, PaletteState state ) : float
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Результат float

GetBorderColorStyle() публичный Метод

Gets the color border drawing style.
public GetBorderColorStyle ( PaletteBorderStyle style, PaletteState state ) : PaletteColorStyle
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteColorStyle

GetBorderDraw() публичный Метод

Gets a value indicating if border should be drawn.
public GetBorderDraw ( PaletteBorderStyle style, PaletteState state ) : InheritBool
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Результат InheritBool

GetBorderDrawBorders() публичный Метод

Gets a value indicating which borders to draw.
public GetBorderDrawBorders ( PaletteBorderStyle style, PaletteState state ) : PaletteDrawBorders
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteDrawBorders

GetBorderGraphicsHint() публичный Метод

Gets the graphics drawing hint for the border.
public GetBorderGraphicsHint ( PaletteBorderStyle style, PaletteState state ) : PaletteGraphicsHint
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteGraphicsHint

GetBorderImage() публичный Метод

Gets a border image.
public GetBorderImage ( PaletteBorderStyle style, PaletteState state ) : Image
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Результат Image

GetBorderImageAlign() публичный Метод

Gets the image border alignment.
public GetBorderImageAlign ( PaletteBorderStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRectangleAlign

GetBorderImageStyle() публичный Метод

Gets the border image style.
public GetBorderImageStyle ( PaletteBorderStyle style, PaletteState state ) : PaletteImageStyle
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteImageStyle

GetBorderRounding() публичный Метод

Gets the border corner rounding.
public GetBorderRounding ( PaletteBorderStyle style, PaletteState state ) : int
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Результат int

GetBorderWidth() публичный Метод

Gets the border width.
public GetBorderWidth ( PaletteBorderStyle style, PaletteState state ) : int
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Результат int

GetButtonSpecColorMap() публичный Метод

Gets the color to remap from the image to the container foreground.
public GetButtonSpecColorMap ( PaletteButtonSpecStyle style ) : Color
style PaletteButtonSpecStyle Style of button spec.
Результат Color

GetButtonSpecColorTransparent() публичный Метод

Gets the color to remap to transparent.
public GetButtonSpecColorTransparent ( PaletteButtonSpecStyle style ) : Color
style PaletteButtonSpecStyle Style of button spec.
Результат Color

GetButtonSpecEdge() публичный Метод

Gets the edge to positon the button against.
public GetButtonSpecEdge ( PaletteButtonSpecStyle style ) : PaletteRelativeEdgeAlign
style PaletteButtonSpecStyle Style of button spec.
Результат PaletteRelativeEdgeAlign

GetButtonSpecIcon() публичный Метод

Gets the icon to display for the button.
public GetButtonSpecIcon ( PaletteButtonSpecStyle style ) : Icon
style PaletteButtonSpecStyle Style of button spec.
Результат Icon

GetButtonSpecImage() публичный Метод

Gets the image to display for the button.
public GetButtonSpecImage ( PaletteButtonSpecStyle style, PaletteState state ) : Image
style PaletteButtonSpecStyle Style of button spec.
state PaletteState State for which image is required.
Результат Image

GetButtonSpecImageTransparentColor() публичный Метод

Gets the image transparent color.
public GetButtonSpecImageTransparentColor ( PaletteButtonSpecStyle style ) : Color
style PaletteButtonSpecStyle Style of button spec.
Результат Color

GetButtonSpecLocation() публичный Метод

Get the location for the button.
public GetButtonSpecLocation ( PaletteButtonSpecStyle style ) : HeaderLocation
style PaletteButtonSpecStyle Style of button spec.
Результат HeaderLocation

GetButtonSpecLongText() публичный Метод

Gets the long text to display for the button.
public GetButtonSpecLongText ( PaletteButtonSpecStyle style ) : string
style PaletteButtonSpecStyle Style of button spec.
Результат string

GetButtonSpecOrientation() публичный Метод

Gets the button orientation.
public GetButtonSpecOrientation ( PaletteButtonSpecStyle style ) : PaletteButtonOrientation
style PaletteButtonSpecStyle Style of button spec.
Результат PaletteButtonOrientation

GetButtonSpecShortText() публичный Метод

Gets the short text to display for the button.
public GetButtonSpecShortText ( PaletteButtonSpecStyle style ) : string
style PaletteButtonSpecStyle Style of button spec.
Результат string

GetButtonSpecStyle() публичный Метод

Gets the button style used for drawing the button.
public GetButtonSpecStyle ( PaletteButtonSpecStyle style ) : PaletteButtonStyle
style PaletteButtonSpecStyle Style of button spec.
Результат PaletteButtonStyle

GetCheckBoxImage() публичный Метод

Gets a check box image appropriate for the provided state.
public 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.
Результат Image

GetContentAdjacentGap() публичный Метод

Gets the padding between adjacent content items.
public GetContentAdjacentGap ( PaletteContentStyle style, PaletteState state ) : int
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат int

GetContentDraw() публичный Метод

Gets a value indicating if content should be drawn.
public GetContentDraw ( PaletteContentStyle style, PaletteState state ) : InheritBool
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат InheritBool

GetContentDrawFocus() публичный Метод

Gets a value indicating if content should be drawn with focus indication.
public GetContentDrawFocus ( PaletteContentStyle style, PaletteState state ) : InheritBool
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат InheritBool

GetContentImageColorMap() публичный Метод

Gets the image color to remap into another color.
public GetContentImageColorMap ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetContentImageColorTo() публичный Метод

Gets the color to use in place of the image map color.
public GetContentImageColorTo ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetContentImageColorTransparent() публичный Метод

Gets the image color that should be transparent.
public GetContentImageColorTransparent ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetContentImageEffect() публичный Метод

Gets the effect applied to drawing of the image.
public GetContentImageEffect ( PaletteContentStyle style, PaletteState state ) : PaletteImageEffect
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteImageEffect

GetContentImageH() публичный Метод

Gets the horizontal relative alignment of the image.
public GetContentImageH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRelativeAlign

GetContentImageV() публичный Метод

Gets the vertical relative alignment of the image.
public GetContentImageV ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRelativeAlign

GetContentLongTextColor1() публичный Метод

Gets the first back color for the long text.
public GetContentLongTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetContentLongTextColor2() публичный Метод

Gets the second back color for the long text.
public GetContentLongTextColor2 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetContentLongTextColorAlign() публичный Метод

Gets the color alignment for the long text.
public GetContentLongTextColorAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRectangleAlign

GetContentLongTextColorAngle() публичный Метод

Gets the color background angle for the long text.
public GetContentLongTextColorAngle ( PaletteContentStyle style, PaletteState state ) : float
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат float

GetContentLongTextColorStyle() публичный Метод

Gets the color drawing style for the long text.
public GetContentLongTextColorStyle ( PaletteContentStyle style, PaletteState state ) : PaletteColorStyle
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteColorStyle

GetContentLongTextFont() публичный Метод

Gets the font for the long text.
public GetContentLongTextFont ( PaletteContentStyle style, PaletteState state ) : Font
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Font

GetContentLongTextH() публичный Метод

Gets the horizontal relative alignment of the long text.
public GetContentLongTextH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRelativeAlign

GetContentLongTextHint() публичный Метод

Gets the rendering hint for the long text.
public GetContentLongTextHint ( PaletteContentStyle style, PaletteState state ) : PaletteTextHint
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteTextHint

GetContentLongTextImage() публичный Метод

Gets a background image for the long text.
public GetContentLongTextImage ( PaletteContentStyle style, PaletteState state ) : Image
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Image

GetContentLongTextImageAlign() публичный Метод

Gets the image alignment for the long text.
public GetContentLongTextImageAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRectangleAlign

GetContentLongTextImageStyle() публичный Метод

Gets the background image style for the long text.
public GetContentLongTextImageStyle ( PaletteContentStyle style, PaletteState state ) : PaletteImageStyle
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteImageStyle

GetContentLongTextMultiLine() публичный Метод

Gets the flag indicating if multiline text is allowed for long text.
public GetContentLongTextMultiLine ( PaletteContentStyle style, PaletteState state ) : InheritBool
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат InheritBool

GetContentLongTextMultiLineH() публичный Метод

Gets the horizontal relative alignment of multiline long text.
public GetContentLongTextMultiLineH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRelativeAlign

GetContentLongTextNewFont() публичный Метод

Gets the font for the long text by generating a new font instance.
public GetContentLongTextNewFont ( PaletteContentStyle style, PaletteState state ) : Font
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Font

GetContentLongTextPrefix() публичный Метод

Gets the prefix drawing setting for long text.
public GetContentLongTextPrefix ( PaletteContentStyle style, PaletteState state ) : PaletteTextHotkeyPrefix
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteTextHotkeyPrefix

GetContentLongTextTrim() публичный Метод

Gets the text trimming to use for long text.
public GetContentLongTextTrim ( PaletteContentStyle style, PaletteState state ) : PaletteTextTrim
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteTextTrim

GetContentLongTextV() публичный Метод

Gets the vertical relative alignment of the long text.
public GetContentLongTextV ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRelativeAlign

GetContentPadding() публичный Метод

Gets the padding between the border and content drawing.
public GetContentPadding ( PaletteContentStyle style, PaletteState state ) : Padding
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Padding

GetContentShortTextColor1() публичный Метод

Gets the first back color for the short text.
public GetContentShortTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetContentShortTextColor2() публичный Метод

Gets the second back color for the short text.
public GetContentShortTextColor2 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetContentShortTextColorAlign() публичный Метод

Gets the color alignment for the short text.
public GetContentShortTextColorAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRectangleAlign

GetContentShortTextColorAngle() публичный Метод

Gets the color background angle for the short text.
public GetContentShortTextColorAngle ( PaletteContentStyle style, PaletteState state ) : float
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат float

GetContentShortTextColorStyle() публичный Метод

Gets the color drawing style for the short text.
public GetContentShortTextColorStyle ( PaletteContentStyle style, PaletteState state ) : PaletteColorStyle
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteColorStyle

GetContentShortTextFont() публичный Метод

Gets the font for the short text.
public GetContentShortTextFont ( PaletteContentStyle style, PaletteState state ) : Font
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Font

GetContentShortTextH() публичный Метод

Gets the horizontal relative alignment of the short text.
public GetContentShortTextH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRelativeAlign

GetContentShortTextHint() публичный Метод

Gets the rendering hint for the short text.
public GetContentShortTextHint ( PaletteContentStyle style, PaletteState state ) : PaletteTextHint
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteTextHint

GetContentShortTextImage() публичный Метод

Gets a background image for the short text.
public GetContentShortTextImage ( PaletteContentStyle style, PaletteState state ) : Image
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Image

GetContentShortTextImageAlign() публичный Метод

Gets the image alignment for the short text.
public GetContentShortTextImageAlign ( PaletteContentStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRectangleAlign

GetContentShortTextImageStyle() публичный Метод

Gets the background image style.
public GetContentShortTextImageStyle ( PaletteContentStyle style, PaletteState state ) : PaletteImageStyle
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteImageStyle

GetContentShortTextMultiLine() публичный Метод

Gets the flag indicating if multiline text is allowed for short text.
public GetContentShortTextMultiLine ( PaletteContentStyle style, PaletteState state ) : InheritBool
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат InheritBool

GetContentShortTextMultiLineH() публичный Метод

Gets the horizontal relative alignment of multiline short text.
public GetContentShortTextMultiLineH ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRelativeAlign

GetContentShortTextNewFont() публичный Метод

Gets the font for the short text by generating a new font instance.
public GetContentShortTextNewFont ( PaletteContentStyle style, PaletteState state ) : Font
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат Font

GetContentShortTextPrefix() публичный Метод

Gets the prefix drawing setting for short text.
public GetContentShortTextPrefix ( PaletteContentStyle style, PaletteState state ) : PaletteTextHotkeyPrefix
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteTextHotkeyPrefix

GetContentShortTextTrim() публичный Метод

Gets the text trimming to use for short text.
public GetContentShortTextTrim ( PaletteContentStyle style, PaletteState state ) : PaletteTextTrim
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteTextTrim

GetContentShortTextV() публичный Метод

Gets the vertical relative alignment of the short text.
public GetContentShortTextV ( PaletteContentStyle style, PaletteState state ) : PaletteRelativeAlign
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRelativeAlign

GetContextMenuCheckedImage() публичный Метод

Gets a checked image appropriate for a context menu item.
public GetContextMenuCheckedImage ( ) : Image
Результат Image

GetContextMenuIndeterminateImage() публичный Метод

Gets a indeterminate image appropriate for a context menu item.
public GetContextMenuIndeterminateImage ( ) : Image
Результат Image

GetDropDownButtonImage() публичный Метод

Gets a drop down button image appropriate for the provided state.
public GetDropDownButtonImage ( PaletteState state ) : Image
state PaletteState PaletteState for which image is required.
Результат Image

GetElementColor1() публичный Метод

Gets the first element color.
public GetElementColor1 ( PaletteElement element, PaletteState state ) : Color
element PaletteElement Element for which color is required.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetElementColor2() публичный Метод

Gets the second element color.
public GetElementColor2 ( PaletteElement element, PaletteState state ) : Color
element PaletteElement Element for which color is required.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetElementColor3() публичный Метод

Gets the third element color.
public GetElementColor3 ( PaletteElement element, PaletteState state ) : Color
element PaletteElement Element for which color is required.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetElementColor4() публичный Метод

Gets the fourth element color.
public GetElementColor4 ( PaletteElement element, PaletteState state ) : Color
element PaletteElement Element for which color is required.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetElementColor5() публичный Метод

Gets the fifth element color.
public GetElementColor5 ( PaletteElement element, PaletteState state ) : Color
element PaletteElement Element for which color is required.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetGalleryButtonImage() публичный Метод

Gets a check box image appropriate for the provided state.
public GetGalleryButtonImage ( PaletteRibbonGalleryButton button, PaletteState state ) : Image
button PaletteRibbonGalleryButton Enum of the button to fetch.
state PaletteState State of the button to fetch.
Результат Image

GetMetricBool() публичный Метод

Gets a boolean metric value.
public GetMetricBool ( PaletteState state, PaletteMetricBool metric ) : InheritBool
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricBool Requested metric.
Результат InheritBool

GetMetricInt() публичный Метод

Gets an integer metric value.
public GetMetricInt ( PaletteState state, PaletteMetricInt metric ) : int
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricInt Requested metric.
Результат int

GetMetricPadding() публичный Метод

Gets a padding metric value.
public GetMetricPadding ( PaletteState state, PaletteMetricPadding metric ) : Padding
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricPadding Requested metric.
Результат Padding

GetRadioButtonImage() публичный Метод

Gets a check box image appropriate for the provided state.
public 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.
Результат Image

GetRenderer() публичный Метод

Gets the renderer to use for this palette.
public GetRenderer ( ) : IRenderer
Результат IRenderer

GetRibbonBackColor1() публичный Метод

Gets the first background color for the ribbon item.
public GetRibbonBackColor1 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonBackColor2() публичный Метод

Gets the second background color for the ribbon item.
public GetRibbonBackColor2 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonBackColor3() публичный Метод

Gets the third background color for the ribbon item.
public GetRibbonBackColor3 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonBackColor4() публичный Метод

Gets the fourth background color for the ribbon item.
public GetRibbonBackColor4 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonBackColor5() публичный Метод

Gets the fifth background color for the ribbon item.
public GetRibbonBackColor5 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonBackColorStyle() публичный Метод

Gets the method used to draw the background of a ribbon item.
public GetRibbonBackColorStyle ( PaletteRibbonBackStyle style, PaletteState state ) : PaletteRibbonColorStyle
style PaletteRibbonBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Результат PaletteRibbonColorStyle

GetRibbonContextTextAlign() публичный Метод

Gets the text alignment for the ribbon context text.
public GetRibbonContextTextAlign ( PaletteState state ) : PaletteRelativeAlign
state PaletteState Palette value should be applicable to this state.
Результат PaletteRelativeAlign

GetRibbonContextTextColor() публичный Метод

Gets the color for the ribbon context text.
public GetRibbonContextTextColor ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonContextTextFont() публичный Метод

Gets the font for the ribbon context text.
public GetRibbonContextTextFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
Результат Font

GetRibbonDisabledDark() публичный Метод

Gets the dark disabled color used for ribbon glyphs.
public GetRibbonDisabledDark ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonDisabledLight() публичный Метод

Gets the light disabled color used for ribbon glyphs.
public GetRibbonDisabledLight ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonDropArrowDark() публичный Метод

Gets the color for the drop arrow dark.
public GetRibbonDropArrowDark ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonDropArrowLight() публичный Метод

Gets the color for the drop arrow light.
public GetRibbonDropArrowLight ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonGroupDialogDark() публичный Метод

Gets the color for the dialog launcher dark.
public GetRibbonGroupDialogDark ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonGroupDialogLight() публичный Метод

Gets the color for the dialog launcher light.
public GetRibbonGroupDialogLight ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonGroupSeparatorDark() публичный Метод

Gets the color for the group separator dark.
public GetRibbonGroupSeparatorDark ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonGroupSeparatorLight() публичный Метод

Gets the color for the group separator light.
public GetRibbonGroupSeparatorLight ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonMinimizeBarDark() публичный Метод

Gets the color for the minimize bar dark.
public GetRibbonMinimizeBarDark ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonMinimizeBarLight() публичный Метод

Gets the color for the minimize bar light.
public GetRibbonMinimizeBarLight ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonQATButtonDark() публичный Метод

Gets the color for the extra QAT button dark content color.
public GetRibbonQATButtonDark ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonQATButtonLight() публичный Метод

Gets the color for the extra QAT button light content color.
public GetRibbonQATButtonLight ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonShape() публичный Метод

Gets the ribbon shape that should be used.
public GetRibbonShape ( ) : PaletteRibbonShape
Результат PaletteRibbonShape

GetRibbonTabSeparatorColor() публичный Метод

Gets the color for the tab separator.
public GetRibbonTabSeparatorColor ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonTabSeparatorContextColor() публичный Метод

Gets the color for the tab context separators.
public GetRibbonTabSeparatorContextColor ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonTextColor() публичный Метод

Gets the =color for the item text.
public GetRibbonTextColor ( PaletteRibbonTextStyle style, PaletteState state ) : Color
style PaletteRibbonTextStyle Text style.
state PaletteState Palette value should be applicable to this state.
Результат Color

GetRibbonTextFont() публичный Метод

Gets the font for the ribbon text.
public GetRibbonTextFont ( PaletteState state ) : Font
state PaletteState Palette value should be applicable to this state.
Результат Font

GetRibbonTextHint() публичный Метод

Gets the rendering hint for the ribbon font.
public GetRibbonTextHint ( PaletteState state ) : PaletteTextHint
state PaletteState Palette value should be applicable to this state.
Результат PaletteTextHint

GetTreeViewImage() публичный Метод

Gets a tree view image appropriate for the provided state.
public GetTreeViewImage ( bool expanded ) : Image
expanded bool Is the node expanded
Результат Image

OnUserPreferenceChanged() защищенный Метод

Handle a change in the user preferences.
protected OnUserPreferenceChanged ( object sender, UserPreferenceChangedEventArgs e ) : void
sender object Source of event.
e UserPreferenceChangedEventArgs Event data.
Результат void

PaletteOffice2010Base() публичный Метод

Initialize a new instance of the PaletteOffice2010Base class.
public PaletteOffice2010Base ( Color schemeColors, ImageList checkBoxList, ImageList galleryButtonList, Image radioButtonArray, Color trackBarColors ) : System
schemeColors Color Array of palette specific colors.
checkBoxList ImageList List of images for check box.
galleryButtonList ImageList List of images for gallery buttons.
radioButtonArray Image Array of images for radio button.
trackBarColors Color Array of track bar specific colors.
Результат System