IsFocused
Introduction
Code Example - Setting IsFocused
// Initialize
TextBoxInstance.IsFocused = true;// Initialize
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
GumService.Default.Cursor.ClearInputValues();
};Last updated
Was this helpful?

