Click or drag to resize
AB4D logo

MouseWithButtons Class

MouseWithButtons shows mouse with buttons as a vector drawing. It is possible to specify which buttons are presses and colors of the mouse.
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.ControlsControl
              System.Windows.ControlsContentControl
                System.Windows.ControlsUserControl
                  Ab3d.ControlsMouseWithButtons

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public class MouseWithButtons : UserControl, 
	IComponentConnector

The MouseWithButtons type exposes the following members.

Constructors
 NameDescription
Public methodMouseWithButtons Constructor
Top
Properties
 NameDescription
Public propertyIsLeftButtonPressed Gets or sets a Boolean that specifies if left button is shown as pressed.
Public propertyIsMiddleButtonPressed Gets or sets a Boolean that specifies if middle button is shown as pressed.
Public propertyIsMiddleButtonShown Gets or sets a Boolean that specifies if middle button is shown on the mouse.
Public propertyIsRightButtonPressed Gets or sets a Boolean that specifies if right button is shown as pressed.
Public propertyOutlineButtonBrush Gets or sets a Brush that specifies how the mouse outlines are shown. Default value is Black brush.
Public propertyPressedButtonBrush Gets or sets a Brush that specifies how a pressed button is shown. Default value is Red brush.
Public propertyReleasedButtonBrush Gets or sets a Brush that specifies how the a released button is shown. Default value is DarkGray brush.
Top
Methods
 NameDescription
Public methodInitializeComponent InitializeComponent
Top
Fields
 NameDescription
Public fieldStatic memberIsLeftButtonPressedProperty IsLeftButtonPressedProperty
Public fieldStatic memberIsMiddleButtonPressedProperty IsMiddleButtonPressedProperty
Public fieldStatic memberIsMiddleButtonShownProperty IsMiddleButtonShownProperty
Public fieldStatic memberIsRightButtonPressedProperty IsRightButtonPressedProperty
Top
See Also