HeaderPane
Main
Hide
Share Link
Print

SftMask Class

The SftMask class represents a masked edit control for numeric, masked and free-form input.

The SftMask.Mask property defines the input fields, single input positions and literal characters. Without a mask, the control is a single-line edit control. Numeric fields can show up and down buttons (SftMask.ButtonStyle property) and a popup calculator; free-form input can be completed from earlier entries, files or folders (SftMask.AutoComplete property).

Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET

Inheritance

Syntax

public class SftMask : Softelvdm.SftMaskNET.Controls.SoftelvdmUserControl;
Public Class SftMask
    Inherits Softelvdm.SftMaskNET.Controls.SoftelvdmUserControl

Constructors

PublicSftMaskInitializes a new instance of the SftMask class.

Properties

PublicInherited from System.Windows.Forms.ControlAccessibilityObjectGets the AccessibleObject assigned to the control.
PublicInherited from System.Windows.Forms.ControlAccessibleDefaultActionDescriptionGets or sets the default action description of the control for use by accessibility client applications.
PublicInherited from System.Windows.Forms.ControlAccessibleDescriptionGets or sets the description of the control used by accessibility client applications.
PublicInherited from System.Windows.Forms.ControlAccessibleNameGets or sets the name of the control used by accessibility client applications.
PublicInherited from System.Windows.Forms.ControlAccessibleRoleGets or sets the accessible role of the control
PublicInherited from System.Windows.Forms.ControlAllowDropGets or sets a value indicating whether the control can accept data that the user drags onto it.
PublicAllowEmptyDefines whether an empty control is valid when a mask is defined.
PublicAllowEmptyWithoutMaskDefines whether an empty control is valid when no mask is defined.
PublicAllowF4Defines whether F4 opens and closes the autocomplete list and enters the calculator's total.
PublicAllowPromptAsInputDefines whether the prompt character can be typed as input.
PublicInherited from System.Windows.Forms.ControlAnchorGets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.
PublicAsciiOnlyDefines whether the input positions of the mask accept only ASCII characters.
PublicAutoAdvanceDefines whether the caret moves to the next input field when a numeric field is full.
PublicAutoCompleteReturns the autocomplete settings.
PublicInherited from System.Windows.Forms.ControlAutoScrollOffsetGets or sets where this control is scrolled to in ScrollControlIntoView.
PublicAutoSizeDefines whether the control sizes its height to its font.
PublicAutoTabDefines whether the input focus moves to the next control when a typed character makes the contents valid.
PublicBackColorDefines the background color of the control.
PublicInherited from System.Windows.Forms.ControlBackgroundImageGets or sets the background image displayed in the control.
PublicInherited from System.Windows.Forms.ControlBackgroundImageLayoutGets or sets the background image layout as defined in the ImageLayout enumeration.
PublicBeepOnErrorDefines whether the control beeps when it rejects a character or a key.
PublicInherited from System.Windows.Forms.ControlBindingContextGets or sets the BindingContext for the control.
PublicBorderColorDefines the color of a FixedSingle border.
PublicBorderStyleDefines the border of the control.
PublicInherited from System.Windows.Forms.ControlBottomGets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
PublicInherited from System.Windows.Forms.ControlBoundsGets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control.
PublicButtonStyleDefines the buttons shown in the control.
PublicCalculatorReturns the settings of the popup calculator.
ProtectedCanEnableImeReturns whether the IME can be enabled for the control.
PublicInherited from System.Windows.Forms.ControlCanFocusGets a value indicating whether the control can receive focus.
ProtectedInherited from System.Windows.Forms.ControlCanRaiseEventsDetermines if events can be raised on the control.
PublicInherited from System.Windows.Forms.ControlCanSelectGets a value indicating whether the control can be selected.
PublicCanUndoReturns whether an earlier change can be undone.
PublicInherited from System.Windows.Forms.ControlCaptureGets or sets a value indicating whether the control has captured the mouse.
PublicInherited from System.Windows.Forms.ControlCausesValidationGets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.
PublicStaticInherited from System.Windows.Forms.ControlCheckForIllegalCrossThreadCallsGets or sets a value indicating whether to catch calls on the wrong thread that access a control's Handle property when an application is being debugged.
PublicInherited from System.Windows.Forms.ControlClientRectangleGets the rectangle that represents the client area of the control.
PublicInherited from System.Windows.Forms.ControlClientSizeGets or sets the height and width of the client area of the control.
PublicClipboardFormatDefines the form of the text copied to the clipboard, and how pasted text is entered.
PublicInherited from System.Windows.Forms.ControlCompanyNameGets the name of the company or creator of the application containing the control.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlComponentSettingsDefines the control's design-time settings.
PublicInherited from System.ComponentModel.ComponentContainerGets the IContainer that contains the Component.
PublicInherited from System.Windows.Forms.ControlContainsFocusGets a value indicating whether the control, or one of its child controls, currently has the input focus.
PublicContentsThe instance of the ContentsClass class that serializes the license information for the Visual Studio designer.
PublicInherited from System.Windows.Forms.ControlContextMenuGets or sets the shortcut menu associated with the control.
PublicInherited from System.Windows.Forms.ControlContextMenuStripGets or sets the ContextMenuStrip associated with this control.
PublicInherited from System.Windows.Forms.ControlControlsGets the collection of controls contained within the control.
PublicInherited from System.Windows.Forms.ControlCreatedGets a value indicating whether the control has been created.
ProtectedInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlCreateParamsGets the required creation parameters when the control handle is created.
PublicCultureDefines the culture that provides the decimal and group separators, the digit grouping, the currency symbol, the date and time separators and the case conversion.
PublicInherited from System.Windows.Forms.ControlCursorGets or sets the cursor that is displayed when the mouse pointer is over the control.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlCustomCodeDefines optional product customization.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlDarkModeDefines whether the control uses dark mode colors.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlDarkModeActiveReturns whether dark mode colors are currently in use.
PublicInherited from System.Windows.Forms.ControlDataBindingsGets the data bindings for the control.
PublicStaticInherited from System.Windows.Forms.ControlDefaultBackColorGets the default background color of the control.
ProtectedInherited from System.Windows.Forms.ControlDefaultCursorGets or sets the default cursor for the control.
PublicStaticInherited from System.Windows.Forms.ControlDefaultFontGets the default font of the control.
PublicStaticInherited from System.Windows.Forms.ControlDefaultForeColorGets the default foreground color of the control.
PublicDefaultHandlingDefines when the default text is entered into an empty control.
ProtectedInherited from System.Windows.Forms.ControlDefaultImeModeGets the default Input Method Editor (IME) mode supported by the control.
ProtectedInherited from System.Windows.Forms.ControlDefaultMarginGets the space, in pixels, that is specified by default between controls.
ProtectedInherited from System.Windows.Forms.ControlDefaultMaximumSizeGets the length and height, in pixels, that is specified as the default maximum size of a control.
ProtectedInherited from System.Windows.Forms.ControlDefaultMinimumSizeGets the length and height, in pixels, that is specified as the default minimum size of a control.
ProtectedInherited from System.Windows.Forms.ControlDefaultPaddingGets the internal spacing, in pixels, of the contents of a control.
ProtectedInherited from System.Windows.Forms.ControlDefaultSizeGets the default size of the control.
PublicDefaultTextDefines the text entered into the control when it is empty.
ProtectedInherited from System.ComponentModel.ComponentDesignModeGets a value that indicates whether the Component is currently in design mode.
PublicInherited from System.Windows.Forms.ControlDeviceDpiGets the DPI value for the display device where the control is currently being displayed.
PublicDisabledForeColorDefines the color of the input while the control is disabled.
PublicDisabledLiteralForeColorDefines the color of the literals while the control is disabled.
PublicInherited from System.Windows.Forms.ControlDisplayRectangleGets the rectangle that represents the display area of the control.
PublicInherited from System.Windows.Forms.ControlDisposingGets a value indicating whether the base Control class is in the process of disposing.
PublicInherited from System.Windows.Forms.ControlDockGets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
ProtectedInherited from System.Windows.Forms.ControlDoubleBufferedGets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker.
PublicDragModeDefines how the selected text is dragged.
PublicDroppedDownReturns whether the calculator or the autocomplete list is open.
PublicInherited from System.Windows.Forms.ControlEnabledGets or sets a value indicating whether the control can respond to user interaction.
PublicEntrySelectDefines the selection when the control receives the input focus.
PublicEntrySelectMouseDefines whether the SftMask.EntrySelect property is also used when a mouse click gives the control the input focus.
ProtectedInherited from System.ComponentModel.ComponentEventsGets the list of event handlers that are attached to this Component.
PublicFocusBackColorDefines the background color while the control has the input focus.
PublicInherited from System.Windows.Forms.ControlFocusedGets a value indicating whether the control has input focus.
PublicFocusForeColorDefines the color of the input while the control has the input focus.
PublicFocusSelectionBackColorDefines the background color of the selection while the control has the input focus.
PublicFocusSelectionForeColorDefines the text color of the selection while the control has the input focus.
PublicInherited from System.Windows.Forms.ControlFontGets or sets the font of the text displayed by the control.
ProtectedInherited from System.Windows.Forms.ControlFontHeightGets or sets the height of the font of the control.
PublicForeColorDefines the color of the input.
PublicFormattedTextDefines a text shown instead of the contents while the control does not have the input focus.
PublicInherited from System.Windows.Forms.ControlHandleGets the window handle that the control is bound to.
PublicInherited from System.Windows.Forms.ControlHasChildrenGets a value indicating whether the control contains one or more child controls.
PublicInherited from System.Windows.Forms.ControlHeightGets or sets the height of the control.
PublicHideSelectionDefines whether the selection is hidden while the control does not have the input focus.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlHighContrastActiveReturns whether the colors of the Windows contrast theme are currently in use.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlHighContrastModeDefines whether the control uses the colors of the Windows contrast theme.
PublicHotTrackDefines whether the buttons show a highlight while the mouse is over them.
PublicIgnoreRangeWhileTypingDefines whether the ranges of numeric fields are ignored while the user types.
PublicInherited from System.Windows.Forms.ControlImeModeGets or sets the Input Method Editor (IME) mode of the control.
ProtectedInherited from System.Windows.Forms.ControlImeModeBaseGets or sets the IME mode of a control.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlInitializingDefines whether this control is initializing.
PublicInputModeDefines whether typed characters are inserted or replace the existing characters.
PublicInvalidBackColorDefines the background color while the contents are not valid.
PublicInvalidForeColorDefines the text color while the contents are not valid.
PublicInherited from System.Windows.Forms.ControlInvokeRequiredGets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on.
PublicInherited from System.Windows.Forms.ControlIsAccessibleGets or sets a value indicating whether the control is visible to accessibility applications.
PublicIsCompleteReturns whether every mandatory input position and every numeric field holds input.
PublicInherited from System.Windows.Forms.ControlIsDisposedGets a value indicating whether the control has been disposed of.
PublicIsEmptyReturns whether no input position holds a character.
PublicIsFullReturns whether every input position holds a character and every numeric field a number.
PublicInherited from System.Windows.Forms.ControlIsHandleCreatedGets a value indicating whether the control has a handle associated with it.
PublicInherited from System.Windows.Forms.ControlIsMirroredGets a value indicating whether the control is mirrored.
PublicIsValidReturns whether the contents are valid.
PublicLabelDefines a text shown next to the input, such as a currency symbol or a unit.
PublicLabelPositionDefines where the label is shown.
PublicInherited from System.Windows.Forms.ControlLayoutEngineGets a cached instance of the control's layout engine.
PublicInherited from System.Windows.Forms.ControlLeftGets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.
PublicLicenseThe product's license number.
PublicLiteralForeColorDefines the color of the literals of the mask.
PublicInherited from System.Windows.Forms.ControlLocationGets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
PublicInherited from System.Windows.Forms.ControlMarginGets or sets the space between controls.
PublicMaskDefines the mask for data entry.
PublicInherited from System.Windows.Forms.ControlMaximumSizeGets or sets the size that is the upper limit that GetPreferredSize can specify.
PublicMaxLengthDefines the maximum number of characters without a mask.
PublicInherited from System.Windows.Forms.ControlMinimumSizeGets or sets the size that is the lower limit that GetPreferredSize can specify.
PublicModifiedDefines whether the user changed the contents since the property was last set to False.
PublicStaticInherited from System.Windows.Forms.ControlMouseButtonsGets a value indicating which of the mouse buttons is in a pressed state.
PublicStaticInherited from System.Windows.Forms.ControlMousePositionGets the position of the mouse cursor in screen coordinates.
PublicInherited from System.Windows.Forms.ControlNameGets or sets the name of the control.
PublicOvertypeDefines whether the control is in overtype mode.
PublicInherited from System.Windows.Forms.ControlPaddingGets or sets padding within the control.
PublicInherited from System.Windows.Forms.ControlParentGets or sets the parent container of the control.
PublicPasswordCharDefines the character shown instead of the input in password positions.
PublicPositionsReturns information about each position of the mask.
PublicPreferredHeightReturns the height that fits the font.
PublicInherited from System.Windows.Forms.ControlPreferredSizeGets the size of a rectangular area into which the control can fit.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlProductNameReturns the product name of the control.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlProductVersionReturns the version of the assembly containing the control.
PublicPromptCharDefines the character shown in empty input positions while the control has the input focus.
PublicPromptUnderlineDefines whether input positions are underlined while the control has the input focus.
PublicPromptUnderlineNoFocusDefines whether input positions are underlined while the control does not have the input focus.
ProtectedStaticInherited from System.Windows.Forms.ControlPropagatingImeModeGets an object that represents a propagating IME mode.
PublicReadOnlyDefines whether the user can change the contents.
PublicReadOnlyEllipseDefines whether the ellipse button is disabled.
PublicReadOnlyUpDownDefines whether the up and down buttons are disabled.
PublicInherited from System.Windows.Forms.ControlRecreatingHandleGets a value indicating whether the control is currently re-creating its handle.
PublicInherited from System.Windows.Forms.ControlRegionGets or sets the window region associated with the control.
PublicRejectInputOnFirstFailureDefines whether a pasted text is rejected as a whole when one of its characters does not fit.
ProtectedInherited from System.Windows.Forms.ControlRenderRightToLeftThis property is now obsolete.
PublicResetOnPromptDefines whether typing the prompt character empties the input position at the caret.
PublicResetOnSpaceDefines whether typing a space at a position that does not accept it empties the position.
ProtectedInherited from System.Windows.Forms.ControlResizeRedrawGets or sets a value indicating whether the control redraws itself when resized.
PublicInherited from System.Windows.Forms.ControlRightGets the distance, in pixels, between the right edge of the control and the left edge of its container's client area.
PublicInherited from System.Windows.Forms.ControlRightToLeftGets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlSaveSettingsDefines whether design-time control information is saved.
ProtectedInherited from System.Windows.Forms.ControlScaleChildrenGets a value that determines the scaling of child controls.
PublicSelectedTextDefines the selected text.
PublicSelectionBackColorDefines the background color of the selection.
PublicSelectionForeColorDefines the text color of the selection.
PublicSelectionLengthDefines the number of selected positions.
PublicSelectionStartDefines the starting position of the selection.
PublicShortcutsEnabledDefines whether Ctrl+A, the clipboard and undo shortcuts and the context menu are available.
ProtectedInherited from System.Windows.Forms.ControlShowFocusCuesGets a value indicating whether the control should display focus rectangles.
ProtectedInherited from System.Windows.Forms.ControlShowKeyboardCuesGets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators.
PublicShowPromptNoFocusDefines whether the prompt characters are also shown while the control does not have the input focus.
PublicInherited from System.Windows.Forms.ControlSiteGets or sets the site of the control.
PublicInherited from System.Windows.Forms.ControlSizeGets or sets the height and width of the control.
PublicSkipLiteralsDefines whether typing the literal character at a literal position moves past it.
PublicSpinAccelerationsReturns the steps used while an up or down button is held down.
PublicSpinArrowKeysDefines whether the Up and Down keys spin a numeric field defined with the ^ subtoken.
PublicSpinIncrementDefines the step of the built-in spinning of numeric fields.
PublicTabAdvanceDefines whether the Tab key moves between the fields of the mask before it moves to the next control.
PublicTabAdvanceLastDefines whether the Tab key stops at the end of the contents before moving to the next control (SftMask.TabAdvance property).
PublicInherited from System.Windows.Forms.ControlTabIndexGets or sets the tab order of the control within its container.
PublicInherited from System.Windows.Forms.ControlTabStopGets or sets a value indicating whether the user can give the focus to this control using the TAB key.
PublicInherited from System.Windows.Forms.ControlTagGets or sets the object that contains data about the control.
PublicTextDefines the contents of the control.
PublicTextAlignDefines the alignment of the contents.
PublicTextFormatDefines the form of the SftMask.Text property.
PublicTextLengthReturns the number of characters of the contents (SftMask.Text property).
PublicTextNoLiteralsDefines the contents without the literals.
PublicTextWithLiteralsDefines the contents including the literals.
PublicInherited from System.Windows.Forms.ControlTopGets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.
PublicInherited from System.Windows.Forms.ControlTopLevelControlGets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form that the control is contained in.
PublicUpDownAlignDefines on which side the up and down buttons (or the ellipse button) are shown.
PublicUseSystemPasswordCharDefines whether password positions show the system's password character.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlUseThemesDefines whether Windows themes are used.
PublicInherited from System.Windows.Forms.ControlUseWaitCursorGets or sets a value indicating whether to use the wait cursor for the current control and all child controls.
PublicValidatingTypeDefines the type the Validating step converts the contents to.
PublicValueDefines the value of the first numeric field of the mask.
PublicValuesReturns the values of the value tokens (!0 to !9) of the mask.
PublicInherited from System.Windows.Forms.ControlVisibleGets or sets a value indicating whether the control and all its child controls are displayed.
PublicInherited from System.Windows.Forms.ControlWidthGets or sets the width of the control.
PublicInherited from System.Windows.Forms.ControlWindowTargetThis property is not relevant for this class.

