Class GalleryFilterSelector
Represents internal GalleryFilterSelector control.
Inheritance
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class GalleryFilterSelector : Control
Constructors
GalleryFilterSelector()
Initializes a new instance of the GalleryFilterSelector class.
Declaration
public GalleryFilterSelector()
Fields
FiltersProperty
Defines the collection of filters.
Declaration
public static readonly DependencyProperty FiltersProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsDropDownOpenProperty
Defines whether dropdown is open.
Declaration
public static readonly DependencyProperty IsDropDownOpenProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SelectedFilterProperty
Defines the selected filter.
Declaration
public static readonly DependencyProperty SelectedFilterProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Filters
Gets or sets the collection of filters.
Declaration
public ObservableCollection<RibbonGalleryFilter> Filters { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<RibbonGalleryFilter> |
IsDropDownOpen
Gets or sets a value indicating whether this instance is drop down open.
Declaration
public bool IsDropDownOpen { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
SelectedFilter
Gets or sets the selected filter.
Declaration
public RibbonGalleryFilter SelectedFilter { get; set; }
Property Value
Type |
---|
RibbonGalleryFilter |
Methods
OnApplyTemplate()
Provides class handling for the MouseLeftButtonDown routed event that occurs when the left mouse button is pressed while the mouse pointer is over this control.
Declaration
public override void OnApplyTemplate()
OnGotMouseCapture(MouseEventArgs)
Invoked when an unhandled Mouse.GotMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
Declaration
protected override void OnGotMouseCapture(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The MouseEventArgs that contains the event data. |
OnIsDropDownOpenChanged(DependencyPropertyChangedEventArgs)
Updates property value cache and raises IsDropDownOpenChanged event.
Declaration
protected virtual void OnIsDropDownOpenChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnLostMouseCapture(MouseEventArgs)
Invoked when an unhandled Mouse.LostMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
Declaration
protected override void OnLostMouseCapture(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | TheMouseEventArgs that contains event data. |
Events
IsDropDownOpenChanged
Event that is raised when IsDropDownOpen property is changed.
Declaration
public event PropertyChangedCallback IsDropDownOpenChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |