C# Class MacInspector.CustomBox

Inheritance: NSBox
Afficher le fichier Open project: xamarin/mac-samples Class Usage Examples

Private Properties

Свойство Type Description
RaiseBoxClicked void

Méthodes publiques

Méthode Description
CustomBox ( IntPtr handle ) : System

Initializes a new instance of the T:MacInspector.CustomBox class.

MouseDown ( NSEvent theEvent ) : void

Handles the mouse going down on the box.

MouseExited ( NSEvent theEvent ) : void

Handles the mouse moving outside of the box's bounds while down.

MouseMoved ( NSEvent theEvent ) : void

Handles the mouse being moved while down on the box.

MouseUp ( NSEvent theEvent ) : void

Handles the mouse being released over the box.

Private Methods

Méthode Description
RaiseBoxClicked ( ) : void

Raises the box clicked event.

Method Details

CustomBox() public méthode

Initializes a new instance of the T:MacInspector.CustomBox class.
public CustomBox ( IntPtr handle ) : System
handle System.IntPtr Handle.
Résultat System

MouseDown() public méthode

Handles the mouse going down on the box.
public MouseDown ( NSEvent theEvent ) : void
theEvent NSEvent The event.
Résultat void

MouseExited() public méthode

Handles the mouse moving outside of the box's bounds while down.
public MouseExited ( NSEvent theEvent ) : void
theEvent NSEvent The event.
Résultat void

MouseMoved() public méthode

Handles the mouse being moved while down on the box.
public MouseMoved ( NSEvent theEvent ) : void
theEvent NSEvent The event.
Résultat void

MouseUp() public méthode

Handles the mouse being released over the box.
public MouseUp ( NSEvent theEvent ) : void
theEvent NSEvent The event.
Résultat void