xaml c#

  1. R

    XAML Button - Background Color binding not refreshing when XAML page has changed

    Hi I am developing an App project in VB 2022 with Net MAUI and XAML/C#. I am not able to get the several XAML Buttons to correctly change the background color - the binding of the Button Background color does not appear to work when the XAML page is updated. As I don't know the exact reason...
  2. S

    Question Xaml layout problem

    Hi everyone, I'm making a window, the first image you see is the visual studio editor, the second the program started, but why the heck it destroys the whole layout .. I can't understand if it's a problem with the size of the objects , many are not even displayed 😭 <Window...
  3. 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...
  4. 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