RequestIntelliPromptQuickInfoSessionAction Class
Represents an IEditAction that displays IntelliPrompt quick info based on the current context.
public class RequestIntelliPromptQuickInfoSessionAction : EditActionBase, IEditAction, IKeyedObject
- Inheritance:
- object RoutedCommand RoutedUICommand EditActionBase object
- Implements:
- IEditAction IKeyedObject
Constructors
RequestIntelliPromptQuickInfoSessionAction()
Initializes an instance of the RequestIntelliPromptQuickInfoSessionAction
class.
public RequestIntelliPromptQuickInfoSessionAction()
Properties
TargetOffset
Gets or sets the optional target offset.
public int? TargetOffset { get; set; }
Property Value
- int?:
The optional target offset.
Remarks
When no target offset is specified, the caret's offset will be used.
Methods
CanExecute(IEditorView)
Returns whether the edit action can execute in the specified IEditorView.
public override bool CanExecute(IEditorView view)
Parameter | Type | Description |
---|---|---|
view | IEditorView | The IEditorView to examine. |
Returns
- bool:
true
if the edit action can execute in the specified IEditorView; otherwise,false
.
Execute(IEditorView)
Executes the edit action in the specified IEditorView.
public override void Execute(IEditorView view)
Parameter | Type | Description |
---|---|---|
view | IEditorView | The IEditorView in which to execute the edit action. |
Inherited Members
- EditActionBase.GetKeyText(ModifierKeys, Key)
- EditActionBase.ReadFromXml(XmlReader)
- EditActionBase.WriteToXml(XmlWriter)
- EditActionBase.CreateCommandBinding()
- EditActionBase.CreateCommandBinding(ICommand)
- EditActionBase.CanRecordInMacro
- EditActionBase.Key
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()