Comments (6)
Could be a nice option to add some parameter like DisplayTemplate
(of type RenderFragment?) with wich you can define what is shown in front of the image.
Seems like somthing that could be done with a community contribution. Any takers?
from fast-blazor.
You can do that using a code like this:
<FluentStack VerticalAlignment="VerticalAlignment.Center">
<div>
<FluentLabel Style="font-size: 11px; line-height: 14px;">Denis Voituron</FluentLabel>
<FluentLabel Style="font-size: 11px; line-height: 14px;">Microsoft</FluentLabel>
</div>
<FluentProfileMenu Image="@DataSource.ImageFaces[3]"
Status="@PresenceStatus.Available"
TopCorner="true"
Initials="OS"
FullName="Olivia Smith"
EMail="[email protected]"
Style="min-width: 330px;">
<HeaderTemplate><FluentLabel Typo="Typography.Body">My Company Corp</FluentLabel></HeaderTemplate>
<FooterTemplate></FooterTemplate>
</FluentProfileMenu>
</FluentStack>
from fast-blazor.
@dvoituron agreed that is an option. What i was looking for was to wrap the "Denis" text into the clickable area. So the user could click on the Profile head or the text (similar to azure admin ui)
But your code is very applicable/a very viable option
from fast-blazor.
besides the DisplayTemplate
parameter, there could be an option to select the content's position. This would allow content to be rendered left or right of the image, maybe at the top or bottom, too.
from fast-blazor.
See #2010
from fast-blazor.
Fixed with PR mentioned above
from fast-blazor.
Related Issues (20)
- fix: NotFound component not rendering when included in Routes component in Blazor Hybrid App. HOT 1
- fix: TimePicker flickers in InteractiveServer rendermode HOT 13
- fix: TimePicker flickers in InteractiveServer rendermode HOT 5
- [FluentTextArea] When the input data is too large, it will automatically disconnect and lose data HOT 1
- fix: Value "[object Object]" is set to css variable when using WithDefault/ToSwatch HOT 2
- DataGrid - Allow Render Fragment to override Filter and Sort Icons HOT 2
- fix: SelectAll State in DataGrid
- Response DataGrid Columns HOT 2
- Side effect to blazor.server.js when run with WPE/COG browser on Raspberry Pi 4 HOT 15
- fix: FluentDataGrid with ResizableColumns allows sortable column resize handle to be covered by adjacent column header HOT 5
- Fluent Paginator with remote data HOT 1
- FluentTreeView is collapsing and expanding continuously if we click on expand button 2 to 3 times HOT 2
- FluentMultiSplitter incorrect fixed pane size HOT 3
- fix: ToastResult is null in OnPrimaryAction / OnSecondaryAction HOT 2
- fix: Fullscreen property not working in FluentOverlay HOT 3
- fix: FluentNavMenu jams HOT 1
- feat: Request for Reporting feature HOT 1
- fix: custom loading indicator in data grid HOT 1
- The option to link external auth to registered user in ExternalLogins.razor page in Components/Account/Manage is not working HOT 9
- feat: Add Toggle Group to Button HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-blazor.