TextToolbar Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Toolbar for Editing Text attached to a RichEditBox
[Windows.UI.Xaml.TemplatePart(Name="Root", Type=typeof(Windows.UI.Xaml.Controls.CommandBar))]
public class TextToolbar : Windows.UI.Xaml.Controls.Control
[<Windows.UI.Xaml.TemplatePart(Name="Root", Type=typeof(Windows.UI.Xaml.Controls.CommandBar))>]
type TextToolbar = class
inherit Control
Public Class TextToolbar
Inherits Control
- Inheritance
-
Windows.UI.Xaml.Controls.ControlTextToolbar
- Attributes
-
Windows.UI.Xaml.TemplatePartAttribute
Constructors
TextToolbar() |
Initializes a new instance of the TextToolbar class. |
Fields
CustomButtonsProperty |
Identifies the CustomButtons dependency property. |
DefaultButtonModificationsProperty |
Identifies the ButtonModifications dependency property. |
DefaultButtonsProperty |
Identifies the DefaultButton dependency property. |
EditorProperty |
Identifies the Editor dependency property. |
FormatProperty |
Identifies the Format dependency property. |
FormatterProperty |
Identifies the Formatter dependency property. |
UseURICheckerProperty |
Identifies the UseURIChecker dependency property. |
Properties
ButtonModifications |
Gets or sets a list of Default buttons to Modify. |
ControlKeyDown |
Gets a value indicating whether Control is pressed down |
CustomButtons |
Gets or sets a list of buttons to add on top of the Default Button set. |
DefaultButtons |
Gets the default buttons for this format. |
Editor |
Gets or sets the RichEditBox to Attach to, this is required for any formatting to work. |
Format |
Gets or sets which formatter to use, and which buttons to provide. |
Formatter |
Gets or sets the formatter instance which is used to format the text, using the buttons and shortcuts. |
LastKeyPress |
Gets the last key pressed using the Editor. |
MenuKeyDown |
Gets a value indicating whether Menu is pressed down |
ShiftKeyDown |
Gets a value indicating whether Shift is pressed down |
UseURIChecker |
Gets or sets a value indicating whether to enable use of URI Checker for Link Creator. This allows you to verify Absolute URIs, before creating the Link. |
Methods
GetDefaultButton(ButtonType) |
Gets the Button Instance from the DefaultButton |
OnApplyTemplate() | Windows.UI.Xaml.Controls.Control.OnApplyTemplate |
RemoveToolbarItem(IToolbarItem) |
Removes an Element from the Toolbar |
Events
EditorChanged |
Fired when the RichEditBox Instance Changes. |
ShortcutRequested |
Fired when a CTRL + "Letter" combination is used inside the Editor. |