Replies: 1 comment 2 replies
-
You should probably use a condition based on a boolean variable @if (isInfoDisplayed == true)
{
<FluentButton ...>Info</FLuentButton>
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using Blazor8 and Fluent-UI v4.9.3
I have added a toolbar to my MainLayout containing two buttons (FluentIcon) which I want on every page.
This works fine.
Some of my pages have an information button. When clicked a popup is shown with some information about the page.
Adding this button to my page and opening the popup works fine as well.
Now I want to visually have my info button as the third button in the toolbar, without using CSS with position: absolute, etc.
Something like FluentToolbar.AddItem(FluentIcon).
Of course I tried, but this method doesn't exist.
What would be a good solution to archive this?
This is the code I use in my Weather page:
And my code behind:
When I click on this info button the popup is shown with my page-specific content.
All I want now is to put this icon button visually in the toolbar.
Beta Was this translation helpful? Give feedback.
All reactions