書式を指定してテキストボックスに入力
年月のテキストボックスに「yyyy/mm」の形式で入力したい。
MaskedTextBoxのMaskプロパティに「####/##」
書式適用前の値を取得したいので
TextMaskFormatプロパティを「ExcludePromptAndLiterals」
又は
TextBox.TextMaskFormat = MaskFormat.ExcludePromptAndLiterals
年月のテキストボックスに「yyyy/mm」の形式で入力したい。
MaskedTextBoxのMaskプロパティに「####/##」
書式適用前の値を取得したいので
TextMaskFormatプロパティを「ExcludePromptAndLiterals」
又は
TextBox.TextMaskFormat = MaskFormat.ExcludePromptAndLiterals