Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinMaskedEdit Private Sub Button3_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button3.Click ' Following code selects all the text in the masked edit control and ' then cuts it to the clipboard by calling Cut method off the masked edit. Me.UltraMaskedEdit1.SelectAll() Debug.WriteLine("Selected Text = " & Me.ultraMaskedEdit1.SelectedText) Me.UltraMaskedEdit1.Cut() End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinMaskedEdit; using System.Diagnostics; private void button3_Click(object sender, System.EventArgs e) { // Following code selects all the text in the masked edit control and // then cuts it to the clipboard by calling Cut method off the masked edit. this.ultraMaskedEdit1.SelectAll( ); Debug.WriteLine( "Selected Text = " + this.ultraMaskedEdit1.SelectedText ); this.ultraMaskedEdit1.Cut( ); }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2