SearchBox class¶
Defined in
Namespace: CrissCross.WPF.UI.Controls
Assembly: CrissCross.WPF.UI.dll
Full name: CrissCross.WPF.UI.Controls.SearchBox
Modifiers: public
Summary¶
Represents a lightweight search input surface that projects shared SearchQueryState.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class SearchBox
class Control
Control <|-- SearchBox
Inherits from: Control
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Properties¶
| Name | Summary |
|---|---|
| Text | Gets or sets the current raw search text. |
| PlaceholderText | Gets or sets the placeholder text shown by the platform template. |
| QueryState | Gets or sets the aggregate search state for result counts, active filters, and activity. |
| SearchCommand | Gets or sets the command invoked when the user submits the current search text. |
| ClearCommand | Gets or sets the command invoked when the user clears the current search text. |
Fields¶
| Name | Summary |
|---|---|
| static TextProperty | Property for [Text](# |
| static PlaceholderTextProperty | Property for [PlaceholderText](# |
| static QueryStateProperty | Property for [QueryState](# |
| static SearchCommandProperty | Property for [SearchCommand](# |
| static ClearCommandProperty | Property for [ClearCommand](# |