QueryListBlock
class in
UnityEditor.Search
/
Inherits from:Search.QueryBlock
Suggest a change
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close
Description
A query list block represents a special query block that will list a set of value for a given filter.
In example, if your SearchProvider has a filter named color
for which the value can be yellow, red or pink. Then you'll use the QueryListBlockAttribute to have this filter be displayed as a block that when clicked will show a fixed set of values to be picked from.
Properties
category | Block category. |
icon | Icon displayed in the query builder block widget. |
id | Block id. |
Public Methods
Apply | Apply proposition to the block. |
GetPropositions | Returns propositions when the list block is clicked. |
Inherited Members
Properties
context | Search context that composed this query block. |
name | Name of the block. |
op | Filter operator (i.e. :, =, <, >, etc.) of the block if any. |
source | Query builder source that compose this block. |
value | Value of the block. |
Public Methods
ToString | Returns the text filter of the block. |