© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
1 reply
Estal

❔ Centering in dockpanel

I'm using the WPF Fontawesome package and am looking to center some of the font awesome icons in dock panels. I've tried running HorizontalAlignment="Center" on the dock and on the fa source and it still goes to the right. Does anyone know how to do this with DockPanel.Dock="Right" Setup?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Dockpanel vs Stackpanel
C#CC# / help
3y ago
ScrollViewer in Avalonia DockPanel not scrolling to show all content when dynamically adding items.
C#CC# / help
4mo ago
❔ Facial recognition and centering using emgucv and arduino servos (visual studio)
C#CC# / help
3y ago
✅ WPF Custom control should have contents as DockPanel, but it shows up at runtime as ScrollViewer
C#CC# / help
3y ago