Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions WindowsForms/MaskedTextBox/Appearance-Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ documentation: ug

## Background settings

The background settings of the MaskedEditBox control are discussed below.
The background settings of the WinForms MaskedTextBox control are discussed below.

### Background color

Expand Down Expand Up @@ -46,7 +46,7 @@ Me.maskedEditBox1.BackColor = System.Drawing.Color.PaleGoldenrod
![Set the background color to WF MaskedEditBox](MaskedEditBox-images/MarkedEditBox-img15.png)


You can also reset the background color for MaskedEditBox control by using the [ResetBackColor](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html#Syncfusion_Windows_Forms_Tools_MaskedEditBox_ResetBackColor) method.
You can also reset the background color for the WinForms MaskedTextBox control by using the [ResetBackColor](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html#Syncfusion_Windows_Forms_Tools_MaskedEditBox_ResetBackColor) method.

<table>
<tr>
Expand All @@ -61,11 +61,11 @@ Resets the BackColor property to its default value.</td></tr>

## Foreground settings

The foreground settings of the MaskedEditBox control are discussed below.
The foreground settings of the WinForms MaskedTextBox control are discussed below.

### Foreground color

You can set the foreground color for MaskedEditBox Control by using the [ForeColor](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.textboxbase.forecolor?redirectedfrom=MSDN&view=netcore-3.1#System_Windows_Forms_TextBoxBase_ForeColor) property.
You can set the foreground color for WinForms MaskedTextBox Control by using the [ForeColor](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.textboxbase.forecolor?redirectedfrom=MSDN&view=netcore-3.1#System_Windows_Forms_TextBoxBase_ForeColor) property.

<table>
<tr>
Expand Down Expand Up @@ -99,7 +99,7 @@ Me.maskedEditBox1.ForeColor = System.Drawing.Color.DarkMagenta

## Visual style

You can set the visual style to the MaskedEditBox control by using [Style](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TextBoxExt.html#Syncfusion_Windows_Forms_Tools_TextBoxExt_Style) property.
You can set the visual style to the WinForms MaskedTextBox control by using [Style](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TextBoxExt.html#Syncfusion_Windows_Forms_Tools_TextBoxExt_Style) property.

{% tabs %}

Expand Down
4 changes: 2 additions & 2 deletions WindowsForms/MaskedTextBox/Applying-Themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation: ug
---
# Applying Themes in Windows Forms MaskedTextBox (MaskedEditBox)

Themes can be applied to the MaskedEditBox control using the property given below.
Themes can be applied to the WinForms MaskedTextBox control using the property given below.



Expand All @@ -24,7 +24,7 @@ Specifies whether or not to use XP themes when BorderStyle property is set to '
</table>


N> Refer_ [Border Settings](/windowsforms/maskededitbox/border-settings) _topic to know about the BorderStyle property.
N> Refer to the [Border Settings](/windowsforms/maskededitbox/border-settings) topic to know about the BorderStyle property.

{% tabs %}

Expand Down
4 changes: 2 additions & 2 deletions WindowsForms/MaskedTextBox/Behavior-Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation: ug
---
# Behavior Settings in Windows Form MaskedTextBox (MaskedEditBox)

The behavior settings of the MaskedEditBox control are discussed below.
The behavior settings of the WinForms MaskedTextBox control are discussed below.

### Prompt and padding character settings

Expand Down Expand Up @@ -108,7 +108,7 @@ Me.maskedEditBox1.MaxLength = 32800

### ReadOnly

The ReadOnly mode can be enabled for the MaskedEditBox control using the below given property.
The ReadOnly mode can be enabled for the WinForms MaskedTextBox control using the below given property.

<table>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion WindowsForms/MaskedTextBox/Border-Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation: ug
---
# Border Settings in MaskedTextBox (MaskedEditBox)

The border settings of the MaskedEditBox control are discussed in this section.
The border settings of the WinForms MaskedTextBox control are discussed in this section.

The border styles for the [MaskedEditBox](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html) control can be customized using the [Border3DStyle](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TextBoxExt.html#Syncfusion_Windows_Forms_Tools_TextBoxExt_Border3DStyle), [BorderColor](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TextBoxExt.html#Syncfusion_Windows_Forms_Tools_TextBoxExt_BorderColor), [BorderSides](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TextBoxExt.html#Syncfusion_Windows_Forms_Tools_TextBoxExt_BorderSides) and [BorderStyle](https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.textboxbase.borderstyle?redirectedfrom=MSDN&view=windowsdesktop-7.0&viewFallbackFrom=netcore-3.1#System_Windows_Forms_TextBoxBase_BorderStyle) properties.

Expand Down
2 changes: 1 addition & 1 deletion WindowsForms/MaskedTextBox/Culture-Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation: ug
---
# Culture Settings in Windows Forms MaskedTextBox (MaskedEditBox)

This section discusses the culture settings of the MaskedEditBox control.
This section discusses the culture settings of the WinForms MaskedTextBox control.

<table>
<tr>
Expand Down
8 changes: 4 additions & 4 deletions WindowsForms/MaskedTextBox/Display-Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation: ug
---
# Display Settings in MaskedTextBox (MaskedEditBox)

This section discusses the display settings of the [MaskedEditBox](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html) control.
This section discusses the display settings of the WinForms MaskedTextBox control.

## Separators

Expand Down Expand Up @@ -43,7 +43,7 @@ For example, if you want to display the user data in date time format say mm/dd/

We can change the default separators used. If you want to display the date time as 'mm-dd-yy', change the DateSeparator property from '/' to '-'.

Similarly other separators can be used.
Similarly, other separators can be used.

{% tabs %}

Expand Down Expand Up @@ -83,7 +83,7 @@ Me.maskedEditBox1.TimeSeparator = ":"C

## Cursor position

You can set the cursor position of the MaskedEditBox control by using [PositionAt](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html#Syncfusion_Windows_Forms_Tools_MaskedEditBox_PositionAt) and [PositionAtDecimal](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html#Syncfusion_Windows_Forms_Tools_MaskedEditBox_PositionAtDecimal) properties.
You can set the cursor position of the WinForms MaskedTextBox control by using the [PositionAt](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html#Syncfusion_Windows_Forms_Tools_MaskedEditBox_PositionAt) and [PositionAtDecimal](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html#Syncfusion_Windows_Forms_Tools_MaskedEditBox_PositionAtDecimal) properties.

<table>
<tr>
Expand Down Expand Up @@ -136,7 +136,7 @@ Specifies the data groups that can be used for splitting up the text.</td></tr>
</table>


The [DataGroups](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html#Syncfusion_Windows_Forms_Tools_MaskedEditBox_DataGroups) property of the MaskedEditBox defines a virtual grouping of the mask value. Each group is defined by a [MaskedEditDataGroupInfo](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditDataGroupInfoCollection.html#Syncfusion_Windows_Forms_Tools_MaskedEditDataGroupInfoCollection_Add_Syncfusion_Windows_Forms_Tools_MaskedEditDataGroupInfo_) object (the DataGroups property is a collection of these objects).
The [DataGroups](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html#Syncfusion_Windows_Forms_Tools_MaskedEditBox_DataGroups) property of the WinForms MaskedTextBox defines a virtual grouping of the mask value. Each group is defined by a [MaskedEditDataGroupInfo](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditDataGroupInfoCollection.html#Syncfusion_Windows_Forms_Tools_MaskedEditDataGroupInfoCollection_Add_Syncfusion_Windows_Forms_Tools_MaskedEditDataGroupInfo_) object (the DataGroups property is a collection of these objects).

A data group is defined by its `GroupLength` property. For example, if the mask is given as follows,

Expand Down
16 changes: 8 additions & 8 deletions WindowsForms/MaskedTextBox/Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Refer to the [Control Dependencies](https://help.syncfusion.com/windowsforms/con

Refer to this [documentation](https://help.syncfusion.com/windowsforms/installation/install-nuget-packages) to find more details about installing NuGet packages in a Windows Forms application.

## Adding the MaskedEditBox control via designer
## Adding the WinForms MaskedTextBox control via designer

The following steps describe how to create the **MaskedEditBox** control via designer:
The following steps describe how to create the **WinForms MaskedTextBox** control via designer:

1. Create a new Windows Forms application in Visual Studio.

Expand All @@ -28,17 +28,17 @@ The following steps describe how to create the **MaskedEditBox** control via des

![Drag and drop MaskedEditBox from toolbox](MaskedEditBox-images/WF-maskededitbox-toolbox.png)

3. Set the symbols in the [Mask](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html#Syncfusion_Windows_Forms_Tools_MaskedEditBox_Mask) property for the control. This property controls the behavior of control at run time.
3. Set the symbols in the [Mask](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html#Syncfusion_Windows_Forms_Tools_MaskedEditBox_Mask) property of the control. This property controls the behavior of the control at run time.

![Mask format of Windows Forms MaskedEditBox](MaskedEditBox-images/MarkedEditBox_mask.png)

If no mask is specified, the control will behave the same as a standard Windows Forms TextBox control.

![Windows Forms MaskedEditBox showing default textbox](MaskedEditBox-images/MarkedEditBox_edittextbox.png)

## Adding the MaskedEditBox control via code
## Adding the WinForms MaskedTextBox control via code

The following steps describe how to create the **MaskedEditBox** control programmatically:
The following steps describe how to create the **WinForms MaskedTextBox** control programmatically:

1. Create a C# or VB application via Visual Studio.

Expand Down Expand Up @@ -98,7 +98,7 @@ You can set some common symbols for the [Mask](https://help.syncfusion.com/cr/wi

N> The **#** symbol allows numeric entry only in that position.

Examples of some common masks are,
Examples of some common masks:

<table>
<tr>
Expand All @@ -108,7 +108,7 @@ Usage</th></tr>
<tr>
<td>
###-##-####</td><td>
US Social security number mask( the '-' symbol is literal). Example 222-22-2222.</td></tr>
US Social security number mask (the '-' symbol is literal). Example 222-22-2222.</td></tr>
<tr>
<td>
(###) ### ####</td><td>
Expand All @@ -124,7 +124,7 @@ Short time mask. Example 12:24.</td></tr>
<tr>
<td>
>?<????????????</td><td>
First name or last name. The first letter is uppercase, and the other all letters are lowercase. Example: Syncfusion.</td></tr>
First name or last name. The first letter is uppercase, and all other letters are lowercase. Example: Syncfusion.</td></tr>
</table>

{% tabs %}
Expand Down
2 changes: 1 addition & 1 deletion WindowsForms/MaskedTextBox/Layout-Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation: ug
---
# Layout Settings in MaskedEditBox

The layout settings of the MaskedEditBox control are discussed in this section.
The layout settings of the WinForms MaskedTextBox control are discussed in this section.

You can set the minimum and maximum size of the [MaskedEditBox](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html) control by using the [MinimumSize](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TextBoxExt.html#Syncfusion_Windows_Forms_Tools_TextBoxExt_MinimumSize) and [MaximumSize](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TextBoxExt.html#Syncfusion_Windows_Forms_Tools_TextBoxExt_MaximumSize) properties.

Expand Down
4 changes: 2 additions & 2 deletions WindowsForms/MaskedTextBox/Mask-Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation: ug
---
# Mask Settings in MaskedTextBox (MaskedEditBox)

This section deals with the mask settings of MaskedEditBox control.
This section deals with the mask settings of WinForms MaskedTextBox control.

The format or behavior for the [MaskedEditBox](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html) control is defined through the property given below.

Expand All @@ -34,7 +34,7 @@ Literal characters give visual cues about the type of data being used. Mask char

In the above Mask, all the non # characters are Literal characters and the #’s are Mask characters.

The MaskedEditBox control supports the following masks.
The WinForms MaskedTextBox control supports the following masks.



Expand Down
10 changes: 5 additions & 5 deletions WindowsForms/MaskedTextBox/Mode-Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation: ug
---
# Mode Settings in MaskedTextBox (MaskedEditBox)

This section discusses how to set the different mode to the MaskedEditBox control.
This section discusses how to set the different mode to the WinForms MaskedTextBox control.

The mode settings for the [MaskedEditBox](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html) control can be customized by using the [ClipMode](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html#Syncfusion_Windows_Forms_Tools_MaskedEditBox_ClipMode), [InputMode](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html#Syncfusion_Windows_Forms_Tools_MaskedEditBox_InputMode) and [UsageMode](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html#Syncfusion_Windows_Forms_Tools_MaskedEditBox_UsageMode) properties.

Expand All @@ -20,15 +20,15 @@ Description</th></tr>
<tr>
<td>
ClipMode</td><td>
Specifies the format of the text that will be returned by the MaskedEdit control. The options included are as follows.{{ '_IncludeLiterals and_' | markdownify }}{{ '_ExcludeLiterals._' | markdownify }}The default value is 'IncludeLiterals'.</td></tr>
Specifies the format of the text that will be returned by the WinForms MaskedTextBox control. The options included are as follows.{{ '_IncludeLiterals and_' | markdownify }}{{ '_ExcludeLiterals._' | markdownify }}The default value is 'IncludeLiterals'.</td></tr>
<tr>
<td>
InputMode</td><td>
Specifies the input mode for the MaskedEditBox control. The options included are as follows.{{ '_OvertypeOnly and_' | markdownify }}{{ '_Normal._' | markdownify }}The default value is 'Over typeOnly'.</td></tr>
Specifies the input mode for the WinForms MaskedTextBox control. The options included are as follows.{{ '_OvertypeOnly and_' | markdownify }}{{ '_Normal._' | markdownify }}The default value is 'Over typeOnly'.</td></tr>
<tr>
<td>
UsageMode</td><td>
Specifies if the MaskedEditBox control is to behave as a numeric control.</td></tr>
Specifies if the WinForms MaskedTextBox control is to behave as a numeric control.</td></tr>
</table>

## Clip mode
Expand All @@ -49,7 +49,7 @@ The [UsageMode](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.F

## Normal mode

When the `UsageMode` is set to `Normal`, there is no change in the behavior. This is the default mode for a MaskedEditBox control.
When the `UsageMode` is set to `Normal`, there is no change in the behavior. This is the default mode for a WinForms MaskedTextBox control.

## Numeric mode

Expand Down
6 changes: 3 additions & 3 deletions WindowsForms/MaskedTextBox/Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ documentation: ug
---
# About Syncfusion® Windows Forms MaskedEditBox Control

The MaskedEditBox control is an edit control that provides an easy and reliable way of collecting user input and displaying standard data in specific formats from any data source. Some of the common uses of the MaskedEditBox controls are IP Addressed it control, Phone Number edit control and Social Security edit control.
The WinForms MaskedTextBox control is an edit control that provides an easy and reliable way of collecting user input and displaying standard data in specific formats from any data source. Some of the common uses of the WinForms MaskedTextBox controls are IP Addressed it control, Phone Number edit control and Social Security edit control.


![Overview of Syncfusion MaskedEditBox](MaskedEditBox-images/MarkedEditBox-img1.png)


If you define an input mask using the Mask property, each character position in the MaskedEditBox control maps to either a placeholder of a specified type or a literal character. Literal characters, or literals, can give visual cues about the type of data being used. For example, the parentheses surrounding the area code of a telephone number are literals: (919).
If you define an input mask using the Mask property, each character position in the WinForms MaskedTextBox control maps to either a placeholder of a specified type or a literal character. Literal characters, or literals, can give visual cues about the type of data being used. For example, the parentheses surrounding the area code of a telephone number are literals: (919).

MaskedEditBox control exhibits the similar properties of CurrencyTextBox.
WinForms MaskedTextBox control exhibits the similar properties of CurrencyTextBox.

## Key Features

Expand Down
2 changes: 1 addition & 1 deletion WindowsForms/MaskedTextBox/Text-Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation: ug
---
# Text Settings in MaskedTextBox (MaskedEditBox)

This section discusses the text settings of the MaskedEditBox control.
This section discusses the text settings of the WinForms MaskedTextBox control.

The text associated with the [MaskedEditBox](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MaskedEditBox.html) control can be set and customized using the below given settings.

Expand Down
2 changes: 1 addition & 1 deletion WindowsForms/MaskedTextBox/Value-Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation: ug
---
# Value Settings in MaskedTextBox (MaskedEditBox)

The value settings of the MaskedEditBox control are discussed below.
The value settings of the WinForms MaskedTextBox control are discussed below.

## MinValue and MaxValue

Expand Down
4 changes: 2 additions & 2 deletions WindowsForms/Toggle-Button/Custom-Styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ documentation: ug

# Custom Styling in Windows Forms ToggleButton

The appearance of the Toggle Button is customized by using the IToggleButtonRenderer. This interface provides few methods to control painting borders, arrow, and so on.
The appearance of the WinForms Toggle Button is customized by using the IToggleButtonRenderer. This interface provides few methods to control painting borders, arrow, and so on.

To customize the appearance,

1. Create a new custom renderer class and implement each of the members defined in IToggleButtonRenderer.
2. Assign instance of your custom renderer to the Renderer property of ToggleButton. By default, ToggleButton is painted by using its default renderer.
2. Assign instance of your custom renderer to the Renderer property of WinForms Toggle Button. By default, WinForms Toggle Button is painted by using its default renderer.

{% tabs %}
{% highlight c# %}
Expand Down
2 changes: 1 addition & 1 deletion WindowsForms/Toggle-Button/Display-Mode-Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ documentation: ug

# Display Mode in Windows Forms ToggleButton

Toggle Button is set to display either text or image through its DisplayMode property.
WinForms Toggle Button is set to display either text or image through its DisplayMode property.

{% tabs %}
{% highlight c# %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ documentation: ug

# How to Customize Toggle Button Styling in ToggleButton

You can customize the appearance of the Toggle Button by using the IToggleButtonRenderer. The following code example illustrates how to achieve iOS platform look-alike Toggle Button.
You can customize the appearance of the WinForms Toggle Button by using the IToggleButtonRenderer. The following code example illustrates how to achieve iOS platform look-alike WinForms Toggle Button.

{% tabs %}
{% highlight c# %}
Expand Down
Loading