Class Minimap
Represents the minimap at the right side of the Edit control.
public class Minimap : IMinimap, IUpdate, IDisposable
- Inheritance
-
Minimap
- Implements
Constructors
- Minimap()
Initializes a new instance of the
Minimapwith default settings.
- Minimap(TextEditor)
Initializes a new instance of the
Minimapwith specified owner.
Properties
- AllowDrag
Indicates whether drag operation can performed to
Minimap.
- AllowScroll
Indicates whether scroll operation can performed to
Minimap.
- IsDragging
Indicates whether
Minimapis in dragging state.
- IsScrolling
Indicates whether
Minimapis in scrolling state.
- Options
Gets or sets a
MinimapOptionsthat determine minimap appearance and behaviour.
- UpdateCount
Keeps track of calls to
BeginUpdateandEndUpdateso that they can be nested.
- Visible
Gets or sets a value indicating whether minimap area should be painted.
Methods
- BeginUpdate()
Prevents Margin updating until calling
Minimap.EndUpdatemethod.
- CancelDragging()
Cancels dragging the minimap.
- CancelScrolling()
Cancels scrolling the minimap.
- Contains(int, int)
Indicates whether
Minimaparea contains given position.
- ContainsBorder(double, double)
Indicates whether left border of
Minimaparea contains given position.
- DisableUpdate()
Prevents Minimap updating until calling
Minimap.EndUpdatemethod.
- Dispose()
Release resources of the
Marginobject.
- DragTo(double, double)
Moves
Minimapleft border to specified position.
- EnableUpdate()
Re-enables Minimap updating, that was turn of by calling
Minimap.DisableUpdatemethod.
- EndUpdate()
Re-enables page updating, that was turn of by calling
Minimap.BeginUpdatemethod.
- GetDisplayLine(int)
Gets a line to be displayed at y-position
- GetDisplayPoint(int)
Gets a display position at minimap y-position
- GetHint(int, int)
Gets a text under the cursor to be displayed in the hint
- OnClick(Point)
Handles
IMinimapclick.
- ScrollTo(double, double)
Scrolls
Minimapto specified position.
- Update()
Forces editor control to invalidate it's area.