Table of Contents

Class BookMark

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

BookMark class is used to store individual bookmark in bookmarks collection of Edit control.

public class BookMark : IBookMark
Inheritance
BookMark
Implements
Derived

Remarks

Implements IBookMark interface.

Constructors

BookMark()

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

BookMark(int)

Initializes a new instance of the BookMark class with specified settings.

BookMark(int, int, int)

Initializes a new instance of the BookMark class with specified Pos, Index and Line values.

BookMark(int, int, int, int, int, string)

Initializes a new instance of the BookMark class with specified Pos, Line, Index, Group, Name, Description, Url, ImageIndex, FileName and Tag values.

BookMark(int, int, int, int, int, string, string, string, string, object)

Initializes a new instance of the BookMark class with specified Pos, Line, Index, Group, ImageIndex, Name, Description, Url, ImageIndex, FileName and Tag values.

BookMark(int, int, int, string, string, string)

Initializes a new instance of the BookMark class with specified Pos, Line, Index, Name, Description and Url values.

BookMark(int, int, int, string, string, string, int, string, object)

Initializes a new instance of the BookMark class with specified Pos, Line, Index, Name, Description, Url, ImageIndex, FileName and Tag values.

BookMark(int, string)

Initializes a new instance of the BookMark class with specified Line and FileName values.

Properties

Description

Gets or sets bookmark description.

FileName

Gets or sets a file name associated with this IBookMark.

Group

Gets or sets a group associated with this IBookMark.

ImageIndex

Gets or sets an image index associated with this IBookMark.

Index

Gets an integer value that specifies an ordinal index of the bookmark.

Line

Gets position of the bookmark within the text. 0 corresponds to the first line, 1 to second the line, and so on.

Name

Gets or sets name of the bookmark.

Pos

Gets position of the bookmark within the text line. 0 corresponds to the first character in a line, 1 to the second character, and so on.

Position

Gets position of the bookmark within the text (index of character and line). Corresponds to Pos and Line properties.

Tag

Gets or sets user-defined data associated with this IBookMark.

Url

Gets or sets bookmark url.

ZIndex

Gets or sets an z-index associated with this IBookMark.

Methods

Assign(IBookMark)

Copies the contents of another bookmark object to the bookmark.

OnDescriptionChanged()
OnFileNameChanged()
OnGroupChanged()
OnImageIndexChanged()
OnNameChanged()
OnTagChanged()
OnUrlChanged()
OnZIndexChanged()