Methods

ProtectedInherited from System.Windows.Forms.ControlAccessibilityNotifyClientsNotifies the accessibility client applications of the specified AccessibleEvents for the specified child control.
PublicAnnounceAnnounces a status message to screen readers.
PublicApplyDefaultTextEnters the default text (SftMask.DefaultText property) if the control is empty.
PublicInherited from System.Windows.Forms.ControlBeginInvokeExecutes the specified delegate asynchronously on the thread that the control's underlying handle was created on.
PublicInherited from System.Windows.Forms.ControlBringToFrontBrings the control to the front of the z-order.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlCancelModeCancels internal modes.
PublicClearEmpties the control.
PublicClearUndoClears the information about earlier changes, so they cannot be undone.
PublicCloseDropDownCloses the calculator or the autocomplete list without changing the contents.
PublicInherited from System.Windows.Forms.ControlContainsRetrieves a value indicating whether the specified control is a child of the control.
PublicCopyCopies the selected text to the clipboard.
ProtectedInherited from System.Windows.Forms.ControlCreateAccessibilityInstanceCreates a new accessibility object for the control.
PublicInherited from System.Windows.Forms.ControlCreateControlForces the creation of the visible control, including the creation of the handle and any visible child controls.
ProtectedInherited from System.Windows.Forms.ControlCreateControlsInstanceCreates a new instance of the control collection for the control.
PublicInherited from System.Windows.Forms.ControlCreateGraphicsCreates the Graphics for the control.
ProtectedInherited from System.Windows.Forms.ControlCreateHandleCreates a handle for the control.
PublicInherited from System.MarshalByRefObjectCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
PublicCutMoves the selected text to the clipboard.
ProtectedInherited from System.Windows.Forms.ControlDefWndProcSends the specified message to the default window procedure.
PublicDeselectAllRemoves the selection; the caret stays where it is.
ProtectedInherited from System.Windows.Forms.ControlDestroyHandleDestroys the handle associated with the control.
PublicDisposeCleans up any resources being used.
PublicInherited from System.Windows.Forms.ControlDoDragDropBegins a drag-and-drop operation.
PublicInherited from System.Windows.Forms.ControlDrawToBitmapSupports rendering to the specified bitmap.
PublicInherited from System.Windows.Forms.ControlEndInvokeRetrieves the return value of the asynchronous operation represented by the IAsyncResult passed.
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ComponentModel.ComponentFinalizeReleases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
PublicInherited from System.Windows.Forms.ControlFindFormRetrieves the form that the control is on.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlFocusSets the focus to this instance of the control.
PublicStaticFormatCurrencyFormats an amount of money with the conventions of a culture.
PublicStaticFormatNumberFormats a number with the conventions of a culture.
PublicStaticInherited from System.Windows.Forms.ControlFromChildHandleRetrieves the control that contains the specified handle.
PublicStaticInherited from System.Windows.Forms.ControlFromHandleReturns the control that is currently associated with the specified handle.
ProtectedInherited from System.Windows.Forms.ControlGetAccessibilityObjectByIdRetrieves the specified AccessibleObject.
ProtectedInherited from System.Windows.Forms.ControlGetAutoSizeModeRetrieves a value indicating how a control will behave when its AutoSize property is enabled.
PublicGetCharBoundsReturns the rectangle covering a range of character positions.
PublicGetCharIndexFromPositionReturns the position of the character closest to a location.
PublicInherited from System.Windows.Forms.ControlGetChildAtPointRetrieves the child control that is located at the specified coordinates.
PublicInherited from System.Windows.Forms.ControlGetContainerControlReturns the next ContainerControl up the control's chain of parent controls.
PublicStaticGetContentsReturns the properties of a control as an XML document.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.MarshalByRefObjectGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
PublicInherited from System.Windows.Forms.ControlGetNextControlRetrieves the next control forward or back in the tab order of child controls.
PublicGetPositionFromCharIndexReturns the location of a character position.
PublicGetPreferredSizeReturns the control's current width and the height that fits the font (SftMask.PreferredHeight property).
ProtectedInherited from System.Windows.Forms.ControlGetScaledBoundsRetrieves the bounds within which the control is scaled.
ProtectedInherited from System.ComponentModel.ComponentGetServiceReturns an object that represents a service provided by the Component or by its Container.
ProtectedInherited from System.Windows.Forms.ControlGetStyleRetrieves the value of the specified control style bit for the control.
PublicGetTextReturns the contents of the control in a given form.
ProtectedInherited from System.Windows.Forms.ControlGetTopLevelDetermines if the control is a top-level control.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
PublicInherited from System.Windows.Forms.ControlHideConceals the control from the user.
PublicHitTestReturns the part of the control at a location.
PublicInherited from System.MarshalByRefObjectInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
ProtectedInherited from System.Windows.Forms.ControlInitLayoutCalled after the control has been added to another container.
PublicInherited from System.Windows.Forms.ControlInvalidateInvalidates the entire surface of the control and causes the control to be redrawn.
PublicInherited from System.Windows.Forms.ControlInvokeExecutes the specified delegate on the thread that owns the control's underlying window handle.
ProtectedInherited from System.Windows.Forms.ControlInvokeGotFocusRaises the GotFocus event for the specified control.
ProtectedInherited from System.Windows.Forms.ControlInvokeLostFocusRaises the LostFocus event for the specified control.
ProtectedInherited from System.Windows.Forms.ControlInvokeOnClickRaises the Click event for the specified control.
ProtectedInherited from System.Windows.Forms.ControlInvokePaintRaises the Paint event for the specified control.
ProtectedInherited from System.Windows.Forms.ControlInvokePaintBackgroundRaises the PaintBackground event for the specified control.
ProtectedIsInputCharDetermines whether a character is an input character handled by the control.
ProtectedIsInputKeyDetermines whether a key is an input key handled by the control.
PublicStaticInherited from System.Windows.Forms.ControlIsKeyLockedDetermines whether the CAPS LOCK, NUM LOCK, or SCROLL LOCK key is in effect.
PublicStaticInherited from System.Windows.Forms.ControlIsMnemonicDetermines if the specified character is the mnemonic character assigned to the control in the specified string.
PublicInherited from System.Windows.Forms.ControlLogicalToDeviceUnitsConverts a Logical DPI value to it's equivalent DeviceUnit DPI value.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
ProtectedInherited from System.Windows.Forms.ControlNotifyInvalidateRaises the Invalidated event with a specified region of the control to invalidate.
ProtectedInherited from System.Windows.Forms.ControlOnAutoSizeChangedRaises the AutoSizeChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnBackColorChangedRaises the BackColorChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnBackgroundImageChangedRaises the BackgroundImageChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnBackgroundImageLayoutChangedRaises the BackgroundImageLayoutChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnBindingContextChangedRaises the BindingContextChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnCausesValidationChangedRaises the CausesValidationChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnChangeUICuesRaises the ChangeUICues event.
ProtectedInherited from System.Windows.Forms.ControlOnClickRaises the Click event.
ProtectedInherited from System.Windows.Forms.ControlOnClientSizeChangedRaises the ClientSizeChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnContextMenuChangedRaises the ContextMenuChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnContextMenuStripChangedRaises the ContextMenuStripChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnControlAddedRaises the ControlAdded event.
ProtectedInherited from System.Windows.Forms.ControlOnControlRemovedRaises the ControlRemoved event.
ProtectedInherited from System.Windows.Forms.ControlOnCreateControlRaises the CreateControl method.
ProtectedInherited from System.Windows.Forms.ControlOnCursorChangedRaises the CursorChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnDockChangedRaises the DockChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnDoubleClickRaises the DoubleClick event.
ProtectedInherited from System.Windows.Forms.ControlOnDpiChangedAfterParentRaises the DpiChangedAfterParent event.
ProtectedInherited from System.Windows.Forms.ControlOnDpiChangedBeforeParentRaises the DpiChangedBeforeParent event.
ProtectedOnDragDropRaises the DragDrop event.
ProtectedOnDragEnterRaises the DragEnter event.
ProtectedOnDragLeaveRaises the DragLeave event.
ProtectedOnDragOverRaises the DragOver event.
ProtectedOnEnabledChangedRaises the EnabledChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnEnterRaises the Enter event.
ProtectedOnFontChangedRaises the FontChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnForeColorChangedRaises the ForeColorChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnGiveFeedbackRaises the GiveFeedback event.
ProtectedOnGotFocusRaises the GotFocus event.
ProtectedOnHandleCreatedRaises the HandleCreated event.
ProtectedInherited from System.Windows.Forms.ControlOnHandleDestroyedRaises the HandleDestroyed event.
ProtectedInherited from System.Windows.Forms.ControlOnHelpRequestedRaises the HelpRequested event.
ProtectedInherited from System.Windows.Forms.ControlOnImeModeChangedRaises the ImeModeChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnInvalidatedRaises the Invalidated event.
ProtectedOnKeyDownRaises the KeyDown event.
ProtectedOnKeyPressRaises the KeyPress event.
ProtectedOnKeyUpRaises the KeyUp event.
ProtectedInherited from System.Windows.Forms.ControlOnLayoutRaises the Layout event.
ProtectedOnLeaveRaises the Leave event.
ProtectedInherited from System.Windows.Forms.ControlOnLocationChangedRaises the LocationChanged event.
ProtectedOnLostFocusRaises the LostFocus event.
ProtectedInherited from System.Windows.Forms.ControlOnMarginChangedRaises the MarginChanged event.
ProtectedOnMouseCaptureChangedRaises the MouseCaptureChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnMouseClickRaises the MouseClick event.
ProtectedInherited from System.Windows.Forms.ControlOnMouseDoubleClickRaises the MouseDoubleClick event.
ProtectedOnMouseDownRaises the MouseDown event.
ProtectedInherited from System.Windows.Forms.ControlOnMouseEnterRaises the MouseEnter event.
ProtectedInherited from System.Windows.Forms.ControlOnMouseHoverRaises the MouseHover event.
ProtectedOnMouseLeaveRaises the MouseLeave event.
ProtectedOnMouseMoveRaises the MouseMove event.
ProtectedOnMouseUpRaises the MouseUp event.
ProtectedOnMouseWheelRaises the MouseWheel event.
ProtectedInherited from System.Windows.Forms.ControlOnMoveRaises the Move event.
ProtectedInherited from System.Windows.Forms.ControlOnNotifyMessageNotifies the control of Windows messages.
ProtectedInherited from System.Windows.Forms.ControlOnPaddingChangedRaises the PaddingChanged event.
ProtectedOnPaintRaises the Paint event.
ProtectedOnPaintBackgroundPaints the background of the control.
ProtectedInherited from System.Windows.Forms.ControlOnParentBackColorChangedRaises the BackColorChanged event when the BackColor property value of the control's container changes.
ProtectedInherited from System.Windows.Forms.ControlOnParentBackgroundImageChangedRaises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes.
ProtectedInherited from System.Windows.Forms.ControlOnParentBindingContextChangedRaises the BindingContextChanged event when the BindingContext property value of the control's container changes.
ProtectedInherited from System.Windows.Forms.ControlOnParentChangedRaises the ParentChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnParentCursorChangedRaises the CursorChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnParentEnabledChangedRaises the EnabledChanged event when the Enabled property value of the control's container changes.
ProtectedInherited from System.Windows.Forms.ControlOnParentFontChangedRaises the FontChanged event when the Font property value of the control's container changes.
ProtectedInherited from System.Windows.Forms.ControlOnParentForeColorChangedRaises the ForeColorChanged event when the ForeColor property value of the control's container changes.
ProtectedInherited from System.Windows.Forms.ControlOnParentRightToLeftChangedRaises the RightToLeftChanged event when the RightToLeft property value of the control's container changes.
ProtectedInherited from System.Windows.Forms.ControlOnParentVisibleChangedRaises the VisibleChanged event when the Visible property value of the control's container changes.
ProtectedInherited from System.Windows.Forms.ControlOnPreviewKeyDownRaises the PreviewKeyDown event.
ProtectedInherited from System.Windows.Forms.ControlOnPrintRaises the Paint event.
ProtectedInherited from System.Windows.Forms.ControlOnQueryContinueDragRaises the QueryContinueDrag event.
ProtectedInherited from System.Windows.Forms.ControlOnRegionChangedRaises the RegionChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnResizeRaises the Resize event.
ProtectedOnRightToLeftChangedRaises the RightToLeftChanged event.
ProtectedOnSizeChangedRaises the SizeChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnStyleChangedRaises the StyleChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnSystemColorsChangedRaises the SystemColorsChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnTabIndexChangedRaises the TabIndexChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnTabStopChangedRaises the TabStopChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnTextChangedRaises the TextChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnValidatedRaises the Validated event.
ProtectedOnValidatingRaises the Validating event, after the control validated its contents.
ProtectedOnVisibleChangedRaises the VisibleChanged event.
PublicPasteReplaces the selection with the text on the clipboard, or with a given text as if it were pasted.
PublicPerformEllipseClickRaises the SftMask.EllipseClick event, as clicking the ellipse button does.
PublicInherited from System.Windows.Forms.ControlPerformLayoutForces the control to apply layout logic to all its child controls.
PublicInherited from System.Windows.Forms.ControlPointToClientComputes the location of the specified screen point into client coordinates.
PublicInherited from System.Windows.Forms.ControlPointToScreenComputes the location of the specified client point into screen coordinates.
PublicInherited from System.Windows.Forms.ControlPreProcessControlMessagePreprocesses keyboard or input messages within the message loop before they are dispatched.
PublicInherited from System.Windows.Forms.ControlPreProcessMessagePreprocesses keyboard or input messages within the message loop before they are dispatched.
ProtectedProcessCmdKeyProcesses a command key.
ProtectedInherited from System.Windows.Forms.ControlProcessDialogCharProcesses a dialog character.
ProtectedInherited from System.Windows.Forms.ControlProcessDialogKeyProcesses a dialog key.
ProtectedInherited from System.Windows.Forms.ControlProcessKeyEventArgsProcesses a key message and generates the appropriate control events.
ProtectedInherited from System.Windows.Forms.ControlProcessKeyMessageProcesses a keyboard message.
ProtectedInherited from System.Windows.Forms.ControlProcessKeyPreviewPreviews a keyboard message.
ProtectedInherited from System.Windows.Forms.ControlProcessMnemonicProcesses a mnemonic character.
ProtectedInherited from System.Windows.Forms.ControlRaiseDragEventRaises the appropriate drag event.
ProtectedInherited from System.Windows.Forms.ControlRaiseKeyEventRaises the appropriate key event.
ProtectedInherited from System.Windows.Forms.ControlRaiseMouseEventRaises the appropriate mouse event.
ProtectedInherited from System.Windows.Forms.ControlRaisePaintEventRaises the appropriate paint event.
ProtectedInherited from System.Windows.Forms.ControlRecreateHandleForces the re-creation of the handle for the control.
PublicInherited from System.Windows.Forms.ControlRectangleToClientComputes the size and location of the specified screen rectangle in client coordinates.
PublicInherited from System.Windows.Forms.ControlRectangleToScreenComputes the size and location of the specified client rectangle in screen coordinates.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
ProtectedStaticInherited from System.Windows.Forms.ControlReflectMessageReflects the specified message to the control that is bound to the specified handle.
PublicInherited from System.Windows.Forms.ControlRefreshForces the control to invalidate its client area and immediately redraw itself and any child controls.
ProtectedInherited from System.Windows.Forms.ControlRescaleConstantsForDpiProvides constants for rescaling the control when a DPI change occurs.
PublicResetBackColorResets the background color to its default.
PublicInherited from System.Windows.Forms.ControlResetBindingsCauses a control bound to the BindingSource to reread all the items in the list and refresh their displayed values.
PublicInherited from System.Windows.Forms.ControlResetCursorResets the Cursor property to its default value.
PublicInherited from System.Windows.Forms.ControlResetFontResets the Font property to its default value.
PublicResetForeColorResets the color of the input to its default.
PublicInherited from System.Windows.Forms.ControlResetImeModeResets the ImeMode property to its default value.
ProtectedInherited from System.Windows.Forms.ControlResetMouseEventArgsResets the control to handle the MouseLeave event.
PublicInherited from System.Windows.Forms.ControlResetRightToLeftResets the RightToLeft property to its default value.
PublicResetTextResets the contents to an empty control.
PublicInherited from System.Windows.Forms.ControlResumeLayoutResumes usual layout logic.
ProtectedInherited from System.Windows.Forms.ControlRtlTranslateAlignmentConverts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.
ProtectedInherited from System.Windows.Forms.ControlRtlTranslateContentConverts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.
ProtectedInherited from System.Windows.Forms.ControlRtlTranslateHorizontalConverts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
ProtectedInherited from System.Windows.Forms.ControlRtlTranslateLeftRightConverts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlSaveComponentSettingsInternal use only. Saves the component settings.
PublicInherited from System.Windows.Forms.ControlScaleScales the control and all child controls by the specified scaling factor.
PublicInherited from System.Windows.Forms.ControlScaleBitmapLogicalToDeviceScales a logical bitmap value to it's equivalent device unit value when a DPI change occurs.
ProtectedInherited from System.Windows.Forms.ControlScaleControlScales a control's location, size, padding and margin.
ProtectedInherited from System.Windows.Forms.ControlScaleCoreThis method is not relevant for this class.
PublicScrollToCaretScrolls the contents so the caret is visible.
PublicSelectSelects a range of positions.
PublicSelectAllSelects all of the contents.
PublicInherited from System.Windows.Forms.ControlSelectNextControlActivates the next control.
PublicInherited from System.Windows.Forms.ControlSendToBackSends the control to the back of the z-order.
ProtectedInherited from System.Windows.Forms.ControlSetAutoSizeModeSets a value indicating how a control will behave when its AutoSize property is enabled.
PublicInherited from System.Windows.Forms.ControlSetBoundsSets the bounds of the control to the specified location and size.
ProtectedSetBoundsCorePerforms the work of setting the bounds of the control.
ProtectedInherited from System.Windows.Forms.ControlSetClientSizeCoreSets the size of the client area of the control.
PublicStaticSetContentsLoads the properties of a control from an XML document.
ProtectedInherited from System.Windows.Forms.ControlSetStyleSets a specified ControlStyles flag to either true or false.
ProtectedInherited from System.Windows.Forms.ControlSetTopLevelSets the control as the top-level control.
ProtectedInherited from System.Windows.Forms.ControlSetVisibleCoreSets the control to the specified visible state.
PublicInherited from System.Windows.Forms.ControlShowDisplays the control to the user.
ProtectedInherited from System.Windows.Forms.ControlSizeFromClientSizeDetermines the size of the entire control from the height and width of its client area.
PublicSpinDownDecreases the numeric field containing the caret, as the down button does.
PublicSpinUpIncreases the numeric field containing the caret, as the up button does.
PublicInherited from System.Windows.Forms.ControlSuspendLayoutTemporarily suspends the layout logic for the control.
PublicInherited from System.ComponentModel.ComponentToStringReturns a String containing the name of the Component, if any. This method should not be overridden.
PublicUndoUndoes the most recent change made by the user; up to 16 changes can be undone.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlUpdateCauses the control to redraw the invalidated regions within its client area.
ProtectedInherited from System.Windows.Forms.ControlUpdateBoundsUpdates the bounds of the control with the current size and location.
ProtectedInherited from System.Windows.Forms.ControlUpdateStylesForces the assigned styles to be reapplied to the control.
ProtectedInherited from System.Windows.Forms.ControlUpdateZOrderUpdates the control in its parent's z-order.
PublicValidateContentsValidates the contents and raises the SftMask.ValidationError event if they are not valid.
PublicValidateTextConverts the contents to the SftMask.ValidatingType and raises the SftMask.TypeValidationCompleted event.
ProtectedWndProcProcesses Windows messages.

Events

PublicAutoCompleteAcceptOccurs when the user selects an entry of the autocomplete list.
PublicAutoCompleteAddCustomItemsOccurs when the autocomplete list is built, so the application can add custom entries.
PublicAutoCompleteCustomOccurs when the user selects a custom entry of the autocomplete list.
PublicAutoCompleteMatchingOccurs for each entry the autocomplete feature considers.
PublicInherited from System.Windows.Forms.ControlAutoSizeChangedThis event is not relevant for this class.
PublicInherited from System.Windows.Forms.ControlBackColorChangedOccurs when the value of the BackColor property changes.
PublicInherited from System.Windows.Forms.ControlBackgroundImageChangedOccurs when the value of the BackgroundImage property changes.
PublicInherited from System.Windows.Forms.ControlBackgroundImageLayoutChangedOccurs when the BackgroundImageLayout property changes.
PublicInherited from System.Windows.Forms.ControlBindingContextChangedOccurs when the value of the BindingContext property changes.
PublicCalculatorKeyDownOccurs when a key is pressed in the calculator.
PublicCalculatorKeyPressOccurs when a character is typed in the calculator.
PublicCalculatorKeyUpOccurs when a key is released in the calculator.
PublicCalculatorOpeningOccurs when an operator typed in a numeric field with a calculator is about to open the calculator.
PublicInherited from System.Windows.Forms.ControlCausesValidationChangedOccurs when the value of the CausesValidation property changes.
PublicInherited from System.Windows.Forms.ControlChangeUICuesOccurs when the focus or keyboard user interface (UI) cues change.
PublicInherited from System.Windows.Forms.ControlClickOccurs when the control is clicked.
PublicInherited from System.Windows.Forms.ControlClientSizeChangedOccurs when the value of the ClientSize property changes.
PublicInherited from System.Windows.Forms.ControlContextMenuChangedOccurs when the value of the ContextMenu property changes.
PublicInherited from System.Windows.Forms.ControlContextMenuStripChangedOccurs when the value of the ContextMenuStrip property changes.
PublicInherited from System.Windows.Forms.ControlControlAddedOccurs when a new control is added to the ControlCollection.
PublicInherited from System.Windows.Forms.ControlControlRemovedOccurs when a control is removed from the ControlCollection.
PublicInherited from System.Windows.Forms.ControlCursorChangedOccurs when the value of the Cursor property changes.
PublicCustomValidationOccurs when the contents are validated, after the mask's own checks passed; setting Cancel makes them not valid.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlDarkModeChangedOccurs when the control switches between light and dark mode colors.
PublicInherited from System.ComponentModel.ComponentDisposedOccurs when the component is disposed by a call to the Dispose method.
PublicInherited from System.Windows.Forms.ControlDockChangedOccurs when the value of the Dock property changes.
PublicInherited from System.Windows.Forms.ControlDoubleClickOccurs when the control is double-clicked.
PublicInherited from System.Windows.Forms.ControlDpiChangedAfterParentOccurs when the DPI setting for a control is changed programmatically after the DPI of its parent control or form has changed.
PublicInherited from System.Windows.Forms.ControlDpiChangedBeforeParentOccurs when the DPI setting for a control is changed programmatically before a DPI change event for its parent control or form has occurred.
PublicInherited from System.Windows.Forms.ControlDragDropOccurs when a drag-and-drop operation is completed.
PublicInherited from System.Windows.Forms.ControlDragEnterOccurs when an object is dragged into the control's bounds.
PublicInherited from System.Windows.Forms.ControlDragLeaveOccurs when an object is dragged out of the control's bounds.
PublicInherited from System.Windows.Forms.ControlDragOverOccurs when an object is dragged over the control's bounds.
PublicDragStartingOccurs when the mouse button is pressed on the selected text and SftMask.DragMode is DragModeEnum.Manual.
PublicDropDownClosedOccurs when the calculator or the autocomplete list closes.
PublicDropDownOpenedOccurs when the calculator or the autocomplete list opens.
PublicEllipseClickOccurs when the ellipse button is clicked or Alt+Down is pressed.
PublicInherited from System.Windows.Forms.ControlEnabledChangedOccurs when the Enabled property value has changed.
PublicInherited from System.Windows.Forms.ControlEnterOccurs when the control is entered.
PublicInherited from System.Windows.Forms.ControlFontChangedOccurs when the Font property value changes.
PublicInherited from System.Windows.Forms.ControlForeColorChangedOccurs when the ForeColor property value changes.
PublicInherited from System.Windows.Forms.ControlGiveFeedbackOccurs during a drag operation.
PublicInherited from System.Windows.Forms.ControlGotFocusOccurs when the control receives focus.
PublicInherited from System.Windows.Forms.ControlHandleCreatedOccurs when a handle is created for the control.
PublicInherited from System.Windows.Forms.ControlHandleDestroyedOccurs when the control's handle is in the process of being destroyed.
PublicInherited from System.Windows.Forms.ControlHelpRequestedOccurs when the user requests help for a control.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlHighContrastChangedOccurs when the control switches between its own colors and the colors of the Windows contrast theme.
PublicInherited from System.Windows.Forms.ControlImeModeChangedOccurs when the ImeMode property has changed.
PublicInputModeChangedOccurs when the control switches between insert and overtype mode.
PublicInputRejectedOccurs when a typed, pasted or set character does not fit the mask, or when a deletion is not possible.
PublicInherited from System.Windows.Forms.ControlInvalidatedOccurs when a control's display requires redrawing.
PublicInherited from System.Windows.Forms.ControlKeyDownOccurs when a key is pressed while the control has focus.
PublicInherited from System.Windows.Forms.ControlKeyPressOccurs when a character. space or backspace key is pressed while the control has focus.
PublicInherited from System.Windows.Forms.ControlKeyUpOccurs when a key is released while the control has focus.
PublicInherited from System.Windows.Forms.ControlLayoutOccurs when a control should reposition its child controls.
PublicInherited from System.Windows.Forms.ControlLeaveOccurs when the input focus leaves the control.
PublicInherited from System.Windows.Forms.ControlLocationChangedOccurs when the Location property value has changed.
PublicInherited from System.Windows.Forms.ControlLostFocusOccurs when the control loses focus.
PublicInherited from System.Windows.Forms.ControlMarginChangedOccurs when the control's margin changes.
PublicMaskChangedOccurs when the SftMask.Mask property changes.
PublicModifiedChangedOccurs when the SftMask.Modified property changes.
PublicInherited from System.Windows.Forms.ControlMouseCaptureChangedOccurs when the control loses mouse capture.
PublicInherited from System.Windows.Forms.ControlMouseClickOccurs when the control is clicked by the mouse.
PublicInherited from System.Windows.Forms.ControlMouseDoubleClickOccurs when the control is double clicked by the mouse.
PublicInherited from System.Windows.Forms.ControlMouseDownOccurs when the mouse pointer is over the control and a mouse button is pressed.
PublicInherited from System.Windows.Forms.ControlMouseEnterOccurs when the mouse pointer enters the control.
PublicInherited from System.Windows.Forms.ControlMouseHoverOccurs when the mouse pointer rests on the control.
PublicInherited from System.Windows.Forms.ControlMouseLeaveOccurs when the mouse pointer leaves the control.
PublicInherited from System.Windows.Forms.ControlMouseMoveOccurs when the mouse pointer is moved over the control.
PublicInherited from System.Windows.Forms.ControlMouseUpOccurs when the mouse pointer is over the control and a mouse button is released.
PublicInherited from System.Windows.Forms.ControlMouseWheelOccurs when the mouse wheel moves while the control has focus.
PublicInherited from System.Windows.Forms.ControlMoveOccurs when the control is moved.
PublicInherited from System.Windows.Forms.ControlPaddingChangedOccurs when the control's padding changes.
PublicInherited from System.Windows.Forms.ControlPaintOccurs when the control is redrawn.
PublicInherited from System.Windows.Forms.ControlParentChangedOccurs when the Parent property value changes.
PublicPrePasteOccurs before a text is pasted; the handler can change or cancel the text.
PublicInherited from System.Windows.Forms.ControlPreviewKeyDownOccurs before the KeyDown event when a key is pressed while focus is on this control.
PublicInherited from Softelvdm.SftMaskNET.Controls.SoftelvdmUserControlPropertyChangedOccurs when a property of an object derived from SoftelvdmUserControl is modified.
PublicInherited from System.Windows.Forms.ControlQueryAccessibilityHelpOccurs when AccessibleObject is providing help to accessibility applications.
PublicInherited from System.Windows.Forms.ControlQueryContinueDragOccurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
PublicInherited from System.Windows.Forms.ControlRegionChangedOccurs when the value of the Region property changes.
PublicInherited from System.Windows.Forms.ControlResizeOccurs when the control is resized.
PublicInherited from System.Windows.Forms.ControlRightToLeftChangedOccurs when the RightToLeft property value changes.
PublicInherited from System.Windows.Forms.ControlSizeChangedOccurs when the Size property value changes.
PublicInherited from System.Windows.Forms.ControlStyleChangedOccurs when the control style changes.
PublicInherited from System.Windows.Forms.ControlSystemColorsChangedOccurs when the system colors change.
PublicInherited from System.Windows.Forms.ControlTabIndexChangedOccurs when the TabIndex property value changes.
PublicInherited from System.Windows.Forms.ControlTabStopChangedOccurs when the TabStop property value changes.
PublicInherited from System.Windows.Forms.ControlTextChangedOccurs when the Text property value changes.
PublicTextNoLiteralsChangedOccurs when the SftMask.TextNoLiterals property changes.
PublicTextWithLiteralsChangedOccurs when the SftMask.TextWithLiterals property changes.
PublicTypeValidationCompletedOccurs after the control tried to convert its contents to the SftMask.ValidatingType.
PublicUpDownPressOccurs when an up or down button is pressed or the Up or Down key is used in a numeric field with spinning.
PublicUpDownPressedOccurs after an up or down press was handled.
PublicInherited from System.Windows.Forms.ControlValidatedOccurs when the control is finished validating.
PublicInherited from System.Windows.Forms.ControlValidatingOccurs when the control is validating.
PublicValidationErrorOccurs when the validation finds that the contents are not valid.
PublicValueChangedOccurs when the value of the first numeric field changes.
PublicInherited from System.Windows.Forms.ControlVisibleChangedOccurs when the Visible property value changes.

