WPF

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

    Show / Hide Table of Contents

    Class GridCellDropDownControlBase

    Defines the base control for the Drop-Down list control that is used with DropDownList cells.

    Inheritance
    System.Object
    GridCellDropDownControlBase
    GridCellComboBoxDropDown
    GridCellGridListControlDropDown
    GridDataControlDropDown
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridCellDropDownControlBase : Control

    Constructors

    GridCellDropDownControlBase()

    Declaration
    public GridCellDropDownControlBase()

    Fields

    IsDropDownOpenProperty

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

    IsReadOnlyProperty

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

    MaxDropDownHeight

    Declaration
    public static double MaxDropDownHeight
    Field Value
    Type Description
    System.Double

    StaysOpenOnEditProperty

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

    TemplatePopup

    Declaration
    public const string TemplatePopup = "PART_Popup"
    Field Value
    Type Description
    System.String

    TemplatePopupContent

    Declaration
    public const string TemplatePopupContent = "PART_Content"
    Field Value
    Type Description
    System.String

    TemplateTextbox

    Declaration
    public const string TemplateTextbox = "PART_Textbox"
    Field Value
    Type Description
    System.String

    TemplateToggle

    Declaration
    public const string TemplateToggle = "PART_Togg"
    Field Value
    Type Description
    System.String

    TextProperty

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

    Properties

    AutoSuggestionList

    Initializes a new GridCellDropDownControlBase.

    Declaration
    public IEnumerable AutoSuggestionList { get; set; }
    Property Value
    Type Description
    System.Collections.IEnumerable

    DropDownStyle

    Specifies if user input is restricted to items from the ChoiceList or ItemsSource.

    Declaration
    public GridDropDownStyle DropDownStyle { get; set; }
    Property Value
    Type Description
    GridDropDownStyle

    IsDropDownOpen

    Gets or sets a value indicating whether the drop-down is opened.

    Declaration
    public bool IsDropDownOpen { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the drop-down is opened; otherwise, false.

    IsMouseOverInnerTextBox

    Gets or sets a value indicating whether this instance is mouse over inner text box.

    Declaration
    public bool IsMouseOverInnerTextBox { get; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is mouse over inner text box; otherwise, false.

    IsMouseOverPopupHost

    Gets or sets a value indicating whether this instance is mouse over popup host.

    Declaration
    public bool IsMouseOverPopupHost { get; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is mouse over popup host; otherwise, false.

    IsReadOnly

    Gets or sets a value indicating whether the drop down control's value is read only.

    Declaration
    public bool IsReadOnly { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the drop down control's value is read only; otherwise, false.

    PopupContent

    Gets the content of the drop down part.

    Declaration
    public ContentControl PopupContent { get; }
    Property Value
    Type Description
    System.Windows.Controls.ContentControl

    StaysOpenOnEdit

    Gets or sets a value indicating whether the drop-down host stays open during edit.

    Declaration
    public bool StaysOpenOnEdit { get; set; }
    Property Value
    Type Description
    System.Boolean

    True if ; otherwise, false.

    Text

    Gets or sets the text of the drop-down control.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    TextBoxPart

    Specifies the edit part of the drop-down control.

    Declaration
    public TextBox TextBoxPart { get; }
    Property Value
    Type Description
    System.Windows.Controls.TextBox

    Methods

    Close()

    Closes the drop down.

    Declaration
    public virtual void Close()

    NavigateNextLine()

    Declaration
    protected virtual void NavigateNextLine()

    NavigatePreviousLine()

    Declaration
    protected virtual void NavigatePreviousLine()

    OnApplyTemplate()

    It is invoked when the application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.

    Declaration
    public override void OnApplyTemplate()

    OnContentLoaded(ContentControl)

    Declaration
    protected virtual void OnContentLoaded(ContentControl popupContent)
    Parameters
    Type Name Description
    System.Windows.Controls.ContentControl popupContent

    OnDropDownOpened()

    Declaration
    protected virtual void OnDropDownOpened()

    OnGotFocus(RoutedEventArgs)

    Declaration
    protected override void OnGotFocus(RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.RoutedEventArgs e

    OnIsDropDownOpenChanged()

    Declaration
    protected virtual void OnIsDropDownOpenChanged()

    OnIsDropDownOpenChanging(Boolean)

    Declaration
    protected virtual bool OnIsDropDownOpenChanging(bool isShowing)
    Parameters
    Type Name Description
    System.Boolean isShowing
    Returns
    Type Description
    System.Boolean

    OnLostFocus(RoutedEventArgs)

    Declaration
    protected override void OnLostFocus(RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.RoutedEventArgs e

    OnLostMouseCapture(MouseEventArgs)

    Declaration
    protected override void OnLostMouseCapture(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    OnMouseLeave(MouseEventArgs)

    Declaration
    protected override void OnMouseLeave(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    OnMouseLeftButtonUp(MouseButtonEventArgs)

    Declaration
    protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    OnMouseMove(MouseEventArgs)

    Declaration
    protected override void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    OnMouseWheel(MouseWheelEventArgs)

    Declaration
    protected override void OnMouseWheel(MouseWheelEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseWheelEventArgs e

    OnPreviewMouseDown(MouseButtonEventArgs)

    Declaration
    protected override void OnPreviewMouseDown(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    ShowPopup()

    Declaration
    protected void ShowPopup()

    Events

    AppliedTemplate

    Occurs once the OnApplyTemplate() completes.

    Declaration
    public event EventHandler AppliedTemplate
    Event Type
    Type Description
    System.EventHandler

    IsDropDownChanging

    Declaration
    public event GridCellShowingDropDownEventHandler IsDropDownChanging
    Event Type
    Type Description
    GridCellShowingDropDownEventHandler

    IsDropDownOpenChanged

    Declaration
    public event EventHandler IsDropDownOpenChanged
    Event Type
    Type Description
    System.EventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved