ScrollDownAction Class
Represents an IEditAction that scrolls down a line.
public class ScrollDownAction : EditActionBase, IEditAction, IKeyedObject
- Inheritance:
- object Command EditActionBase object
- Implements:
- IEditAction IKeyedObject
Constructors
ScrollDownAction()
Initializes an instance of the ScrollDownAction class.
public ScrollDownAction()
ScrollDownAction(bool)
Initializes an instance of the ScrollDownAction class.
public ScrollDownAction(bool canKeepCaretVisible)
| Parameter | Type | Description |
|---|---|---|
| canKeepCaretVisible | bool | When |
Properties
CanKeepCaretVisible
Gets a value which indicates if the caret will be moved, as necessary, to remain visible after scrolling.
public bool CanKeepCaretVisible { get; }
Property Value
- bool:
trueto make sure the caret is visible after scrolling; otherwisefalseto leave the caret position unchanged. The default value istrue.
Remarks
This setting only applies when there is a single and will have no effect when there multiple carets are present.
Methods
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.CanExecute(IEditorView)
- EditActionBase.GetKeyText(Keys, Keys)
- EditActionBase.ReadFromXml(XmlReader)
- EditActionBase.WriteToXml(XmlWriter)
- EditActionBase.CanRecordInMacro
- EditActionBase.Key
- EditActionBase.Text
- Command.Name
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()