Contents tagged with XAML
-
In WPF or Silverlight application, the vectorial is king. It is for this reason that as soon as I can, I use a Path instead of a picture.
Therefore, you can have the same Path several times in the application. The temptation is strong to create a Style with a value in the Data property.
Unfortunately, there is a known bug with this property. When it is used in a style, the path is instantiated once. That is to say that if you have for example a list of item that uses the same style, only the first will be displayed. No error, but not the expected behavior.
-
It happens sometimes that you want to make a line break in XAML view. As this language is based on XML, it becomes problematic because traditional characters do not work.
-
If you do not have the chance to use Visual Studio 2012, you still have to suffer the vagaries of old designer. Heavy, slow and memory leaks, welcome to hell.
I propose two solutions to facilitate the modification of XAML files.