Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
149641 | Dec 4,2019 09:27 AM UTC | Dec 5,2019 11:25 AM UTC | WPF | 1 |
![]() |
Tags: IntegerTextBox |
public MainWindow()
{
InitializeComponent();
integertextbox.TextSelectionOnFocus = false;
integertextbox.GotFocus += Integertextbox_GotFocus;
}
private void Integertextbox_GotFocus(object sender, RoutedEventArgs e)
{
integertextbox.SelectionStart = integertextbox.Text.Length;
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.