Difference between revisions of "GUISearchField"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the GUISearchField class)
(Documentation for the GUISearchField class)
Line 30: Line 30:
  
 
===Events===
 
===Events===
:{{CSharp|OnSearchChanged(EventHandler<FlexibleEventArgs>)}}
+
:{{CSharp|OnSearchChanged()}}
  
:{{CSharp|OnTextChanged(EventHandler<FlexibleEventArgs>)}}
+
:{{CSharp|OnTextChanged()}}
  
 
===Methods===
 
===Methods===

Revision as of 16:56, 21 February 2017

Remarks [edit]

Properties

GUIButton ClearButton {get;}
bool DisplayPreviousResults {get; set;}
int MaxStoredResults {get; set;}
int MinimumSearchLength {get; set;}
string Placeholder {get; set;}
GUILabel PlaceholderLabel {get;}
int RecentSearchCount {get;}
float ResultsDelay {get; set;}
GUIImageBox SearchIcon {get;}
bool ShowClearButton {get; set;}
bool SubmitOnEnter {get; set;}
string Value {get; set;}

Events

OnSearchChanged()
OnTextChanged()

Methods

ReturnType AddRecent(DetailsBlock details, string recent)
ReturnType ClearRecents(DetailsBlock details)
ReturnType GetRecent(DetailsBlock details, int index)
ReturnType RemoveRecent(DetailsBlock details, string recent)
void SetFocus()
Brings focus to this component