[]
        
(Showing Draft Content)

C1.Win.C1Input.NumericEditCalculator

NumericEditCalculator Class

The calculator used as a dropdown in the C1NumericEdit control.

Inheritance
NumericEditCalculator
Namespace: C1.Win.C1Input
Assembly: C1.Win.C1Input.4.8.dll
Syntax
public class NumericEditCalculator : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable

Constructors

Name Description
NumericEditCalculator()

Initializes a new instance of the NumericEditCalculator class.

Properties

Name Description
ButtonFlatStyle

Determines the style of the dropdown calculator buttons.

ContextMenuStrip

Gets or sets the shortcut menu associated with the control.

DefaultSize

This method is for internal use only.

DisplayFormat

// patch: localization: added after StringTables.cs was created

Font

Gets or sets the font of the text displayed by the control.

FormatOnClose

Gets or sets whether StoredFormat should be applied to the value entered in the dropdown calculator.

RightToLeft

This property is for internal use only.

ShowDecimalSeparator

Gets or sets a value indicating whether to display a decimal separator when typing a number if no decimal part of the number is entered.

ShowFocusCues

This method is for internal use only.

StoredFormat

Custom format specifier used to format the stored value of the dropdown calculator.

UIStrings

The collection of user interface strings.

UseStaticMemory

Gets or sets whether Static Memory context menu should appear for the dropdown calculator.

VisualStyle

Gets or sets the visual style of the control.

Methods

Name Description
Dispose(bool)

Releases the resources used by the NumericEditCalculator.

OnFontChanged(EventArgs)

Raises the System.Windows.Forms.Control.FontChanged event.

OnForeColorChanged(EventArgs)

This method is for internal use only.

OnPaint(PaintEventArgs)

This method is for internal use only.

OnParentChanged(EventArgs)
OnResize(EventArgs)

This method is for internal use only.

OnVisualStyleChanged(EventArgs)

Invokes the VisualStyleChanged event.

ResetUIStrings()

This method is for internal use only.

ResetVisualStyle()

Resets VisualStyle to the default value.

ShouldSerializeUIStrings()

This method is for internal use only.

ShouldSerializeVisualStyle()

Tests whether VisualStyle should be serialized.

ThemeChanged(object, VisualStyle)

This method called when theme is changed.

WndProc(ref Message)

This method is for internal use only.

Events

Name Description
VisualStyleChanged

Occurs when the VisualStyle property has changed.