C# Class ComponentFactory.Krypton.Toolkit.PaletteRedirectTriple

Redirect back/border/content based on the incoming state of the request.
Inheritance: PaletteRedirect
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode Description
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.

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.

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.

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.

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.

PaletteRedirectTriple ( ) : System

Initialize a new instance of the PaletteRedirectTriple class.

PaletteRedirectTriple ( IPalette target ) : System

Initialize a new instance of the PaletteRedirectTriple class.

PaletteRedirectTriple ( IPalette target, IPaletteTriple disabled, IPaletteTriple normal ) : System

Initialize a new instance of the PaletteRedirectTriple class.

PaletteRedirectTriple ( IPalette target, IPaletteTriple disabled, IPaletteTriple normal, IPaletteTriple tracking ) : System

Initialize a new instance of the PaletteRedirectTriple class.

PaletteRedirectTriple ( IPalette target, IPaletteTriple disabled, IPaletteTriple normal, IPaletteTriple pressed, IPaletteTriple tracking, IPaletteTriple selected, IPaletteTriple focusOverride ) : System

Initialize a new instance of the PaletteRedirectTriple class.

PaletteRedirectTriple ( IPalette target, IPaletteTriple disabled, IPaletteTriple normal, IPaletteTriple pressed, IPaletteTriple tracking, IPaletteTriple checkedNormal, IPaletteTriple checkedPressed, IPaletteTriple checkedTracking, IPaletteTriple focusOverride, IPaletteTriple normalDefaultOverride ) : System

Initialize a new instance of the PaletteRedirectTriple class.

ResetRedirectStates ( ) : void

Reset the redirection states to null.

SetRedirectStates ( IPaletteTriple disabled, IPaletteTriple normal ) : void

Set the redirection states.

SetRedirectStates ( IPaletteTriple disabled, IPaletteTriple normal, IPaletteTriple pressed, IPaletteTriple tracking, IPaletteTriple checkedNormal, IPaletteTriple checkedPressed, IPaletteTriple checkedTracking, IPaletteTriple focusOverride, IPaletteTriple normalDefaultOverride ) : void

Set the redirection states.

Private Methods

Méthode Description
GetInherit ( PaletteState state ) : IPaletteTriple

Method Details

GetBackColor1() public méthode

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.
Résultat Color

GetBackColor2() public méthode

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.
Résultat Color

GetBackColorAlign() public méthode

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.
Résultat PaletteRectangleAlign

GetBackColorAngle() public méthode

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.
Résultat float

GetBackColorStyle() public méthode

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.
Résultat PaletteColorStyle

GetBackDraw() public méthode

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.
Résultat InheritBool

GetBackGraphicsHint() public méthode

Gets the graphics drawing hint for the background.
public 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 méthode

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.
Résultat Image

GetBackImageAlign() public méthode

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.
Résultat PaletteRectangleAlign

GetBackImageStyle() public méthode

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.
Résultat PaletteImageStyle

GetBorderColor1() public méthode

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.
Résultat Color

GetBorderColor2() public méthode

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.
Résultat Color

GetBorderColorAlign() public méthode

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.
Résultat PaletteRectangleAlign

GetBorderColorAngle() public méthode

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.
Résultat float

GetBorderColorStyle() public méthode

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.
Résultat PaletteColorStyle

GetBorderDraw() public méthode

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.
Résultat InheritBool

GetBorderDrawBorders() public méthode

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.
Résultat PaletteDrawBorders

GetBorderGraphicsHint() public méthode

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.
Résultat PaletteGraphicsHint

GetBorderImage() public méthode

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.
Résultat Image

GetBorderImageAlign() public méthode

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.
Résultat PaletteRectangleAlign

GetBorderImageStyle() public méthode

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.
Résultat PaletteImageStyle

GetBorderRounding() public méthode

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.
Résultat int

GetBorderWidth() public méthode

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.
Résultat int

