tagged [xaml]
How to change column header's background color when using WPF datagrid
How to change column header's background color when using WPF datagrid How to change column header's background color when using WPF datagrid? Need to modify xaml directly?
- Modified
- 24 May at 20:13
How to add a ScrollBar to a Stackpanel
How to add a ScrollBar to a Stackpanel In my WPF application, I have a Stackpanel containing several controls inside them. How can I add a Scrollbar to this stackpanel.
- Modified
- 27 Aug at 16:44
align wpf tabcontrol strip
align wpf tabcontrol strip I'm trying to align a tabcontrol strip on the right. Just to be clear - I want the tabs on the top (tabstripplacement), but aligned on the right.
- Modified
- 26 Jan at 01:4
Change margin programmatically in WPF / C#
Change margin programmatically in WPF / C# For this xaml: How can I change the web browser control margin on top to be -5 programmatically in C#?
DateTime.Now in XAML without binding
DateTime.Now in XAML without binding Can I put the date of today in a label without binding it in XAML, something like
- Modified
- 5 Jun at 15:8
Radio buttons group XAML
Radio buttons group XAML I have six radio buttons in XAML, and I would like to create two groups. It seems that WPF has no radiobutton group element, so how can I do this?
- Modified
- 19 May at 09:34
How to set focus to textbox using MVVM?
How to set focus to textbox using MVVM? How to focus a textbox from ViewModel wpf?
there is a way to activate a control WebView Desktop mode and not Mobile mode?
there is a way to activate a control WebView Desktop mode and not Mobile mode? there is a way to activate a control WebView Desktop mode and not Mobile mode?
- Modified
- 16 Feb at 20:40
Grid Star-Size in code behind
Grid Star-Size in code behind I have a grid as follows, How do I give the `Height = "0.5*"` in code behind?
How can I make a specific TabItem gain focus on a TabControl without click event?
How can I make a specific TabItem gain focus on a TabControl without click event? How can I tell my TabControl to set the focus to its first TabItem, something like this:
- Modified
- 16 Sep at 09:33
What is the easy way to set spacing between items in StackPanel?
What is the easy way to set spacing between items in StackPanel? Is there an easy way to set default space between items inside StackPanel so I'll don't have to set Margin property on each item?
- Modified
- 1 Jun at 10:39
How do I de/serialize JSON in WinRT?
How do I de/serialize JSON in WinRT? How do I take an object and convert it to a JSON string and then back into that object from a string, specifically, in WinRT for my Windows 8 Metro application?
- Modified
- 10 Jun at 01:47
Window shown event in WPF?
Window shown event in WPF? I want to apply fade animation every time my window is shown. How to do that from xaml? That window can be hidden and then shown again so I can't use `Loaded` event.
How to get the resolution of screen? For a WinRT app?
How to get the resolution of screen? For a WinRT app? I want to know the screen resolution so that I can set the height of an element according to the resolution in a Windows 8 app.
- Modified
- 31 May at 05:59
In WPF can you filter a CollectionViewSource without code behind?
In WPF can you filter a CollectionViewSource without code behind? Really the subject says it all. It's not that I can't have code behind. It just nags at me.
- Modified
- 17 Aug at 16:39
ReSharper WPF error: "Cannot resolve symbol "MyVariable" due to unknown DataContext"
ReSharper WPF error: "Cannot resolve symbol "MyVariable" due to unknown DataContext" I am experiencing this error when using WPF + XAML + MVVM in Visual Studio 2012. > Cannot resolve symbol ”MyVariabl...
- Modified
- 1 Jun at 20:33
Difference between Command (ICommand) and Click event
Difference between Command (ICommand) and Click event When should I use the `Command` and when to use the `Click` event? F.e. if I have a `Button` in my UWP app what should I use?
- Modified
- 18 Sep at 09:38
What is the use of Path= in XAML?
What is the use of Path= in XAML? I use a lot of bindings in XAML and sometimes I use path= in a binding and sometimes not. In which cases do I need the path= and when can I omit this?
Create a menu Bar in WPF?
Create a menu Bar in WPF? I want to create a menu bar identical to the one in windows forms in my WPF application. How would I do this? The menu option in the WPF controls toolbox only gives a blank b...
how to set splash screen in window phone 8 Application development
how to set splash screen in window phone 8 Application development I am new in Window Phone Apps Development .So I just Want to Add Splash Screen When the application launch without using any extra Pa...
- Modified
- 18 Oct at 13:14
Change a Windows Store App's title text
Change a Windows Store App's title text How can I change the shown title of the app? (Like does) In Winforms that would be `form1.Text = "new title";`. How do we do that in UWP?
- Modified
- 28 Oct at 20:4
How to remove the "Go to live visual tree" / "Enable selection" / "Display layout adorners" overlay when debugging?
How to remove the "Go to live visual tree" / "Enable selection" / "Display layout adorners" overlay when debugging? How do I remove the box with the 3 icons when debugging? [](https://i.stack.imgur.co...
- Modified
- 19 Apr at 19:27
Windows 8 Modern UI Styles for WPF
Windows 8 Modern UI Styles for WPF I want my WPF app to look like WinRT apps: ![](https://i.stack.imgur.com/GS7EH.png) Are there any ready-made styles or controls available for WPF that lets us achiev...
- Modified
- 15 Dec at 16:18
WPF radio button with Image
WPF radio button with Image I have to create something similar to the picture. If one of the button is clicked the others should become darker. Thanks a lot! That's what I need [](https://i.stack.imgu...
- Modified
- 15 Aug at 10:2