IQuickInfoSession Interface
Provides the base requirements for an object that represents an IntelliPrompt quick info session.
public interface IQuickInfoSession : IIntelliPromptSession, IServiceLocator
Properties
Content
The content to display in the quick info popup.
Context
An object that describes the context in which the quick info popup is displayed.
ControlKeyDownOpacity
The opacity of the popup while the control key is pressed.
double ControlKeyDownOpacity { get; }
Property Value
Remarks
Set the value to 1.0 to prevent opacity changes when the control key is pressed.
MaxWidth
The quick info popup's maximum width.
int MaxWidth { get; }
Property Value
- int:
The quick info popup's maximum width, or
NaNto indicate no constraint. The default value is1000.
Placement
The PlacementMode describing where to place the popup when a PlacementTarget is specified.
PlacementRectangle
The PlacementTarget-relative bounds for where to target the popup when a PlacementTarget is specified.
PlacementTarget
The visual element against which to target the popup when not opening the session for a text range.
IUIElement? PlacementTarget { get; }
Property Value
See Also
Methods
Open(IEditorView, PlacementMode, IUIElement?, Rectangle)
Opens the session around a placement target, attaching to the specified IEditorView.
void Open(IEditorView view, PlacementMode placement, IUIElement? placementTarget, Rectangle placementRectangle)
| Parameter | Type | Description |
|---|---|---|
| view | IEditorView | The IEditorView in which the session is opened. |
| placement | PlacementMode | A PlacementMode indicating the mode by which to display the quick info. |
| placementTarget | IUIElement | The target IUIElement for placing the quick info. |
| placementRectangle | Rectangle | The target-relative Rectangle around which to display the quick info. |
Inherited Members
- IIntelliPromptSession.Close(bool)
- IIntelliPromptSession.Open(IEditorView, TextRange?)
- IIntelliPromptSession.Reposition()
- IIntelliPromptSession.Bounds
- IIntelliPromptSession.ClosesOnLostFocus
- IIntelliPromptSession.IsOpen
- IIntelliPromptSession.SessionType
- IIntelliPromptSession.SnapshotRange
- IIntelliPromptSession.View
- IIntelliPromptSession.Closed
- IIntelliPromptSession.Opened
- IServiceLocator.GetAllServiceTypes()
- IServiceLocator.GetService<T>()
- IServiceLocator.GetService(object)
- IServiceLocator.RegisterService<T>(T)
- IServiceLocator.RegisterService(object, object)
- IServiceLocator.UnregisterService<T>()
- IServiceLocator.UnregisterService(object)
- IServiceLocator.SyncRoot
- IServiceLocator.ServiceAdded
- IServiceLocator.ServiceRemoved