You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `MADE.UI.Controls.RichEditToolbar` element is a custom-built UI element that works with [Uno's supported platforms](https://platform.uno/) that provides customizable and extensible collection of buttons that activate rich text features in an associated [RichEditBox](https://docs.microsoft.com/en-us/uwp/api/Windows.UI.Xaml.Controls.RichEditBox?view=winrt-22000).
9
+
10
+
Shown below is the visuals for the control in its default state.
11
+
12
+
<imgsrc="../../images/RichEditToolbar.png"alt="RichEditToolbar with default button options" />
Unfortunately, Uno Platform doesn't currently support the use of `RichEditBox`.
56
+
57
+
The control has been custom built now to structure around the unsupported direct attachment to a `RichEditBox` exposing events that allow a developer to use the control in a different context in Uno Platform applications.
58
+
59
+
You can listen for these changes by hooking onto the following `RichEditToolbar` events:
60
+
61
+
- FontSizeChanged
62
+
- FontStyleChanged
63
+
- TextColorChanged
64
+
- ListStyleChanged
65
+
66
+
These are fired when the user changes the font size, font style, text color, or list style. Each event provides an event argument that provides the new values for that setting.
67
+
68
+
## Customizing the ChipBox
69
+
70
+
The control has many customization properties that are exposed to tailor the experience for your application.
71
+
72
+
### Custom toolbar options
73
+
74
+
As well as the out-of-the-box options available, the `RichEditToolbar` allows developers to extend the options with additional custom options.
75
+
76
+
These can be added to the `CustomOptions` collection on the control either via XAML or in code.
Exposed on the `RichEditToolbar` is a `CustomTextColorOptions` property that allows you to provide your own custom set of colors to display in the text color options panel.
Text="The RichEditToolbar is a custom-built UI element that provides customizable and extensible collection of buttons that activate rich text features in an associated RichEditBox." />
0 commit comments