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 19: Line 19:
 
:{{CSharp|int RecentSearchCount {get;} }}
 
:{{CSharp|int RecentSearchCount {get;} }}
  
:{{CSharp|Single ResultsDelay {get; set;} }}
+
:{{CSharp|float ResultsDelay {get; set;} }}
  
 
:{{CSharp|GUIImageBox SearchIcon {get;} }}
 
:{{CSharp|GUIImageBox SearchIcon {get;} }}

Revision as of 17:57, 20 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(EventHandler<FlexibleEventArgs>)
OnTextChanged(EventHandler<FlexibleEventArgs>)

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