Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinMaskedEdit Private Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button2.Click ' Following code selects all the text in the masked edit control and ' then copies it to the clipboard by calling Copy method off the masked edit. Me.UltraMaskedEdit1.SelectAll() Debug.WriteLine("Selected Text = " & Me.ultraMaskedEdit1.SelectedText) Me.UltraMaskedEdit1.Copy() End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinMaskedEdit; using System.Diagnostics; private void button2_Click(object sender, System.EventArgs e) { // Following code selects all the text in the masked edit control and // then copies it to the clipboard by calling Copy method off the masked edit. this.ultraMaskedEdit1.SelectAll( ); Debug.WriteLine( "Selected Text = " + this.ultraMaskedEdit1.SelectedText ); this.ultraMaskedEdit1.Copy( ); }
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