In This Article

IntelliPromptCompletionList Class

Represents a default implementation of an IntelliPrompt completion list.

public class IntelliPromptCompletionList : UIControl, IUIControl, IUIElement, ILogicalTreeNode, IDisposable
Inheritance:
Object UIControl Object
Implements:
IUIControl IUIElement ILogicalTreeNode IDisposable

Constructors

IntelliPromptCompletionList(ICompletionSession)

Initializes an instance of the IntelliPromptCompletionList 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 display area of the control.

public override Rectangle DisplayRectangle { get; }

Property Value

Rectangle:

A Rectangle that represents the display area of the control.

Session

Gets the ICompletionSession for which the popup is displayed.

public ICompletionSession Session { get; }

Property Value

ICompletionSession:

The ICompletionSession for which the popup is displayed.

Methods

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.

OnRender(PaintEventArgs)

Renders the element.

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

A PaintEventArgs that contains the event data.

Inherited Members