GetContentAdjacentGap() public méthode

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.
Résultat int

GetContentDraw() public méthode

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.
Résultat InheritBool

GetContentDrawFocus() public méthode

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.
Résultat InheritBool

GetContentImageColorMap() public méthode

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.
Résultat Color

GetContentImageColorTo() public méthode

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.
Résultat Color

GetContentImageEffect() public méthode

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.
Résultat PaletteImageEffect

GetContentImageH() public méthode

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.
Résultat PaletteRelativeAlign

GetContentImageV() public méthode

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.
Résultat PaletteRelativeAlign

GetContentLongTextColor1() public méthode

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.
Résultat Color

GetContentLongTextColor2() public méthode

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.
Résultat Color

GetContentLongTextColorAlign() public méthode

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.
Résultat PaletteRectangleAlign

GetContentLongTextColorAngle() public méthode

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.
Résultat float

GetContentLongTextColorStyle() public méthode

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.
Résultat PaletteColorStyle

GetContentLongTextFont() public méthode

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.
Résultat System.Drawing.Font

GetContentLongTextH() public méthode

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.
Résultat PaletteRelativeAlign

GetContentLongTextHint() public méthode

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.
Résultat PaletteTextHint

GetContentLongTextImage() public méthode

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.
Résultat Image

GetContentLongTextImageAlign() public méthode

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.
Résultat PaletteRectangleAlign

GetContentLongTextImageStyle() public méthode

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.
Résultat PaletteImageStyle

GetContentLongTextMultiLine() public méthode

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.
Résultat InheritBool

GetContentLongTextMultiLineH() public méthode

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.
Résultat PaletteRelativeAlign

GetContentLongTextPrefix() public méthode

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.
Résultat PaletteTextHotkeyPrefix

GetContentLongTextTrim() public méthode

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.
Résultat PaletteTextTrim

GetContentLongTextV() public méthode

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.
Résultat PaletteRelativeAlign

GetContentPadding() public méthode

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.
Résultat Padding

GetContentShortTextColor1() public méthode

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.
Résultat Color

GetContentShortTextColor2() public méthode

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.
Résultat Color

GetContentShortTextColorAlign() public méthode

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.
Résultat PaletteRectangleAlign

GetContentShortTextColorAngle() public méthode

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.
Résultat float

GetContentShortTextColorStyle() public méthode

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.
Résultat PaletteColorStyle

GetContentShortTextFont() public méthode

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.
Résultat System.Drawing.Font

GetContentShortTextH() public méthode

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.
Résultat PaletteRelativeAlign

GetContentShortTextHint() public méthode

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.
Résultat PaletteTextHint

GetContentShortTextImage() public méthode

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.
Résultat Image

GetContentShortTextImageAlign() public méthode

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.
Résultat PaletteRectangleAlign

GetContentShortTextImageStyle() public méthode

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.
Résultat PaletteImageStyle

GetContentShortTextMultiLine() public méthode

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.
Résultat InheritBool

GetContentShortTextMultiLineH() public méthode

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.
Résultat PaletteRelativeAlign

GetContentShortTextPrefix() public méthode

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.
Résultat PaletteTextHotkeyPrefix

GetContentShortTextTrim() public méthode

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.
Résultat PaletteTextTrim

GetContentShortTextV() public méthode

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.
Résultat PaletteRelativeAlign

PaletteRedirectTriple() public méthode

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

PaletteRedirectTriple() public méthode

Initialize a new instance of the PaletteRedirectTriple class.
public PaletteRedirectTriple ( IPalette target ) : System
target IPalette Initial palette target for redirection.
Résultat System

PaletteRedirectTriple() public méthode

Initialize a new instance of the PaletteRedirectTriple class.
public PaletteRedirectTriple ( IPalette target, IPaletteTriple disabled, IPaletteTriple normal ) : System
target IPalette Initial palette target for redirection.
disabled IPaletteTriple Redirection for disabled state requests.
normal IPaletteTriple Redirection for normal state requests.
Résultat System

