xaml c#

  1. SAE

    Question how to call the event of window1 to window 2 in WPF

    The Idea is that when I start the application 2 windows pop up. On mainwindow I have button and on window1 I have label and when I press the button the label color should change. This is what Far have tried so far but it didn't work. What am I doing wrong ? and how to make it work ? Note: in...
  2. R

    ToolbarItems - Want to be able to Display/Not Display using a variable in code behind

    Hi I am using VS 2022/XAML/C# I have a ToolbarItem in my xaml ContentPage as follows: <ContentPage.ToolbarItems> <ToolbarItem Text="Item"/> </ContentPage.ToolbarItems> What I would like to be able to do in my ViewModel code is be able to use a boolean variable to decide when to...
Top Bottom