In This Article

IntelliPromptCompletionList Class

Represents a default implementation of an IntelliPrompt completion list.

public class IntelliPromptCompletionList : UIControl, IUIControl, IUIElement, ILogicalTreeNode, IDpiAwareElement, IDisposable
Inheritance:
object MarshalByRefObject Component Control ScrollableControl UIControl object
Implements:
IUIControl IUIElement ILogicalTreeNode IDpiAwareElement IDisposable

Constructors

IntelliPromptCompletionList(ICompletionSession)

Initializes an instance of the class.

public IntelliPromptCompletionList(ICompletionSession session)
Parameter Type Description
session ICompletionSession

The ICompletionSession for which the popup is displayed.

Properties

DisplayRectangle

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

public override Rectangle DisplayRectangle { get; }

Property Value

Rectangle:

A Rectangle that represents the display area of the control.

Session

The ICompletionSession for which the popup is displayed.

public ICompletionSession Session { get; }

Property Value

ICompletionSession

Methods

DpiScaleChanged(SizeF)

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

public 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)

Retrieves the size of a rectangular area into which a control can be fitted.

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

The custom-sized area for a control.

Returns

Size:

An ordered pair of type Size representing the width and height of a rectangle.

OnControlAdded(ControlEventArgs)

Raises the ControlAdded event.

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

A ControlEventArgs that contains the event data.

OnFontChanged(EventArgs)

Raises the FontChanged event.

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

An EventArgs that contains the event data.

OnRender(PaintEventArgs)

Renders the element.

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

The event data.

Inherited Members

Extension Methods