PaletteRedirectTriple() public méthode

Initialize a new instance of the PaletteRedirectTriple class.
public PaletteRedirectTriple ( IPalette target, IPaletteTriple disabled, IPaletteTriple normal, IPaletteTriple tracking ) : System
target IPalette Initial palette target for redirection.
disabled IPaletteTriple Redirection for disabled state requests.
normal IPaletteTriple Redirection for normal state requests.
tracking IPaletteTriple Redirection for tracking state requests.
Résultat System

PaletteRedirectTriple() public méthode

Initialize a new instance of the PaletteRedirectTriple class.
public PaletteRedirectTriple ( IPalette target, IPaletteTriple disabled, IPaletteTriple normal, IPaletteTriple pressed, IPaletteTriple tracking, IPaletteTriple selected, IPaletteTriple focusOverride ) : System
target IPalette Initial palette target for redirection.
disabled IPaletteTriple Redirection for disabled state requests.
normal IPaletteTriple Redirection for normal state requests.
pressed IPaletteTriple Redirection for pressed state requests.
tracking IPaletteTriple Redirection for tracking state requests.
selected IPaletteTriple Redirection for all checked states.
focusOverride IPaletteTriple Redirection for focus override state requests.
Résultat System

PaletteRedirectTriple() public méthode

Initialize a new instance of the PaletteRedirectTriple class.
public PaletteRedirectTriple ( IPalette target, IPaletteTriple disabled, IPaletteTriple normal, IPaletteTriple pressed, IPaletteTriple tracking, IPaletteTriple checkedNormal, IPaletteTriple checkedPressed, IPaletteTriple checkedTracking, IPaletteTriple focusOverride, IPaletteTriple normalDefaultOverride ) : System
target IPalette Initial palette target for redirection.
disabled IPaletteTriple Redirection for disabled state requests.
normal IPaletteTriple Redirection for normal state requests.
pressed IPaletteTriple Redirection for pressed state requests.
tracking IPaletteTriple Redirection for tracking state requests.
checkedNormal IPaletteTriple Redirection for checked normal state requests.
checkedPressed IPaletteTriple Redirection for checked pressed state requests.
checkedTracking IPaletteTriple Redirection for checked tracking state requests.
focusOverride IPaletteTriple Redirection for focus override state requests.
normalDefaultOverride IPaletteTriple Redirection for normal default override state requests.
Résultat System

ResetRedirectStates() public méthode

Reset the redirection states to null.
public ResetRedirectStates ( ) : void
Résultat void

SetRedirectStates() public méthode

Set the redirection states.
public SetRedirectStates ( IPaletteTriple disabled, IPaletteTriple normal ) : void
disabled IPaletteTriple Redirection for disabled state requests.
normal IPaletteTriple Redirection for normal state requests.
Résultat void

SetRedirectStates() public méthode

Set the redirection states.
public SetRedirectStates ( IPaletteTriple disabled, IPaletteTriple normal, IPaletteTriple pressed, IPaletteTriple tracking, IPaletteTriple checkedNormal, IPaletteTriple checkedPressed, IPaletteTriple checkedTracking, IPaletteTriple focusOverride, IPaletteTriple normalDefaultOverride ) : void
disabled IPaletteTriple Redirection for disabled state requests.
normal IPaletteTriple Redirection for normal state requests.
pressed IPaletteTriple Redirection for pressed state requests.
tracking IPaletteTriple Redirection for tracking state requests.
checkedNormal IPaletteTriple Redirection for checked normal state requests.
checkedPressed IPaletteTriple Redirection for checked pressed state requests.
checkedTracking IPaletteTriple Redirection for checked tracking state requests.
focusOverride IPaletteTriple Redirection for focus override state requests.
normalDefaultOverride IPaletteTriple Redirection for normal default override state requests.
Résultat void