Class BookMark
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
BookMark
class is used to store individual bookmark in bookmarks collection of Edit control.
IBookMark
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 specifiedPos
,Index
andLine
values.
- BookMark(int, int, int, int, int, string)
Initializes a new instance of the
BookMark
class with specifiedPos
,Line
,Index
,Group
,Name
,Description
,Url
,ImageIndex
,FileName
andTag
values.
- BookMark(int, int, int, int, int, string, string, string, string, object)
Initializes a new instance of the
BookMark
class with specifiedPos
,Line
,Index
,Group
,ImageIndex
,Name
,Description
,Url
,ImageIndex
,FileName
andTag
values.
- BookMark(int, int, int, string, string, string)
Initializes a new instance of the
BookMark
class with specifiedPos
,Line
,Index
,Name
,Description
andUrl
values.
- BookMark(int, int, int, string, string, string, int, string, object)
Initializes a new instance of the
BookMark
class with specifiedPos
,Line
,Index
,Name
,Description
,Url
,ImageIndex
,FileName
andTag
values.
- BookMark(int, string)
Initializes a new instance of the
BookMark
class with specifiedLine
andFileName
values.
Properties
- Description
Gets or sets bookmark description.
- FileName
Gets or sets a file name associated with this
IBookMark
.
- Group
When implemented by a class, gets or sets a group associated with this
IBookMark
.
- ImageIndex
Gets or sets an image index associated with this
IBookMark
.
- Line
Gets position of the bookmark within the text. 0 corresponds to the first line, 1 to second the line, and so on. Pos Index
- 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. Line Index
- Position
Gets position of the bookmark within the text (index of character and line). Corresponds to
Pos
andLine
properties. Pos Line Index
- Tag
Gets or sets user-defined data associated with this
IBookMark
.
- Url
Gets or sets bookmark url.
- ZIndex
When implemented by a class, gets or sets an z-index associated with this
IBookMark
.
Methods
- Assign(IBookMark)
Copies the contents of another bookmark object to the bookmark.
- ShouldSerializeDescription()
Indicates whether the
Description
should be persisted.
- ShouldSerializeFileName()
Indicates whether the
FileName
should be persisted.
- ShouldSerializeGroup()
Indicates whether the
Group
should be persisted.
- ShouldSerializeImageIndex()
Indicates whether the
ImageIndex
should be persisted.
- ShouldSerializeIndex()
Indicates whether the
Index
should be persisted.
- ShouldSerializeLine()
Indicates whether the
Line
should be persisted.
- ShouldSerializeName()
Indicates whether the
Name
should be persisted.
- ShouldSerializePos()
Indicates whether the
Pos
should be persisted.
- ShouldSerializeUrl()
Indicates whether the
Url
should be persisted.
- ShouldSerializeZIndex()
Indicates whether the
ZIndex
should be persisted.