Table of Contents

Interface IMargin

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

Represents properties and methods specifying appearance of the margin in Edit control.

public interface IMargin : IUpdate, IDisposable

Properties

AllowDrag

When implemented by a class, indicates whether drag operation can performed to IMargin.

ColumnPen

When implemented by a class, gets or sets Pen object that describes the color and pattern of column margin lines.

ColumnPenColor

When implemented by a class, gets or sets a color of the column margin line.

ColumnPositions

When implemented by a class, gets or sets the character columns where additional column margin will be drawn.

ColumnsVisible

When implemented by a class, gets or sets a value indicating whether column margins should be painted.

IsDragging

When implemented by a class, indicates whether IMargin is in dragging state.

Pen

When implemented by a class, gets or sets Pen object that describes the color and pattern of IMargin line.

PenColor

When implemented by a class, gets or sets a color of the margin line.

Position

When implemented by a class, gets or sets value indicating position, in characters, of the vertical line within the text portion of the control.

ShowHints

When implemented by a class, gets or sets a value indicating whether IMargin should display some hint when mouse pointer is over the margin area.

Visible

When implemented by a class, gets or sets a value indicating whether vertical line should be painted.

Methods

Assign(IMargin)

When implemented by a class, copies the contents from another IMargin object.

CancelDragging()

When implemented by a class, cancels dragging the margin.

Contains(int, int)

When implemented by a class, indicates whether IMargin area contains given position.

DragTo(int, int)

When implemented by a class, moves IMargin to specified position.

Paint(IPainter, Rectangle)

When implemented by a class, draws IMargin object on the specified graphic surface.

PaintColumn(IPainter, Rectangle)

Draws margin column on the specified graphic surface.

ResetAllowDrag()

When implemented by a class, resets the AllowDrag to the default value.

ResetColumnPositions()

When implemented by a class, resets the ColumnPositions to the default value.

ResetColumnsVisible()

When implemented by a class, resets the ColumnsVisible to the default value.

ResetPosition()

When implemented by a class, resets the Position to the default value.

ResetShowHints()

When implemented by a class, resets the ShowHints to the default value.

ResetVisible()

When implemented by a class, resets the Visible to the default value.