Extensible Application Markup Language (XAML) is an XML language used for defining user interfaces in WPF and Silverlight

learn more… | top users | synonyms

0
votes
0answers
8 views

Performance consideration and code reduction for Templates [migrated]

I'm trying to decide if this might be a good idea to help reduce the size of some of my xaml resource dictionaries on a large project. Except I'm concerned about any potential performance issues going ...
10
votes
1answer
415 views

Is there a better way to get a child?

I have the following Code to get ImageColorPicker child: ...
9
votes
1answer
84 views

Lots of Storyboards in XAML, huge file

After spending a few ages writing out every combination of triggers, bindings and storyboards, I finally managed to get my program working. First time working with WPF, so I made a big mess. Now it's ...
1
vote
1answer
331 views

MVVM implementation using C# and XAML

I have used INotifyPropertyChanged for both Model and ViewModel. Is it correct? First of all I was trying to use ...
9
votes
1answer
86 views

TicTactics Presentation

This is my take at the current code-challenge, Ultimate Tic-Tac-Toe, at least the presentation part. As I chose to write a WPF application for my game, and this is my very first time fiddling with a ...
3
votes
1answer
180 views

Is this a good user control layout for WPF?

Below is a code snippet of how I have been laying out my WPF control XAML. I do it mainly because I get intellisense in the editor and I can change the implementation of the viewmodel and push the ...
2
votes
2answers
1k views

WPF Window with different DataTemplates

I have to do a task hard for me and maybe you can help me. I try to design a window dialog to update data from a database view. This database view contains integer, DateTime, string, Time, Boolean ...
2
votes
1answer
473 views

WPF Load boolean values in combobox

I have a Combobox and I want to edit a boolean value. ...
2
votes
1answer
116 views
10
votes
1answer
348 views

Does my code conform to modern conventions?

I've spent a few days making the transition from WinForms to WPF, and do not have much time for tutorials as the work needs to be done quickly. I was wondering if anyone could take a look at a sample ...
6
votes
2answers
1k views

Is nesting grids a good idea?

I find myself nesting a lot of grids inside grids in WPF. I just found myself 3 Grids deep, and stopped to think: "Should I be doing this?" Is there some kind of performance cost? Is it ...
3
votes
1answer
238 views

Putting items next to each other

So I want to put some text next to it's lable. (both of which are text blocks - which are faster than lables as I understand it) The best way i've found for doing this is a strack panel. So I have, ...
5
votes
1answer
623 views

View Model Base

I needed to write code in WPF for a client. The application is done with prism (not my decision, they already had people working on it), so I got a sparkling clean new module to work in. Since this ...