Class CalculatorControlVisualStyle
Represents the class to define the style for CalculatorControl.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class CalculatorControlVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
CalculatorControlVisualStyle()
Initializes a new instance of the CalculatorControlVisualStyle class.
Declaration
public CalculatorControlVisualStyle()
CalculatorControlVisualStyle(CalculatorControlStyleInfoIdentity)
Initializes a new instance of the CalculatorControlVisualStyle class.
Declaration
public CalculatorControlVisualStyle(CalculatorControlStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
CalculatorControlStyleInfoIdentity | identity | A CalculatorControlStyleInfoIdentity that holds the identity for this CalculatorControlStyleInfoStore. |
CalculatorControlVisualStyle(CalculatorControlStyleInfoIdentity, CalculatorControlStyleInfoStore)
Initializes a new instance of the CalculatorControlVisualStyle class.
Declaration
public CalculatorControlVisualStyle(CalculatorControlStyleInfoIdentity identity, CalculatorControlStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
CalculatorControlStyleInfoIdentity | identity | A CalculatorControlStyleInfoIdentity that holds the identity for this CalculatorControlStyleInfoStore. |
CalculatorControlStyleInfoStore | store | Holds instance of a CalculatorControlStyleInfoStore class |
CalculatorControlVisualStyle(CalculatorControlStyleInfoStore)
Initializes a new instance of the CalculatorControlVisualStyle class.
Declaration
public CalculatorControlVisualStyle(CalculatorControlStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
CalculatorControlStyleInfoStore | store | Holds instance of a CalculatorControlStyleInfoStore class. |
Properties
BackColor
Gets or sets the background System.Drawing.Color of the CalculatorControl.
Declaration
[ThemeStudio(true)]
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BorderColor
Gets or sets the border System.Drawing.Color of the CalculatorControl.
Declaration
[ThemeStudio(true)]
public Color BorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BorderThickness
Declaration
[ThemeStudio(true)]
public int BorderThickness { get; set; }
Property Value
Type |
---|
System.Int32 |
DefaultStyle
Gets the default style value for the CalculatorControl.
Declaration
public static CalculatorControlVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
CalculatorControlVisualStyle |
Font
Gets or sets the System.Drawing.Font value of the CalculatorControl.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
ForeColor
Gets or sets the foreground System.Drawing.Color of the value display TextBox in CalculatorControl.
Declaration
[ThemeStudio(true)]
public Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
TextBoxBackColor
Gets or sets the background System.Drawing.Color of the display TextBox in CalculatorControl.
Declaration
[ThemeStudio(true)]
public Color TextBoxBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ToolTipStyle
Gets or sets style for tooltip present in CalculatorControl.
Declaration
public CalculatorToolTipStyleInfo ToolTipStyle { get; set; }
Property Value
Type |
---|
CalculatorToolTipStyleInfo |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Overridden to create a product-specific identity object for the sub object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | StyleInfoProperty descriptor for this sub object. |
Returns
Type | Description |
---|---|
StyleInfoSubObjectIdentity | Identity for the sub object. |
Overrides
GetDefaultStyle()
Gets the default style value of the
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |