Class ColorTableOffice2010
Color table for Office 2010 like scroll bars.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Renderers
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class ColorTableOffice2010 : IColorTableOffice2010Creator
Properties
ArrowButtonBorderDark
Specifies the ArrowButtonBorderDark color of the Office2010 scroll bars
Declaration
public virtual Color ArrowButtonBorderDark { get; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonBorderLight
Specifies the ArrowButtonBorderLight color of the Office2010 scroll bars
Declaration
public virtual Color ArrowButtonBorderLight { get; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonBorderPressedDark
Specifies the ArrowButtonBorderPressedDark color of the Office2010 scroll bars
Declaration
public virtual Color ArrowButtonBorderPressedDark { get; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonBorderPressedLight
Specifies the ArrowButtonBorderPressedLight color of the Office2010 scroll bars
Declaration
public virtual Color ArrowButtonBorderPressedLight { get; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonBorderSelectedDark
Specifies the ArrowButtonBorderSelectedDark color of the Office2010 scroll bars
Declaration
public virtual Color ArrowButtonBorderSelectedDark { get; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonBorderSelectedLight
Specifies the ArrowButtonBorderSelectedLight color of the Office2010 scroll bars
Declaration
public virtual Color ArrowButtonBorderSelectedLight { get; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonGradientBegin
Specifies the ArrowButtonGradientBegin color of the Office2010 scroll bars
Declaration
public virtual Color ArrowButtonGradientBegin { get; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonGradientEnd
Specifies the ArrowButtonGradientEnd color of the Office2010 scroll bars
Declaration
public virtual Color ArrowButtonGradientEnd { get; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonGradientPressedBegin
Specifies the ArrowButtonGradientPressedBegin color of the Office2010 scroll bars
Declaration
public virtual Color ArrowButtonGradientPressedBegin { get; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonGradientPressedEnd
Specifies the ArrowButtonGradientPressedEnd color of the Office2010 scroll bars
Declaration
public virtual Color ArrowButtonGradientPressedEnd { get; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonGradientSelectedBegin
Specifies the ArrowButtonGradientSelectedBegin color of the Office2010 scroll bars
Declaration
public virtual Color ArrowButtonGradientSelectedBegin { get; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonGradientSelectedEnd
Specifies the ArrowButtonGradientSelectedEnd color of the Office2010 scroll bars
Declaration
public virtual Color ArrowButtonGradientSelectedEnd { get; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowGradientBegin
Specifies the ArrowGradientBegin color of the Office2010 scroll bars
Declaration
public virtual Color ArrowGradientBegin { get; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowGradientEnd
Specifies the ArrowGradientEnd color of the Office2010 scroll bars
Declaration
public virtual Color ArrowGradientEnd { get; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowGradientNormalBegin
Specifies the ArrowGradientNormalBegin color of the Office2010 scroll bars
Declaration
public virtual Color ArrowGradientNormalBegin { get; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowGradientNormalEnd
Specifies the ArrowGradientNormalEnd color of the Office2010 scroll bars
Declaration
public virtual Color ArrowGradientNormalEnd { get; }
Property Value
Type |
---|
System.Drawing.Color |
OfficeColors
Specifies the color of the Office2010 scroll bars
Declaration
protected Color[] OfficeColors { get; }
Property Value
Type |
---|
System.Drawing.Color[] |
ScrollerBorderBegin
Specifies the ScrollerBorderBegin color of the Office2010 scroll bars
Declaration
public virtual Color ScrollerBorderBegin { get; }
Property Value
Type |
---|
System.Drawing.Color |
ScrollerBorderEnd
Specifies the ScrollerBorderEnd color of the Office2010 scroll bars
Declaration
public virtual Color ScrollerBorderEnd { get; }
Property Value
Type |
---|
System.Drawing.Color |
ScrollerGradientBegin
Specifies the ScrollerGradientBegin color of the Office2010 scroll bars
Declaration
public virtual Color ScrollerGradientBegin { get; }
Property Value
Type |
---|
System.Drawing.Color |
ScrollerGradientEnd
Specifies the ScrollerGradientEnd color of the Office2010 scroll bars
Declaration
public virtual Color ScrollerGradientEnd { get; }
Property Value
Type |
---|
System.Drawing.Color |
ScrollerGripBackGround
Specifies the ScrollerGripBackGround color of the Office2010 scroll bars
Declaration
public virtual Color ScrollerGripBackGround { get; }
Property Value
Type |
---|
System.Drawing.Color |
ScrollerGripDark
Specifies the ScrollerGripDark color of the Office2010 scroll bars
Declaration
public virtual Color ScrollerGripDark { get; }
Property Value
Type |
---|
System.Drawing.Color |
ScrollerGripLight
Specifies the ScrollerGripLight color of the Office2010 scroll bars
Declaration
public virtual Color ScrollerGripLight { get; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbLinesGradientBegin
Specifies the ThumbLinesGradientBegin color of the Office2010 scroll bars
Declaration
public virtual Color ThumbLinesGradientBegin { get; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbLinesGradientEnd
Specifies the ThumbLinesGradientEnd color of the Office2010 scroll bars
Declaration
public virtual Color ThumbLinesGradientEnd { get; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbPressedBackgroundGradientBegin
Specifies the ThumbPressedBackgroundGradientBegin color of the Office2010 scroll bars
Declaration
public virtual Color ThumbPressedBackgroundGradientBegin { get; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbPressedBackgroundGradientEnd
Specifies the ThumbPressedBackgroundGradientEnd color of the Office2010 scroll bars
Declaration
public virtual Color ThumbPressedBackgroundGradientEnd { get; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
ApplyManagedColors(ScrollBarCustomDrawStyles, Color)
Applies colors for managed scheme.
Declaration
public static void ApplyManagedColors(ScrollBarCustomDrawStyles style, Color baseColor)
Parameters
Type | Name | Description |
---|---|---|
ScrollBarCustomDrawStyles | style | Custom scrollbar draw style. |
System.Drawing.Color | baseColor | Base color for the managed theme. |
ApplyManagedScheme(Form, ScrollBarCustomDrawStyles, Office2010ColorScheme)
Applies scheme for managed theme.
Declaration
public static void ApplyManagedScheme(Form form, ScrollBarCustomDrawStyles style, Office2010ColorScheme scheme)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Form | form | Container form. |
ScrollBarCustomDrawStyles | style | Custom scrollbar draw style. |
Office2010ColorScheme | scheme | Office2010 color scheme. |
GetAlphaBlendedColor(Color, Color, Int32)
Get the Alpha blended color.
Declaration
public static Color GetAlphaBlendedColor(Color src, Color dest, int alpha)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | src | Source color |
System.Drawing.Color | dest | destination color |
System.Int32 | alpha | alpha color |
Returns
Type | Description |
---|---|
System.Drawing.Color | returns the alpha blended color |
GetColorTable(ScrollBarCustomDrawStyles, Office2010ColorScheme)
Retrieves color table according to style and scheme.
Declaration
public static ColorTableOffice2010 GetColorTable(ScrollBarCustomDrawStyles style, Office2010ColorScheme scheme)
Parameters
Type | Name | Description |
---|---|---|
ScrollBarCustomDrawStyles | style | Office2010 style. |
Office2010ColorScheme | scheme | Office2010 color scheme. |
Returns
Type | Description |
---|---|
ColorTableOffice2010 | Color table. |
InitColors(ref Color[])
Initialize scroll bar color fields.
Declaration
protected virtual void InitColors(ref Color[] colors)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color[] | colors | Scroll bar color references. |
OnManagedColorApplied(Color)
Called when
Declaration
protected static void OnManagedColorApplied(Color baseColor)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | baseColor | base color for managed theme. |
RegisterColorTable(ScrollBarCustomDrawStyles, Office2010ColorScheme, ColorTableOffice2010)
Registers color table within internal collection.
Declaration
protected static void RegisterColorTable(ScrollBarCustomDrawStyles style, Office2010ColorScheme scheme, ColorTableOffice2010 colorTable)
Parameters
Type | Name | Description |
---|---|---|
ScrollBarCustomDrawStyles | style | Office2010 style. |
Office2010ColorScheme | scheme | Office2010 scheme. |
ColorTableOffice2010 | colorTable | Color table itself. |
Explicit Interface Implementations
IColorTableOffice2010Creator.Create()
Interface to create a Office2010 color table.
Declaration
ColorTableOffice2010 IColorTableOffice2010Creator.Create()
Returns
Type | Description |
---|---|
ColorTableOffice2010 | returns office2010 color table |