IXRButtonBase (Windows Embedded CE 6.0)
1/6/2010
This class represents the base class for all button controls, such as IXRButton, IXRRepeatButton, and IXRToggleButton.
Syntax
class IXRButtonBase : public IXRContentControl
Methods
Method | Description |
---|---|
Attaches a delegate to the Click event for this button. When the Click event is raised by this button, this delegate will be invoked. |
|
Retrieves a value that specifies the action that raises the Click event for this button control. |
|
Retrieves a value that indicates whether the button control has the UI focus. |
|
Retrieves a value that indicates whether the mouse pointer is located over this button control. |
|
Retrieves a value that indicates whether this button control is currently in a pressed state. |
|
Removes a delegate from the Click event for this button control. |
|
Sets a value that specifies the action that raises the Click event for this button control. |
Remarks
You can attach a delegate to the Click event in order to handle the event raised when the user clicks an object derived from IXRButtonBase. To do this, use IXRButtonBase::AddClickEventHandler.
Note
You should use the Click event to detect a button click instead of using MouseLeftButtonDown or MouseLeftButtonUp.
Inheritance Hierarchy
IXRButtonBase
.NET Framework Equivalent
System.Windows.Controls.Primitives.ButtonBase
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |
See Also
Reference
Classes for UI Element Management