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
Copy file name to clipboardExpand all lines: Styles/StylingToolbarItem/README.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,7 +164,6 @@ This namespace enables access to the PDF Viewer control.
164
164
pdfViewer.DocumentSource=DocumentStream;
165
165
```
166
166
167
-
168
167
### 9. Matching semantics of the custom toolbar item with default toolbar item
169
168
170
169
To match the text color of newly added toolbar item with that of default toolbar item in the toolbar, set the color of the [TextColor](https://learn.microsoft.com/en-us/dotnet/api/microsoft.maui.controls.button.textcolor?view=net-maui-9.0) for the button as that of the default toolbar item using the [SetAppThemeColor](https://learn.microsoft.com/en-us/dotnet/api/microsoft.maui.controls.bindableobjectextensions.setappthemecolor?view=net-maui-9.0) method. Refer to the below code example.
@@ -181,8 +180,6 @@ To match the text color of newly added toolbar item with that of default toolbar
181
180
BackgroundColor=Colors.Transparent, // Set background for the button
182
181
BorderColor=Colors.Transparent, // Set border color for the button
183
182
CornerRadius=5, // Set corner radius of the button
0 commit comments