- David Jefferies
- Posts: 27
- Joined:
Editing the XAML of a DataTemplate
We use DataTemplates a lot so that we can programmatically generate lists of items to be displayed in a ItemsControl.
The UI designers use Blend to create the XAML for how the item looks and we then create a DataTemplate using that XAML.
The problem is that once the DataTemplate is created the XAML is no longer editable in Blend.
Is there a workflow that allows us to use DataTemplates but still keep the XAML editable?
The UI designers use Blend to create the XAML for how the item looks and we then create a DataTemplate using that XAML.
The problem is that once the DataTemplate is created the XAML is no longer editable in Blend.
Is there a workflow that allows us to use DataTemplates but still keep the XAML editable?
-
sfernandez
Site Admin
- Posts: 2997
- Joined:
Re: Editing the XAML of a DataTemplate
In Blend you can create, apply or edit additional templates for some controls using the context menu:
- ContentControl.ContentTemplate: .
- ItemsControl.ItemTemplate and ItemsPanel: .
Is this what you are looking for?
- ContentControl.ContentTemplate: .
- ItemsControl.ItemTemplate and ItemsPanel: .
Is this what you are looking for?
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 7 guests