Examples

C# View entire sample code

using System.Windows.Forms;

using Softelvdm.SftMaskNET;
using Softelvdm.SftMaskNET.Controls;

namespace DemoSample {
    public partial class Form1 : Form {

        private SftMask[] fields;

        public Form1() {
            InitializeComponent();
            fields = new SftMask[] { sftMaskPhone, sftMaskZip, sftMaskAmount, sftMaskPercent, sftMaskQuantity, sftMaskIP,
                sftMaskColor, sftMaskKey, sftMaskPin, sftMaskCity, sftMaskFile };

            sftMaskPhone.Text = "4079045200";

VB.NET View entire sample code

Imports System.Globalization
Imports Softelvdm.SftMaskNET
Imports Softelvdm.SftMaskNET.Controls

Public Class Form1

    Private fields() As SftMask

    Public Sub New()
        InitializeComponent()
        fields = New SftMask() {SftMaskPhone, SftMaskZip, SftMaskAmount, SftMaskPercent, SftMaskQuantity, SftMaskIP,
            SftMaskColor, SftMaskKey, SftMaskPin, SftMaskCity, SftMaskFile}

        SftMaskPhone.Text = "4079045200"
        SftMaskZip.Text = "328011234"
        SftMaskIP.Text = "192168001001"

See Also Classes | SftMask/NET 3.0