Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / DropDownButton Class
Members


In This Topic
    DropDownButton Class
    In This Topic
    Represents a GrapeCity.Windows.InputMan.Primitives.DropDownButton handling mouse click to open the drop down window of the edit controls.
    Object Model
    DropDownButton Class
    Syntax
    'Declaration
     
    <DesignTimeVisibleAttribute(False)>
    <DefaultEventAttribute("Checked")>
    <LocalizabilityAttribute(LocalizationCategory.Button)>
    <DefaultPropertyAttribute("Content")>
    <ContentPropertyAttribute("Content")>
    <StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>
    <XmlLangPropertyAttribute("Language")>
    <UsableDuringInitializationAttribute(True)>
    <RuntimeNamePropertyAttribute("Name")>
    <UidPropertyAttribute("Uid")>
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class DropDownButton 
       Inherits System.Windows.Controls.Primitives.ToggleButton
    'Usage
     
    Dim instance As DropDownButton
    [DesignTimeVisible(false)]
    [DefaultEvent("Checked")]
    [Localizability(LocalizationCategory.Button)]
    [DefaultProperty("Content")]
    [ContentProperty("Content")]
    [StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
    [XmlLangProperty("Language")]
    [UsableDuringInitialization(true)]
    [RuntimeNameProperty("Name")]
    [UidProperty("Uid")]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class DropDownButton : System.Windows.Controls.Primitives.ToggleButton 
    Remarks

    Supported System.Windows.VisualState list:

    VisualStateGroup Name

    VisualState Name

    Description

    CommonStates

    Normal

    Represents the visual appearance when control is in normal state.

    CommonStates

    Disabled

    Represents the visual appearance when System.Windows.UIElement.IsEnabled is false.

    CommonStates

    Pressed

    Represents the visual appearance when System.Windows.Controls.Primitives.ButtonBase.IsPressed is true.

    CommonStates

    MouseOver

    Represents the visual appearance when System.Windows.UIElement.IsMouseOver is true.

    CheckStates

    Checked

    Represents the visual appearance when System.Windows.Controls.Primitives.ToggleButton.IsChecked is true.

    CheckStates

    Unchecked

    Represents the visual appearance when System.Windows.Controls.Primitives.ToggleButton.IsChecked is false.

    CheckStates

    Indeterminate

    Represents the visual appearance when System.Windows.Controls.Primitives.ToggleButton.IsChecked is a null reference (Nothing in Visual Basic).

    FocusStates

    Focused

    Represents the visual appearance when System.Windows.UIElement.IsKeyboardFocused is true.

    FocusStates

    Unfocused

    Represents the visual appearance when System.Windows.UIElement.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 System.Windows.UIElement.IsKeyboardFocused is true.

    ValidationStates

    InvalidUnfocused

    Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns true and System.Windows.UIElement.IsKeyboardFocused is false.

    Inheritance Hierarchy

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.DependencyObject
             System.Windows.Media.Visual
                System.Windows.UIElement
                   System.Windows.FrameworkElement
                      System.Windows.Controls.Control
                         System.Windows.Controls.ContentControl
                            System.Windows.Controls.Primitives.ButtonBase
                               System.Windows.Controls.Primitives.ToggleButton
                                  GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownButton

    See Also