This is a migrated thread and some comments may be shown as answers.

[Solved] Invalid XAML in RowStyle

3 Answers 108 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Clint Singer
Top achievements
Rank 1
Clint Singer asked on 18 Feb 2010, 01:41 AM
Hi,

I am trying to modify the RowStyle template in Expression Blend and it is complaining about some "Invalid XAML" caused by the following:

Visibility="{Binding HasHierarchy, Converter={StaticResource BooleanToVisibilityConverter}, RelativeSource={RelativeSource TemplatedParent}}"

Is there something I can do to correct this without removing the offending code?

Cheers,
Clint

3 Answers, 1 is accepted

Sort by
0
Accepted
Kalin Milanov
Telerik team
answered on 18 Feb 2010, 12:36 PM
Hello Clint Singer,

Currently Blend does reports an invalid XAML when there is a binding using RelativeSource and Converter. What you can do is remove those bindings (keep them in a Notepad for example) and apply your styling. Once done you can reintroduce them. None of those binding s affect visual styling of the elements (apart from GridLines colors) and should in no way affect your styling once you are done.

That being said we are currently experimenting with different ways of working around this problem and we are hopeful to get grid's Blend experience where it is supposed to be with our Q1 release.

I apologize for the inconvenience this is causing you.

Regards,
Kalin Milanov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Clint Singer
Top achievements
Rank 1
answered on 18 Feb 2010, 04:55 PM
Hi,

Thanks for the information. I will remove them temporarily while I do my Blending.   Do you know if the Blend team is trying to resolve these kinds of problems for future versions?  I assume that you guys must a fairly close relationship with the Microsoft teams.

Of course, you probably can't speak to this issue anyways.

Cheers,
Clint
0
Kalin Milanov
Telerik team
answered on 19 Feb 2010, 11:18 AM
Hello Clint Singer,

Indeed this issue has been reported to Microsoft and we are hoping for a fix in the next version of Blend.

Best wishes,
Kalin Milanov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Clint Singer
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
Clint Singer
Top achievements
Rank 1
Share this question
or