About 50 results
Open links in new tab
  1. xaml - WPF: Setting the Width (and Height) as a Percentage Value ...

    You can put the textboxes inside a grid to do percentage values on the rows or columns of the grid and let the textboxes auto-fill to their parent cells (as they will by default). Example:

  2. 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 App.xaml to share …

  3. wpf - XAML or C# code-behind - Stack Overflow

    Jan 31, 2015 · I don't like to use XAML. I prefer to code everything in C#, but I think that I am doing things wrong. In which cases it is better to use XAML and when do you use C#? What is your …

  4. .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 x:Class="

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

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

  6. 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 terminated with a …

  7. 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 which would …

  8. 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 ..

  9. .net - What does " {x:Static}" mean in XAML? - Stack Overflow

    Mar 12, 2014 · From MSDN: References any static by-value code entity defined in a Common Language Specification (CLS) compliant way The property referenced is evaluated prior to loading the …

  10. How to automatically format XAML code in Visual Studio?

    Sep 11, 2017 · I would check out XAML Styler, which is a Visual Studio extension to help format your XAML source code (full disclosure, I am one of the owners on the project).