-
Hi, I would like to know how to access the value of my App.xaml file from my Platforms for Windows folder from my C# code to modify them? |
Beta Was this translation helpful? Give feedback.
Answered by
cgp1976
Nov 22, 2024
Replies: 2 comments 2 replies
-
I am also searching for an answer |
Beta Was this translation helpful? Give feedback.
1 reply
-
There is a static class for it. look into MauiWinUIApplication var thickness= MauiWinUIApplication.Current.Resources["TextControlBorderThemeThickness"] as Microsoft.UI.Xaml.Thickness; |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
RMrenex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a static class for it. look into MauiWinUIApplication
var thickness= MauiWinUIApplication.Current.Resources["TextControlBorderThemeThickness"] as Microsoft.UI.Xaml.Thickness;