This sample illustrates IP address entry.
This is not an executable sample, so a complete project is not provided. These statements are intended to show basic concepts and the syntax used.
private void Form1_Load(object sender, System.EventArgs e)
{
axSftMask1.Caption.SizePercent = 33;
axSftMask1.Caption.Text = "&IP:";
axSftMask1.Mask = @"$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)";
axSftMask1.Text = "127.0.0.1";
axSftMask1.EditStyle = SftMaskEditStyleConstants.editSftMaskUpDown;
axSftMask1.AutoAdvance = true;
axSftMask1.AutoSize = true;
axSftMask1.TabAdvance = true;
axSftMask1.TabAdvanceLast = true;
axSftMask1.EntrySelect = SftMaskEntrySelectConstants.entrySftMaskSelectHome;
axSftMask1.EntrySelectMouse = true;
}