Class BookMarkManager
Represents class to manage shared bookmark collection.
public class BookMarkManager
- Inheritance
-
BookMarkManager
Properties
- SharedBookMarks
Gets an
BookMarkManager
to manage shared bookmarks.
Methods
- BlockDeleting(Rectangle, string)
Removes all bookmarks belongs to specified file within specified rectangle.
- CanMoveToNextBookMark(int)
Returns boolean value indicating that manager can move to the next bookmark appropriate specified conditions. Determines whether.
- CanMoveToPreviousBookMark(int)
Returns boolean value indicating that manager can move to the previous bookmark appropriate specified conditions. Determines whether.
- Clear()
Removes all bookmarks from the bookmarks collection.
- Clear(int, string)
Removes all bookmarks from the bookmarks collection appropriate specified conditions.
- Clear(string)
Removes all bookmarks from the bookmarks collection appropriate specified conditions.
- ClearBookMark(int)
Finds the bookmark with specified index and removes it from bookmarks collection.
- ClearBookMark(int, int, int, string)
Finds the bookmark by specified parameters and removes its from bookmark collection.
- ClearBookMarks(int, int, string)
Removes all bookmark found by specified criterion.
- ClearUnnumberedBookMarks(string)
Removes all unnumbered bookmarks from the bookmarks collection appropriate specified conditions.
- FindBookMark(int, int, int, string)
Locates the bookmark appropriate specified conditions.
- FindBookMark(int, int, string)
Locates the bookmark appropriate specified conditions.
- FindBookMark(int, string)
Locates the bookmark appropriate specified conditions.
- GetBookMark(Point, Point, int, string)
Finds the first bookmark in the collection appropriate specified conditions.
- GetBookMark(int, int, string)
Finds the first bookmark in the collection appropriate specified conditions.
- GetBookMarkCount(int, string)
Calculates amount of bookmarks appropriate specified conditions.
- GetBookMarks(Point, Point, int, string, IList<IBookMark>)
Finds all bookmarks in the collection appropriate specified conditions.
- GetBookMarks(int, string, IList<IBookMark>)
Finds all bookmarks in the collection appropriate specified conditions.
- GetCurrentBookMark(int)
Finds current bookmark.
- GetImages(int)
Returns image list by its group.
- GetZIndex(int)
Gets Z-Index of specified group.
- GotoBookMark(int)
Finds the bookmark with specified index and jumps to its location.
- GotoNextBookMark()
Moves to the location of the next unnumbered bookmark in the appropriate text source.
- GotoNextBookMark(int)
Moves to the location of the next unnumbered bookmark in the appropriate text source.
- GotoPrevBookMark()
Moves to the location of the previous unnumbered bookmark in the appropriate text source.
- GotoPrevBookMark(int)
Moves to the location of the previous unnumbered bookmark in the appropriate text source.
- LoadFile(string)
Loads bookmark content from the specified file.
- LoadStream(Stream)
Loads bookmark content from the specified stream.
- NextBookMark(int, string)
Returns the minimal possible value of the bookmark
Index
property of the new bookmark appropriate specified conditions.
- OnActivate(string, ref ITextSource)
Raises
Activate
event.
- OnBookMarkAdded(IBookMark)
Raises
BookMarkAdded
event.
- OnBookMarkImageChanged(IBookMark, int)
Raises
BookMarkImageChanged
event.
- OnBookMarkPositionChanged(IBookMark, Point)
Raises
BookMarkPositionChanged
event.
- OnBookMarkRemoved(IBookMark)
Raises
OnBookMarkRemoved
event.
- OnClick(IBookMark)
Raises
Click
event.
- OnDoubleClick(IBookMark)
Raises
DoubleClick
event.
- OnShowTooltip(ref string, IBookMark)
Raises
ShowToolTip
event.
- PositionChanged(int, int, int, int, string)
Updates all bookmarks appropriate specified conditions starting from specified position.
- Register(ITextSource)
Add specified ITextSource to collection to manage its bookmarks on a shared basis.
- RegisterImages(ImageSourceCollection, int)
Set specified image collection as image source for given group.
- SaveFile(string)
Saves bookmark content to the specific file.
- SaveStream(Stream)
Saves bookmark content to the specific stream.
- SetBookMark(Point, int, int, int, string, string, string, object, string)
Sets the bookmark with specified parameters.
- SetZIndex(int, int)
Sets Z-Index of specified group.
- ToggleBookMark(Point, int, int, int, string, string, string, object, string)
Sets or removes bookmark with specified conditions.
- Unregister(ITextSource)
Removes specified ITextSource from collection to stop manage its bookmarks on a shared basis.
Events
- Activate
Occurs when some ITextSource needs to be activated.
- BookMarkAdded
Occurs when IBookMark is being added.
- BookMarkImageChanged
Occurs when IBookMark image is being changed.
- BookMarkPositionChanged
Occurs when IBookMark position is being changed.
- BookMarkRemoved
Occurs when IBookMark is being removed.
- Click
Occurs when IBookMark is being clicked.
- DoubleClick
Occurs when IBookMark is being double clicked.
- ShowToolTip
Occurs when IBookMark Tooltip needs to be displayed.