In This Article

IntelliPromptParameterInfo Class

Represents a default implementation of an IntelliPrompt quick info.

public class IntelliPromptParameterInfo : DpiAwareControl, IDisposable, IDpiAwareElement
Inheritance:
object MarshalByRefObject Component Control DpiAwareControl object
Implements:
IDisposable IDpiAwareElement

Constructors

IntelliPromptParameterInfo(IParameterInfoSession)

Initializes an instance of the IntelliPromptParameterInfo class.

public IntelliPromptParameterInfo(IParameterInfoSession session)
Parameter Type Description
session IParameterInfoSession

The IParameterInfoSession for which the popup is displayed.

Properties

DefaultPadding

Gets the default padding.

protected override Padding DefaultPadding { get; }

Property Value

Padding:

The default padding.

DisplayRectangle

Gets the rectangle that represents the display area of the control.

public override Rectangle DisplayRectangle { get; }

Property Value

Rectangle:

A Rectangle that represents the display area of the control.

IsSelectionPanelVisible

Gets whether the selection panel is visible.

public bool IsSelectionPanelVisible { get; }

Property Value

bool:

true if the selection panel is visible; otherwise, false.

Session

Gets the IParameterInfoSession for which the popup is displayed.

public IParameterInfoSession Session { get; }

Property Value

IParameterInfoSession:

The IParameterInfoSession for which the popup is displayed.

Methods

DpiScaleChanged(SizeF)

Called when the DPI-based scale factor of the element changes.

protected override void DpiScaleChanged(SizeF scaleFactor)
Parameter Type Description
scaleFactor SizeF

The new scale factor where Width is applied to the x-axis, and Height is applied to the y-axis.

See Also

GetPreferredSize(Size)

Returns the preferred size.

public override Size GetPreferredSize(Size proposedSize)
Parameter Type Description
proposedSize Size

The proposed size.

Returns

Size:

The preferred size.

OnControlAdded(ControlEventArgs)

Occurs when a child control is added.

protected override void OnControlAdded(ControlEventArgs e)
Parameter Type Description
e ControlEventArgs

The ControlEventArgs that contains data related to this event.

OnFontChanged(EventArgs)

Occurs when the font changes.

protected override void OnFontChanged(EventArgs e)
Parameter Type Description
e EventArgs

The EventArgs that contains data related to this event.

OnMouseDown(MouseEventArgs)

Occurs when a mouse button is pressed.

protected override void OnMouseDown(MouseEventArgs e)
Parameter Type Description
e MouseEventArgs

The MouseEventArgs that contains data related to this event.

OnPaint(PaintEventArgs)

Occurs when the control needs to be painted.

protected override sealed void OnPaint(PaintEventArgs e)
Parameter Type Description
e PaintEventArgs

The PaintEventArgs that contains data related to this event.

OnPaintBackground(PaintEventArgs)

Raises the PaintBackground event.

protected override void OnPaintBackground(PaintEventArgs e)
Parameter Type Description
e PaintEventArgs

An PaintEventArgs that contains the event data.

Inherited Members