About 98,300 results
Open links in new tab
  1. .net - How do I set a ViewModel on a window in XAML using …

    The question pretty much says it all. I have a window, and have tried to set the DataContext using the full namespace to the ViewModel, but I seem to be doing something wrong. <Window …

  2. xaml - WPF: Setting the Width (and Height) as a Percentage Value ...

    8 IValueConverter implementation can be used. Converter class which takes inheritance from IValueConverter takes some parameters like value (percentage) and parameter (parent's …

  3. wpf - If condition in XAML - Stack Overflow

    I am sharing xaml for Visual studio 2010 and 2008 , i wanna execute specific code snippet for vs2010 and hide the same for vs2008 ..

  4. xaml - WPF: Create a dialog / prompt - Stack Overflow

    Nov 9, 2016 · I need to create a Dialog / Prompt including TextBox for user input. My problem is, how to get the text after having confirmed the dialog? Usually I would make a class for this …

  5. xaml - How to include an ampersand (&) in the content of a …

    //XAML <ComboBox> <ComboBoxItem> Awake & Alive</ComboBoxItem> </ComboBox> This raises an error: Entity references or sequences beginning with an ampersand '&' must be …

  6. Binding to Self/'this' in XAML - Stack Overflow

    In XAML, how do I reference the Self/this object in a given context? In a very basic app with a main window, one control, and a coded C# property of the window, I want to bind a property of …

  7. How Install Specific Version Of Microsoft.UI.Xaml

    Nov 5, 2021 · I'm trying to install WindowsSubsytemAndroid and PowerShell tell me that I Need The Following: &quot;Microsoft.UI.Xaml.2.6&quot; with minimum version 2.62108.18004.0. I …

  8. What's the meaning of * (asterisk) in XAML ColumnDefinition?

    Aug 5, 2011 · What's the meaning of * (asterisk) in XAML ColumnDefinition? Asked 14 years, 3 months ago Modified 4 years, 9 months ago Viewed 78k times

  9. WPF: What is App.xaml's Purpose? - Stack Overflow

    Nov 10, 2010 · App.xaml is the declarative portion of your code (usually generated by Visual Studio) extending System.Windows.Application. For example, Expression Blend can use …

  10. xaml - Binding not updating WinUI 3 - Stack Overflow

    Apr 27, 2022 · I'm using WinUI in combination with the microsoft MVVM toolkit. However im experiencing some issues with Binding and can't figure out where the problem lies. The …