In this post, we will see how to resolve How to call User Control creating just one instance using MVVM in WPF? Question: I’m working in a WPF project and a newer on this, I’m using the MVVM patter in ...

In this post, we will see how to resolve How to access to all controls in a ContentView Question: I have an issue with XAML in my Maui project. Disclaimer: I’m not an expert with this technology, so please show ...

Question: I have an application built in C# and Windows Forms. I have a basic panel open with several UserControls using different buttons. For example, I have the PC button and Laptop and Tablet; for each button I created 2 ...

Question: I have an WPF UserControl. Within, I have a Grid which contains only a row with a few columns. There is a TextBox which I has its TextWrapping set to Wrap using an style: And the Grid: What happens ...

Question: I’ve some nested UserControls on an MVVM/WPF project using .NET 6.0 and Catel 5.12.22 Google led me to this, all be it an old article https://www.codeproject.com/Articles/129920/Catel-Part-3-of-n-The-MVVM-Framework#mapping I can’t find the UserControl anymore in the Catel 5.12 Lots of dead ...

Question: I previously ran UWP code like this: in repeater page ViewModel.Items: RepoListItem: block:RepoButtonBlock user control The height of the block:RepoButtonBlock varies depending on the control inside the button. I set VerticalAlignment to Stretch because it scrolls horizontally and must ...

Question: I’m getting close to the understanding of the positioning of the System.Windows.Controls.UserControl objects: By default, they don’t have X or Y coordinates, relative to their container, but there is the possibility to add some, using so-called “Attached Properties”. A ...