IntelliPromptQuickInfo Class
Represents a default implementation of an IntelliPrompt quick info.
public class IntelliPromptQuickInfo : DpiAwareControl, IDisposable, IDpiAwareElement
- Inheritance:
- object MarshalByRefObject Component Control DpiAwareControl object
- Implements:
- IDisposable IDpiAwareElement
Constructors
IntelliPromptQuickInfo(IQuickInfoSession)
Initializes an instance of the IntelliPromptQuickInfo
class.
public IntelliPromptQuickInfo(IQuickInfoSession session)
Parameter | Type | Description |
---|---|---|
session | IQuickInfoSession | The IQuickInfoSession for which the popup is displayed. |
Properties
DefaultPadding
Gets the default padding.
DisplayRectangle
Gets the rectangle that represents the display area of the control.
public override Rectangle DisplayRectangle { get; }
Property Value
Session
Gets the IQuickInfoSession for which the popup is displayed.
public IQuickInfoSession Session { get; }
Property Value
- IQuickInfoSession:
The IQuickInfoSession 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.
OnPaintBackground(PaintEventArgs)
Raises the PaintBackground
event.
protected override void OnPaintBackground(PaintEventArgs e)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | An |
WndProc(ref Message)
Processes Windows messages.
protected override void WndProc(ref Message m)
Parameter | Type | Description |
---|---|---|
m | Message | The Windows Message to process. |
Inherited Members
- DpiAwareControl.OnDpiChangedAfterParent(EventArgs)
- DpiAwareControl.DpiScaleFactor
- MarshalByRefObject.GetLifetimeService()
- MarshalByRefObject.InitializeLifetimeService()
- MarshalByRefObject.MemberwiseClone(bool)
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()