I am still trying to understand WPF coming from WInForms. In Forms there was a property to select the text (or number) when the control got focus. Is there a way to do this with the WPF Editors in VB.NET, or XAML?
Hello,
I can’t think of a property you can use right away. What you can do is handle the EditModeStarting or the EditModeStarted event and use the SelectAll method like so:
private void xamTextEditor1_EditModeStarting(object sender, Infragistics.Windows.Editors.Events.EditModeStartingEventArgs e)
{
xamTextEditor1.SelectAll();
}
Let me know if this helps and if you require any further assistance.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support
Has there been any change to this? Is there now a property to support this? Is there a way in XAML to reproduce the SelectAll, if no prop exists?
Thx