[]
Represents a GrapeCity.Windows.InputMan.Primitives.DropDownButton handling mouse click to open the drop down window of the edit controls.
public class DropDownButton : ToggleButton, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource
Public Class DropDownButton
Inherits ToggleButton
Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource
Supported VisualState list:
VisualStateGroup Name |
VisualState Name |
Description |
---|---|---|
CommonStates |
Normal |
Represents the visual appearance when control is in normal state. |
CommonStates |
Disabled |
|
CommonStates |
Pressed |
|
CommonStates |
MouseOver |
Represents the visual appearance when IsMouseOver is true. |
CheckStates |
Checked |
|
CheckStates |
Unchecked |
|
CheckStates |
Indeterminate |
|
FocusStates |
Focused |
Represents the visual appearance when IsKeyboardFocused is true. |
FocusStates |
Unfocused |
Represents the visual appearance when IsKeyboardFocused is false. |
ValidationStates |
Valid |
Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns false. |
ValidationStates |
InvalidFocused |
Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns true and IsKeyboardFocused is true. |
ValidationStates |
InvalidUnfocused |
Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns true and IsKeyboardFocused is false. |
Name | Description |
---|---|
DropDownButton() |
Name | Description |
---|---|
OnMouseDown(MouseButtonEventArgs) | Invoked when an unhandled System.Windows.Input.Mouse.MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. |
OnMouseUp(MouseButtonEventArgs) | |
OnToggle() | Called by the OnClick() method to implement toggle behavior. |