void SetContents(string contents, bool forced=false)
UISearchBar(LocalizedText emptyContentText, float scale)
override void LeftMouseDown(UIMouseEvent evt)
override void Update(GameTime gameTime)
readonly LocalizedText _textToShowWhenEmpty
override void DrawSelf(SpriteBatch spriteBatch)
Action OnNeedingVirtualKeyboard
void TrimDisplayIfOverElementDimensions(int padding)
Action OnCanceledTakingInput
bool NeedsVirtualkeyboard()
override void MouseOver(UIMouseEvent evt)
Action OnStartTakingInput
Action< string > OnContentsChanged
void SetTextMaxLength(int maxLength)
override void SetText(string text, float textScale, bool large)
static string GetInputText(string oldString, bool allowMultiLine=false)
static bool inputTextEscape
static bool inputTextEnter