Click or drag to resize
RadDropDownButton Class
A DropDownButton control.
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.ControlsControl
              System.Windows.ControlsContentControl
                System.Windows.Controls.PrimitivesButtonBase
                  System.Windows.ControlsButton
                    Telerik.Windows.ControlsRadButton
                      Telerik.Windows.ControlsRadDropDownButton
                        Telerik.Windows.Controls.Diagrams.ExtensionsRadGeometryDropDownButton
                        Telerik.Windows.ControlsRadRibbonDropDownButton

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls (in Telerik.Windows.Controls.dll) Version: 2017.3.913.40 (2017.3.913.40)
Syntax
public class RadDropDownButton : RadButton, 
	IPopupHost, IPopupWrapperOwner, IDisposable

The RadDropDownButton type exposes the following members.

Constructors
  NameDescription
Public methodRadDropDownButton
Initializes a new instance of the RadDropDownButton class.
Top
Methods
  NameDescription
Protected methodApplyDropDownButtonPosition
Initializes the position of the DropDown indicator and correct the placement of the Popup window.
Protected methodApplyPopupPlacement
Set the placement of the Popup window.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the RadDropDownButton is reclaimed by garbage collection.
(Overrides ObjectFinalize.)
Protected methodOnActivate
Raises the [E:Activate] event.
(Overrides RadButtonOnActivate.)
Public methodOnApplyTemplate
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.
(Overrides RadButtonOnApplyTemplate.)
Protected methodOnClick
Invoke the base OnClick and toggle the IsOpen property.
(Overrides RadButtonOnClick.)
Protected methodOnCreateAutomationPeer
Creates a RadDropDownButtonAutomationPeer.
(Overrides RadButtonOnCreateAutomationPeer.)
Protected methodOnDropDownContentChanged
Called when the DropDownContent property of a RadDropDownButton changes.
Protected methodOnDropDownContentTemplateChanged
Called when the DropDownContentTemplate property of a RadDropDownButton changes.
Protected methodOnDropDownContentTemplateSelectorChanged
Called when the DropDownContentTemplateSelector property of a RadDropDownButton changes.
Protected methodOnDropDownPlacementChanged
Called when the DropDownPlacement property of a RadDropDownButton changes.
Protected methodOnGotFocus
Invoked on got focus.
(Inherited from RadButton.)
Protected methodOnHover
Invocated when the hover happens.
(Overrides RadButtonOnHover.)
Protected methodOnInitialized
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
(Overrides RadButtonOnInitialized(EventArgs).)
Protected methodOnIsOpenChanged
Called when [is open changed].
Protected methodOnIsPressedChanged
Called when the IsPressed property changes.
(Inherited from RadButton.)
Protected methodOnKeyDown
Closes the popup on Escape key.
(Overrides RadButtonOnKeyDown(KeyEventArgs).)
Protected methodOnLostFocus
Invoked on focus lost.
(Inherited from RadButton.)
Protected methodOnLostKeyboardFocus
Called when an element loses keyboard focus.
(Overrides ButtonBaseOnLostKeyboardFocus(KeyboardFocusChangedEventArgs).)
Protected methodOnMouseEnter
Starts the auto open timer.
(Inherited from RadButton.)
Protected methodOnMouseLeave
Stops the auto open timer.
(Inherited from RadButton.)
Protected methodOnMouseLeftButtonDown
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.
(Overrides ButtonBaseOnMouseLeftButtonDown(MouseButtonEventArgs).)
Protected methodOnMouseLeftButtonUp
Invoked when an unhandled MouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Overrides ButtonBaseOnMouseLeftButtonUp(MouseButtonEventArgs).)
Protected methodOnMouseMove
Restarts the auto open timer.
(Inherited from RadButton.)
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberAutoOpenDelayProperty
Identifies the AutoOpenDelay property.
Public fieldStatic memberCloseOnEnterProperty
Identifies the CloseOnEnter property.
Public fieldStatic memberCloseOnEscapeProperty
Identifies the CloseOnEscape property.
Public fieldStatic memberCloseOnPopupMouseLeftButtonUpProperty
Identifies the CloseOnPopupMouseLeftButtonUp property.
Public fieldStatic memberDropDownButtonPositionProperty
Identifies the DropDownButtonPosition property.
Public fieldStatic memberDropDownClosedEvent
Identifies the DropDownClosed property.
Public fieldStatic memberDropDownContentProperty
Identifies the DropDownContent property.
Public fieldStatic memberDropDownContentTemplateProperty
Identifies the DropDownContentTemplate property.
Public fieldStatic memberDropDownContentTemplateSelectorProperty
Identifies the DropDownContentTemplateSelector property.
Public fieldStatic memberDropDownHeightProperty
Identifies the PopupHeight property.
Public fieldStatic memberDropDownIndicatorVisibilityProperty
Identifies the DropDownContent property.
Public fieldStatic memberDropDownMaxHeightProperty
Identifies the PopupMaxHeight property.
Public fieldStatic memberDropDownMaxWidthProperty
Identifies the PopupMaxWidth property.
Public fieldStatic memberDropDownOpenedEvent
Identifies the DropDownOpened property.
Public fieldStatic memberDropDownOpeningEvent
Identifies the DropDownOpening property.
Public fieldStatic memberDropDownPlacementProperty
Identifies the DropDownPlacement property.
Public fieldStatic memberDropDownWidthProperty
Identifies the PopupWidth property.
Public fieldStatic memberIsOpenProperty
Identifies the IsOpen property.
Public fieldStatic memberKeepOpenProperty
Identifies the KeepOpen property.
Public fieldStatic memberPopupAnimationProperty
Identifies the PopupAnimation property.
Public fieldStatic memberPopupPlacementTargetProperty
Identifies the PopupPlacementTarget property.
Top
Properties
  NameDescription
