C# Class _3PA.MainFeatures.InfoToolTip.InfoToolTipForm

Inheritance: NppInterfaceForm.NppInterfaceForm
Mostrar archivo Open project: jcaillon/3P Class Usage Examples

Public Methods

Method Description
InfoToolTipForm ( ) : System
SetLinkClickedEvent ( Action clickHandler ) : void

Sets the link clicked event for the label

SetPosition ( ) : void

Reposition the tooltip with the last SetPosition method called

SetPosition ( Point position, int lineHeight ) : void

Position the tooltip relatively to a point

SetPosition ( Rectangle rect, bool reversed ) : void

Position the tooltip relatively to the autocompletion form (represented by a rectangle) reversed = true if the autocompletion is ABOVE the text it completes

SetText ( string content, int minimumWidth = 200 ) : void

set the html of the label, resize the tooltip

Method Details

InfoToolTipForm() public method

public InfoToolTipForm ( ) : System
return System

SetLinkClickedEvent() public method

Sets the link clicked event for the label
public SetLinkClickedEvent ( Action clickHandler ) : void
clickHandler Action
return void

SetPosition() public method

Reposition the tooltip with the last SetPosition method called
public SetPosition ( ) : void
return void

SetPosition() public method

Position the tooltip relatively to a point
public SetPosition ( Point position, int lineHeight ) : void
position Point
lineHeight int
return void

SetPosition() public method

Position the tooltip relatively to the autocompletion form (represented by a rectangle) reversed = true if the autocompletion is ABOVE the text it completes
public SetPosition ( Rectangle rect, bool reversed ) : void
rect System.Drawing.Rectangle
reversed bool
return void

SetText() public method

set the html of the label, resize the tooltip
public SetText ( string content, int minimumWidth = 200 ) : void
content string
minimumWidth int
return void