C# Class MacInspector.CustomBox

Inheritance: NSBox
Show file Open project: xamarin/mac-samples Class Usage Examples

Private Properties

Property Type Description
RaiseBoxClicked void

Public Methods

Method 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

Method Description
RaiseBoxClicked ( ) : void

Raises the box clicked event.

Method Details

CustomBox() public method

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

MouseDown() public method

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

MouseExited() public method

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

MouseMoved() public method

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

MouseUp() public method

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