Table of Contents

Class RulerIndent

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

Represents an indentation part of ruler.

public class RulerIndent : IRulerIndent
Inheritance
RulerIndent
Implements

Constructors

RulerIndent()

Initializes a new instance of the RulerIndent class with default settings.

RulerIndent(IndentOrientation, int)

Initializes a new instance of the RulerIndent class with specified parameters.

Properties

Dragging

Indicates whether RulerIndent is in dragging state.

Indent

Gets or sets size of this RulerIndent.

Orientation

Gets or sets RulerIndent alignment.

Methods

CancelDragging()

Cancels dragging operation.

DrawIndent(Graphics, Rectangle, bool, Color, Color)

Draws indentation part of ruler on the specified graphic surface.

OnDraggingChanged()
OnIndentChanged()
OnOrientationChanged()