Public propertyAutoOpenDelay
Gets or sets whether the popup opens when mouse hovers for pointed milliseconds. Value of zero means no auto open. This is a dependency property.
Public propertyCloseOnEnter
Gets or sets whether the popup closes when the Enter key toggles. This is a dependency property.
Public propertyCloseOnEscape
Gets or sets whether the popup closes when the Escape key toggles. This is a dependency property.
Public propertyCloseOnPopupMouseLeftButtonUp
Gets or sets whether the Popup should be closed when the user clicks on the DropDownContent. The closing is executed on MouseLeftButtonUp event of the Popup. This is a dependency property.
Public propertyCornerRadius
Gets or sets a value that represents the degree to which the corners of the control are rounded. This is a dependency property.
(Inherited from RadButton.)
Public propertyDropDownButtonPosition
Gets or sets the position of the drop down indicator. This is a dependency property.
Public propertyDropDownContent
Gets or sets the drop-down area's content. This is a dependency property.
Public propertyDropDownContentTemplate
Gets or sets the template used to display the drop-down content of the button. This is a dependency property.
Public propertyDropDownContentTemplateSelector
Gets or sets the template-selector used to display the drop-down content of the button. This is a dependency property.
Public propertyDropDownHeight
Gets or sets the Height of the drop-down area. This is a dependency property.
Public propertyDropDownIndicatorVisibility
Gets or sets whether the DropDown indicator is visible. This is a dependency property.
Public propertyDropDownMaxHeight
Gets or sets the MaxHeight of the drop-down area. This is a dependency property.
Public propertyDropDownMaxWidth
Gets or sets the MaxWidth of the drop-down area. This is a dependency property.
Public propertyDropDownPlacement
Gets or sets the position of the drop-down area. This is a dependency property.
Public propertyDropDownWidth
Gets or sets the Width of the drop-down area. This is a dependency property.
Public propertyHoverDelay
Gets or sets whether the popup opens when mouse hovers for pointed milliseconds Value of zero means no auto open. This is a dependency property.
(Inherited from RadButton.)
Public propertyInnerCornerRadius
Gets or sets a value that represents the degree to which the inner corners of the control are rounded. This is a dependency property.
(Inherited from RadButton.)
Public propertyIsBackgroundVisible
Sets the visual appearance of the chrome not to render in Normal mode.
(Inherited from RadButton.)
Public propertyIsOpen
Gets or sets whether the drop-down area is opened. This is a dependency property.
Public propertyKeepOpen
Gets or sets whether the drop-down area should remain opened. This is a dependency property.
Public propertyPopupAnimation
Gets or sets the animation that will be used for the popup element.
Public propertyPopupPlacementTarget
Get/set the placement for the popup element.
Top
Events
  NameDescription
Public eventActivate
Occurs when button is clicked.
(Inherited from RadButton.)
Public eventDropDownClosed
Occurs when the Popup is closed.
Public eventDropDownOpened
Occurs when the Popup is opened.
Public eventDropDownOpening
Occurs when the Popup is opening.
Public eventHover
Occurs when button is hovered.
(Inherited from RadButton.)
Top
See Also