IQuickInfoSession Interface
Provides the base requirements for an object that represents an IntelliPrompt quick info session.
public interface IQuickInfoSession : IIntelliPromptSession, IServiceLocator
Properties
Content
Gets the content to display in the quick info popup.
Context
Gets an object that describes the context in which the quick info popup is displayed.
object Context { get; }
Property Value
- Object:
An object that describes the context in which the quick info popup is displayed.
ControlKeyDownOpacity
Gets the opacity of the popup while the control key is pressed.
double ControlKeyDownOpacity { get; }
Property Value
- Double:
The opacity of the popup while the control key is pressed.
Remarks
Set the value to 1.0
to prevent opacity changes when the control key is pressed.
MaxWidth
Gets the quick info popup's maximum width.
double MaxWidth { get; }
Property Value
- Double:
The quick info popup's maximum width, or
NaN
to indicate no constraint.
Methods
Open(IEditorView, PlacementMode, UIElement, Rect)
Opens the session around a placement target, attaching to the specified IEditorView.
void Open(IEditorView view, PlacementMode placement, UIElement placementTarget, Rect 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 | UIElement | The target UIElement for placing the quick info. |
placementRectangle | Rect | The target-relative Rect around which to display the quick info. |
Events
RequestNavigate
Occurs when a hyperlink is clicked that requests navigation.
Inherited Members
- IIntelliPromptSession.Close(Boolean)
- 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