About 102,000 results
Open links in new tab
  1. 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 …

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

    Say I want a TextBlock to have its Width equal to it's Parent container's Width (ie, stretch from side to side) or a percentage of it's Parent Container Width, how can I accomplish this in …

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

  6. XAML Designer not showing up - Stack Overflow

    May 7, 2015 · 81 Tools>Option>XAML Designer and enable XAML Designer worked for me. PS: By default it is enabled. I disabled it due to VS performance issue and forgot about this change …

  7. wpf - Intellisense Fails on XAML Control - Stack Overflow

    I selected Custom IntelliSense, enabled ReSharper IntelliSense on C# files and set Visual Studio on XAML (.xaml files). This option prevents ReSharper from injecting its custom IntelliSense to …

  8. xaml - How to format number of decimal places in wpf using style ...

    Aug 21, 2013 · I am writing a WPF program and I am trying to figure out a way to format data in a TextBox through some repeatable method like a style or template. I have a lot of TextBoxes …

  9. How to set a top margin only in XAML? - Stack Overflow

    Therefore, you can just do this to convert the accepted code sample in your other question to a XAML equivalent: <StackPanel Margin="{Binding TopMargin, Converter={StaticResource …

  10. xaml - WPF Binding StringFormat Short Date String - Stack Overflow

    I would like to use Short Date named string format in WPF. I tried something like: <TextBlock Text=" {Binding Date, StringFormat='Short Date'}" /> How to do this?