Class ToolbarSearchField
Inheritance
ToolbarSearchField
      
  Implements
Inherited Members
Namespace: UnityEditor.Experimental.UIElements
Assembly: UnityEditor.dll
Syntax
public class ToolbarSearchField : VisualElement, IEventHandler, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, INotifyValueChanged<string>Constructors
| Improve this Doc View SourceToolbarSearchField()
Declaration
public ToolbarSearchField()ToolbarSearchField(String)
Declaration
protected ToolbarSearchField(string searchButtonStyleClassName)Parameters
| Type | Name | Description | 
|---|---|---|
| String | searchButtonStyleClassName | 
Fields
| Improve this Doc View Sourcem_SearchButton
Declaration
protected Button m_SearchButtonField Value
| Type | Description | 
|---|---|
| Button | 
Properties
| Improve this Doc View Sourcevalue
Declaration
public string value { get; set; }Property Value
| Type | Description | 
|---|---|
| String | 
Methods
| Improve this Doc View SourceOnValueChanged(EventCallback<ChangeEvent<String>>)
Declaration
public void OnValueChanged(EventCallback<ChangeEvent<string>> callback)Parameters
| Type | Name | Description | 
|---|---|---|
| EventCallback<ChangeEvent<String>> | callback | 
RemoveOnValueChanged(EventCallback<ChangeEvent<String>>)
Declaration
public void RemoveOnValueChanged(EventCallback<ChangeEvent<string>> callback)Parameters
| Type | Name | Description | 
|---|---|---|
| EventCallback<ChangeEvent<String>> | callback | 
SetValueAndNotify(String)
Declaration
[Obsolete("This method is replaced by simply using this.value. The default behaviour has been changed to notify when changed. If the behaviour is not to be notified, SetValueWithoutNotify() must be used.", false)]
public void SetValueAndNotify(string newValue)Parameters
| Type | Name | Description | 
|---|---|---|
| String | newValue | 
SetValueWithoutNotify(String)
Declaration
public void SetValueWithoutNotify(string newValue)Parameters
| Type | Name | Description | 
|---|---|---|
| String | newValue |