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 <ahref="https://www.telerik.com/maui-ui/pdf-viewer"target="_blank">.NET MAUI PDF Viewer</a> provides a flexible styling API for its toolbar items.
12
12
13
-
As the `PDFViewerToolbar` is based on the `RadToolbar` control, all toolbar items in the PDF Viewer inherit from `ButtonToolbarItem`. All styling properties available for the `ButtonToolbarItem` are also applicable for the PDF toolbar items.
13
+
## Style the Toolbar Items
14
14
15
-
Here is an example:
15
+
The `PDFViewerToolbar` is based on the `RadToolbar` control, so the toolbar items in the PDF Viewer use a `ToolbarItem`.
16
+
17
+
Each toolbar item has a `Style` property and the target type of the property is the corresponding `ToolbarItemView`:
All styling properties available for the target type [`ButtonToolbarItemView`]({%slug toolbar-items-button%}) are also applicable for the PDF toolbar items that use this target type.
32
+
33
+
All properties applicable for [`NavigationButtonToolbarItemView`({%slug toolbar-items-navigation-button%}) can be used for stlying the `PdfViewerSearchNavigationToolbarItem`.
34
+
35
+
## Example for Styling the Toolbar
16
36
17
37
**1.** PDF Viewer and Toolbar definitions in XAML:
All styling properties available for the target type [`ButtonToolbarItemView`]({%slug toolbar-items-button%}), [`ToggleButtonToolbarItemView`]({%slug toolbar-items-toggle-button%}), [`RadioButtonToolbarItemView`]({%slug toolbar-items-radio-button%}) are also applicable for the RichTextEditor toolbar items that use this target type.
56
+
57
+
## Example for Styling the Toolbar
18
58
19
59
**1.** RichTextEditor and Toolbar definitions in XAML:
0 commit comments