MaskedTextBox.IsOverwriteMode プロパティ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

ユーザーが新しい文字を入力するときに、MaskedTextBox が既存の文字を上書きする場合は true。MaskedTextBox が既存の文字を前方にシフトする場合は false。既定値は false です。

IsOverwriteMode は、InsertKeyMode プロパティの値とユーザーのキーボードの状態の両方を考慮します。InsertKeyMode が On または Off に設定されている場合、IsOverwriteMode はそれぞれ false または true を返します。InsertKeyMode が InsertKeyMode に設定されている場合は、Ins キーの状態を返します。
IsOverwriteMode が false の場合、MaskedTextBox は、マスク内の任意の場所で違反となる文字入力を無効として拒否します。たとえば、ある文字の挿入によって別の文字が無効なマスク位置にシフトされる場合、その文字の挿入は拒否されます。

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からMaskedTextBox.IsOverwriteMode プロパティを検索する場合は、下記のリンクをクリックしてください。

- MaskedTextBox.IsOverwriteMode プロパティのページへのリンク