Setting a ToggleSwitch on/off dynamically when the window loads
I have a ToggleSwitch defined in my XAML.
Setting a ToggleSwitch on/off dynamically when the window loads
I have a ToggleSwitch defined in my XAML.
Setting a ToggleSwitch on/off dynamically when the window loads
I have a ToggleSwitch defined in my XAML.
Why is my Page.DataContext class not found?
im very new to c# and play around something. Now i want to use Models for my Data Handling so but my class is not found. Do you have any suggestion to get it to run?
Which alternative to Binding.DoNothing in WinUI3?
In WPF one could use System.Windows.Data.Binding.DoNothing
to create a converter that falls back to default styling, for example.
Which alternative to Binding.DoNothing in WinUI3?
In WPF one could use System.Windows.Data.Binding.DoNothing
to create a converter that falls back to default styling, for example.
How to reload xaml pages elements without changing navigationview pages
i have a mainwindow.xaml that has a navigationview and the other pages like home.xaml settings.xaml etc. the navigation view has a button that opens a dialog for getting user info from api response, when user sends these info to the dialog it sends user values to a model file so i can use it on other pages for getting api responses. now the problem is when user sends its infos through dialog, api responses works perfectly fine and sends these values to other models, lets say i want to use these values on home.xaml and lets say again that i have a variable called user_info and that variable holds data from the api response. now if i want to put this value on a textblock on home page i can put it but i cant see it without changing pages like going to settings and back to home. by the way home page is already opened by default when app is running.