Table of Contents

Interface IEditRuler

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

Represents properties and methods of Edit control's ruler.

public interface IEditRuler : IControl

Properties

Anchor

When implemented by a class, gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.

IndentBackColor

When implemented by a class, gets or sets background color of indentation parts of the ruler.

IsDragging

When implemented by a class, indicates whether some of ruler indentation is in dragging state.

MarkWidth

When implemented by a class, gets or sets default distance between adjacent marks.

Options

When implemented by a class, gets or sets RulerOptions determining ruler behaviour.

PageStart

When implemented by a class, gets or sets beginning of the page part of the ruler.

PageWidth

When implemented by a class, gets or sets width, in pixels between left and right indentations indicating width of the page.

RulerStart

When implemented by a class, gets or sets position, in pixels, of left indentation specifying start of the page.

RulerWidth

When implemented by a class, gets or sets ruler width.

Units

When implemented by a class, gets or sets ruler measurement units.

Vertical

When implemented by a class, gets or sets a boolean value indicating whether ruler has vertical or horizontal direction.

Methods

Assign(IEditRuler)

When implemented by a class, copies the contents of another IEditRuler object.

CancelDragging()

When implemented by a class, cancels dragging operation.

ResetIndentBackColor()

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

ResetOptions()

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

ResetUnits()

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

SendToBack()

When implemented by a class, sends the control to the back of the z-order.

Events

Change

When implemented by a class, occurs when some of ruler indentations has changed its position due to the dragging operation.