The DefaultButton type exposes the following members.

Methods

  NameDescription
AddHandler
Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route.
(Inherited from UIElement.)
ApplyTemplate (Inherited from Control.)
Arrange
Positions child elements and determines a size for a UIElement. Parent elements call this method from their ArrangeCore(Rect) implementation (or a WPF framework-level equivalent) to form a recursive layout update. This method constitutes the second pass of a layout update.
(Inherited from UIElement.)
ArrangeOverride
When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.
(Inherited from FrameworkElement.)
CaptureMouse
Attempts to force capture of the mouse to this element.
(Inherited from UIElement.)
CheckAccess (Inherited from DependencyObject.)
ClearValue
Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier.
(Inherited from DependencyObject.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FindName
Finds an element that has the provided identifier name.
(Inherited from FrameworkElement.)
Focus (Inherited from Control.)
GetAnimationBaseValue (Inherited from DependencyObject.)
GetBindingExpression
Returns the BindingExpression that represents the binding on the specified property.
(Inherited from FrameworkElement.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetTemplateChild (Inherited from Control.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
GetValue
Returns the current effective value of a dependency property on this instance of a DependencyObject.
(Inherited from DependencyObject.)
InvalidateArrange
Invalidates the arrange state (layout) for the element. After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced by UpdateLayout()()().
(Inherited from UIElement.)
InvalidateMeasure
Invalidates the measurement state (layout) for the element.
(Inherited from UIElement.)
Measure
Updates the DesiredSize of a UIElement. Parent elements call this method from their own MeasureCore(Size) implementations to form a recursive layout update. Calling this method constitutes the first pass (the "Measure" pass) of a layout update.
(Inherited from UIElement.)
MeasureOverride
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.
(Inherited from FrameworkElement.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnApplyTemplate (Inherited from Button.)
OnClick
Called when a Button is clicked.
(Inherited from Button.)
OnContentChanged
Called when the Content property changes.
(Inherited from ContentControl.)
OnCreateAutomationPeer
Creates an appropriate ButtonAutomationPeer for this control as part of the WPF infrastructure.
(Inherited from Button.)
OnGotFocus (Inherited from ButtonBase.)
OnIsPressedChanged
Called when the IsPressed property changes.
(Inherited from ButtonBase.)
OnKeyDown
Provides class handling for the KeyDown routed event that occurs when the user presses a key while this control has focus.
(Inherited from ButtonBase.)
OnKeyUp
Provides class handling for the KeyUp routed event that occurs when the user releases a key while this control has focus.
(Inherited from ButtonBase.)
OnLostFocus (Inherited from ButtonBase.)
OnLostMouseCapture
Provides class handling for the LostMouseCapture routed event that occurs when this control is no longer receiving mouse event messages.
(Inherited from ButtonBase.)
OnMouseEnter
Provides class handling for the ClickMode routed event that occurs when the mouse enters this control.
(Inherited from ButtonBase.)
OnMouseLeave
Provides class handling for the MouseLeave routed event that occurs when the mouse leaves an element.
(Inherited from ButtonBase.)
OnMouseLeftButtonDown
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.
(Inherited from ButtonBase.)
OnMouseLeftButtonUp
Provides class handling for the MouseLeftButtonUp routed event that occurs when the left mouse button is released while the mouse pointer is over this control.
(Inherited from ButtonBase.)
OnMouseMove
Provides class handling for the MouseMove routed event that occurs when the mouse pointer moves while over this element.
(Inherited from ButtonBase.)
OnMouseWheel (Inherited from Control.)
ReadLocalValue
Returns the local value of a dependency property, if it exists.
(Inherited from DependencyObject.)
ReleaseMouseCapture
Releases the mouse capture, if this element held the capture.
(Inherited from UIElement.)
RemoveHandler
Removes the specified routed event handler from this element.
(Inherited from UIElement.)
SetBinding (Inherited from FrameworkElement.)
SetValue
Sets the local value of a dependency property, specified by its dependency property identifier.
(Inherited from DependencyObject.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
TransformToVisual (Inherited from UIElement.)
UpdateLayout
Ensures that all visual child elements of this element are properly updated for layout.
(Inherited from UIElement.)

See Also