Questions tagged [xamlwriter]

20 questions
0
votes
1 answer

Generate xaml file (page) at runtime and reference it with uri

Im working on a wpf application based on Modern UI that have a gui designer part where the user can add and then drag/drop/resize etc. the control. The properties for the controls position, size etc. is stored in a table in a database. There are…
0
votes
1 answer

The name 'XamlWriter' does not exist in the current context

I'm developing a universal windows application (on windows 10), with a .NET framework 4.5.2 I'm trying to clone a xaml object using 'XamlWriter' and 'XamlReader', but it seems visual studio has no reference to this class. I'm getting: The name…
Isaac
  • 29
  • 6
0
votes
1 answer

WPF: Properties with ReadOnly attribute not being XAML serialized

I'm working on a C# WPF application that makes use of a Windows Forms PropertyGrid to allow the user to view and change an object's properties. Some properties I want to be visible but locked, so I'm setting their ReadOnly attribute to…
Chris Kessell
  • 71
  • 1
  • 5
0
votes
1 answer

XamlWriter skips "x:Name" attribute while saving ResourceDictionary

Here's custom style: