IsFocused
Introduction
Code Example - Setting IsFocused
TextBoxInstance.IsFocused = true;ButtonInstance.Click += (_,_) =>
{
TextBoxInstance.IsFocused = true;
// Remove the clear so that the TextBoxInstance doesn't immediately lose focus
// on the same frame it got focus due to the cursor having been clicked
FormsUtilities.Cursor.ClearInputValues();
};Last updated
Was this helpful?

