Class GridCellDropDownControlBase
Defines the base control for the Drop-Down list control that is used with DropDownList cells.
Inheritance
System.Object
GridCellDropDownControlBase
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 |
| System.Windows.DependencyProperty |
IsReadOnlyProperty
Declaration
public static readonly DependencyProperty IsReadOnlyProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
MaxDropDownHeight
Declaration
public static double MaxDropDownHeight
Field Value
StaysOpenOnEditProperty
Declaration
public static readonly DependencyProperty StaysOpenOnEditProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
Declaration
public const string TemplatePopup = "PART_Popup"
Field Value
Declaration
public const string TemplatePopupContent = "PART_Content"
Field Value
TemplateTextbox
Declaration
public const string TemplateTextbox = "PART_Textbox"
Field Value
TemplateToggle
Declaration
public const string TemplateToggle = "PART_Togg"
Field Value
TextProperty
Declaration
public static readonly DependencyProperty TextProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
Properties
AutoSuggestionList
Declaration
public IEnumerable AutoSuggestionList { get; set; }
Property Value
| Type |
| 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
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.
|
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.
|
Gets the content of the drop down part.
Declaration
public ContentControl PopupContent { get; }
Property Value
| Type |
| 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
TextBoxPart
Specifies the edit part of the drop-down control.
Declaration
public TextBox TextBoxPart { get; }
Property Value
| Type |
| System.Windows.Controls.TextBox |
Methods
Close()
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
OnLostFocus(RoutedEventArgs)
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.RoutedEventArgs |
e |
|
Declaration
protected override void OnLostMouseCapture(MouseEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Input.MouseEventArgs |
e |
|
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Input.MouseEventArgs |
e |
|
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Input.MouseButtonEventArgs |
e |
|
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Input.MouseEventArgs |
e |
|
Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Input.MouseWheelEventArgs |
e |
|
Declaration
protected override void OnPreviewMouseDown(MouseButtonEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Input.MouseButtonEventArgs |
e |
|
Declaration
protected void ShowPopup()
Events
AppliedTemplate
Occurs once the OnApplyTemplate() completes.
Declaration
public event EventHandler AppliedTemplate
Event Type
IsDropDownChanging
Declaration
public event GridCellShowingDropDownEventHandler IsDropDownChanging
Event Type
IsDropDownOpenChanged
Declaration
public event EventHandler IsDropDownOpenChanged
Event Type