SearchMenuControl Class

Interaction logic for SearchMenuControl.xaml

Definition

Namespace: Aliquo.Windows.Controls
Assembly: Aliquo.Windows.Controls (in Aliquo.Windows.Controls.dll) Version: 5.0.9179.22656
C#
public class SearchMenuControl : UserControl, 
	IComponentConnector
Inheritance
Object    DispatcherObject    DependencyObject    Visual    UIElement    FrameworkElement    Control    ContentControl    UserControl    SearchMenuControl
Implements
IComponentConnector

Constructors

SearchMenuControl Constructor class.

Properties

IsDropDownOpen Gets or sets a value indicating whether the drop-down menu is open.
ItemsSource Gets or sets the item font for the menu option search control.
ItemsSuggestion Suggested items in the SearchMenuControl usercontrol based on the content of the textbox.
Watermark Specifies the text that is displayed as a watermark when the control's content is empty.

Methods

Focus Set focus on the search text box.
InitializeComponent InitializeComponent
OnApplyTemplate Called when the new control model is applied to the element. Initializes the control's UI elements when the model is applied.
(Overrides FrameworkElementOnApplyTemplate)

Fields

IsDropDownOpenProperty Represents a dependency property that controls whether the dropdown menu is open or closed. When this property is set to , the dropdown menu is opened; when set to , it is closed.
ItemsSourceProperty Represents a dependency property that defines the source of elements for the menu option search control.
WatermarkProperty Identifies the Watermark dependency property.

Extension Methods

GetAttributeFromT Get attribute from a class.
(Defined by ObjectExtensions)
ValidateDataAnnotations Validate class with validator of DataAnnotations.
(Defined by ObjectExtensions)

See Also