The exact content to which a sticky note applies is highlighted and marked off with brackets. When maximized, a sticky note can be dragged to a new position in a window without changing the location of its anchor. Sticky notes can be minimized to an icon and expanded. It is also more flexible than simply adding to, or striking through, the text of a document. The user interface (UI) of the StickyNoteControl makes it a more powerful way to annotate material than marking up a hardcopy or using physical handwritten notes. With a tablet PC or other suitable hardware, users can enter handwritten notes. Ink sticky notes have an InkCanvas content area and it can be edited like other ink canvasses. The usual Rich Text keyboard shortcuts are also available. Users can type into it and can also cut, copy, and paste both within the note and between the note and other applications. Text sticky notes have a RichTextBox content area that can be written and edited like any other Rich Text area. When a sticky note is created, it is designated as one of two types: Instances are created with the CreateTextStickyNoteCommand and CreateInkStickyNoteCommand of the AnnotationService class. The StickyNoteControl class and its members are public so that it can be styled, but is no public constructor. Ī sticky note provides a rectangular area whose content is separate from the text, image, or other material to which the note is anchored. The example shows how to read an XML Paper Specification (XPS) document into a DocumentViewer control and then enable support for adding user-created sticky notes. The following example shows how menu commands in a DocumentViewer can be configured to execute the CreateTextStickyNoteCommand and CreateInkStickyNoteCommand of the AnnotationService class. Inherit Control Public NotInheritable Class StickyNoteControl Public sealed class StickyNoteControl : In this article public ref class StickyNoteControl sealed : System::Windows::Controls::Control Represents a control that lets users attach typed text or handwritten annotations to documents.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |