System.Windows.Forms.MaskedTextBox.CutCopyMaskFormat Property

Gets or sets a value that determines whether literals and prompt characters are copied to the clipboard.

Syntax

[System.ComponentModel.DefaultValue(System.Windows.Forms.MaskFormat.IncludeLiterals)]
[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.Repaint)]
public MaskFormat CutCopyMaskFormat { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The MaskedTextBox.CutCopyMaskFormat property determines how text, selected within the System.Windows.Forms.MaskedTextBox control, is interpreted when it is copied to the clipboard or retrieved through the MaskedTextBox.SelectedText property. Specifically, it determines whether literal characters, prompt characters, or both are included when selected text is accessed. When prompt characters are excluded, they are transformed into spaces in the copied string.

Note:

The MaskedTextBox.TextMaskFormat property serves a similar purpose with respect to how the MaskedTextBox.Text property is interpreted.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0