WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GalleryFilterSelector

    Show / Hide Table of Contents

    Class GalleryFilterSelector

    Represents internal GalleryFilterSelector control.

    Inheritance
    System.Object
    GalleryFilterSelector
    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 Description
    System.Windows.DependencyProperty

    IsDropDownOpenProperty

    Defines whether dropdown is open.

    Declaration
    public static readonly DependencyProperty IsDropDownOpenProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    SelectedFilterProperty

    Defines the selected filter.

    Declaration
    public static readonly DependencyProperty SelectedFilterProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    Filters

    Gets or sets the collection of filters.

    Declaration
    public ObservableCollection<RibbonGalleryFilter> Filters { get; set; }
    Property Value
    Type Description
    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

    true if this instance is drop down open; otherwise, false.

    SelectedFilter

    Gets or sets the selected filter.

    Declaration
    public RibbonGalleryFilter SelectedFilter { get; set; }
    Property Value
    Type Description
    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 Description
    System.Windows.PropertyChangedCallback
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved