ButtonBase Methods
Include Protected Members
Include Inherited Members
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The ButtonBase type exposes the following members.
Methods
Name | Description | |
---|---|---|
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 objects and determines a size for a UIElement. Parent objects that implement custom layout for their child elements should call this method from their layout override implementations to form a recursive layout update. (Inherited from UIElement.) | |
ArrangeOverride | Provides the behavior for the Arrange pass of Windows Phone layout. Classes can override this method to define their own Arrange pass behavior. (Inherited from FrameworkElement.) | |
CaptureMouse | Sets touch capture to a UIElement. (Inherited from UIElement.) | |
CheckAccess | Determines whether the calling thread has access to this object. (Inherited from DependencyObject.) | |
ClearValue | Clears the local value of a dependency property. (Inherited from DependencyObject.) | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
FindName | Retrieves an object that has the specified identifier name. (Inherited from FrameworkElement.) | |
Focus | (Inherited from Control.) | |
GetAnimationBaseValue | Returns any base value established for a Windows Phone dependency property, which would apply in cases where an animation is not active. (Inherited from DependencyObject.) | |
GetBindingExpression | Retrieves the BindingExpression for a dependency property where a binding is established. (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 from a DependencyObject. (Inherited from DependencyObject.) | |
InvalidateArrange | Invalidates the arrange state (layout) for a UIElement. After the invalidation, the UIElement will have its layout updated, which will occur asynchronously. (Inherited from UIElement.) | |
InvalidateMeasure | Invalidates the measurement state (layout) for a UIElement. (Inherited from UIElement.) | |
Measure | Updates the DesiredSize of a UIElement. Typically, objects that implement custom layout for their layout children call this method from their own MeasureOverride implementations to form a recursive layout update. (Inherited from UIElement.) | |
MeasureOverride | Provides the behavior for the Measure pass of Windows Phone layout. Classes can override this method to define their own Measure pass behavior. (Inherited from FrameworkElement.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnApplyTemplate | When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks. (Inherited from FrameworkElement.) | |
OnClick | Raises the Click event. | |
OnContentChanged | Called when the value of the Content property changes. (Inherited from ContentControl.) | |
OnCreateAutomationPeer | When implemented in a derived class, returns class-specific AutomationPeer implementations for the Windows Phone automation infrastructure. (Inherited from UIElement.) | |
OnDoubleTap | (Inherited from Control.) | |
OnDragEnter | (Inherited from Control.) | |
OnDragLeave | (Inherited from Control.) | |
OnDragOver | (Inherited from Control.) | |
OnDrop | (Inherited from Control.) | |
OnGotFocus | Provides handling for the GotFocus event. (Overrides Control..::.OnGotFocus(RoutedEventArgs).) | |
OnHold | (Inherited from Control.) | |
OnIsPressedChanged | Called when the value of the IsPressed property changes. | |
OnKeyDown | Provides class handling for the KeyDown event that occurs when the user presses a key while this control has focus. (Overrides Control..::.OnKeyDown(KeyEventArgs).) | |
OnKeyUp | Provides class handling for the KeyUp routed event that occurs when the user releases a key while this control has focus. (Overrides Control..::.OnKeyUp(KeyEventArgs).) | |
OnLostFocus | Provides handling for the LostFocus event. (Overrides Control..::.OnLostFocus(RoutedEventArgs).) | |
OnLostMouseCapture | Provides handling for the LostMouseCapture event. (Overrides Control..::.OnLostMouseCapture(MouseEventArgs).) | |
OnManipulationCompleted | (Inherited from Control.) | |
OnManipulationDelta | (Inherited from Control.) | |
OnManipulationStarted | (Inherited from Control.) | |
OnMouseEnter | Provides class handling for the MouseEnter event that occurs when the user’s touch enters this control. (Overrides Control..::.OnMouseEnter(MouseEventArgs).) | |
OnMouseLeave | Provides class handling for the MouseLeave routed event that occurs when the user’s touch leaves an element. (Overrides Control..::.OnMouseLeave(MouseEventArgs).) | |
OnMouseLeftButtonDown | Provides class handling for the MouseLeftButtonDown event that occurs when the user touches the control. (Overrides Control..::.OnMouseLeftButtonDown(MouseButtonEventArgs).) | |
OnMouseLeftButtonUp | Provides class handling for the MouseLeftButtonUp event that occurs when the user lifts their finger while it is over this control. (Overrides Control..::.OnMouseLeftButtonUp(MouseButtonEventArgs).) | |
OnMouseMove | Provides class handling for the MouseMove event that occurs when the mouse pointer moves while over this element. (Overrides Control..::.OnMouseMove(MouseEventArgs).) | |
OnMouseRightButtonDown | (Inherited from Control.) | |
OnMouseRightButtonUp | (Inherited from Control.) | |
OnMouseWheel | (Inherited from Control.) | |
OnTap | (Inherited from Control.) | |
OnTextInput | (Inherited from Control.) | |
OnTextInputStart | (Inherited from Control.) | |
OnTextInputUpdate | (Inherited from Control.) | |
ReadLocalValue | Returns the local value of a dependency property, if a local value is set. (Inherited from DependencyObject.) | |
ReleaseMouseCapture | Removes touch capture from a UIElement. After this call, typically no object holds touch capture. (Inherited from UIElement.) | |
RemoveHandler | Removes the specified routed event handler from this UIElement. (Inherited from UIElement.) | |
SetBinding | Attaches a binding to a FrameworkElement, using the provided binding object, and returns a BindingExpressionBase for possible later use. (Inherited from FrameworkElement.) | |
SetValue | Sets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TransformToVisual | Returns a transform object that can be used to transform coordinates from the UIElement to the specified object. (Inherited from UIElement.) | |
UpdateLayout | Ensures that all positions of child objects of a UIElement are properly updated for layout. (Inherited from UIElement.) |
Top