Editing styles in a sepertate resource file using blend?

If EditCurrent is greyed out it means that ItemsContainerStyle on the ListBox is not set to a valid style.

Up vote 1 down vote favorite share g+ share fb share tw.

So, I have a style in a file called Styles. Xaml right, then in my XAML view I have a link to in in my resource dictionary, this all works fine. Now, in Expression Blend 4 I have a list box, and when I click "ListBox" -> "Edit Additional Templates" -> "Edit Generated Item Container {ItemsContainerStyle}" but Edit Current is greyed out - I don't want to edit a copy of the style, that's the whole reason I have just one for the whole app in my Styles.

Xaml file. Does anyone know why this is? And if it can be changed?

Off course I would just open the styls. Xaml file and edit it there but as we all know we can't do that :( wpf xaml expression-blend link|improve this question asked May 5 '11 at 20:15Kenn39318 64% accept rate.

If EditCurrent is greyed out it means that ItemsContainerStyle on the ListBox is not set to a valid style. BTW: You can edit resources directly in any resource dictionary, in your case simply open styls. Xaml in Blend, you'll see a message stating it can't be edited in design view.

Now go to the Resources tab and expad the node containing styles. Xaml and you'll see a full list of resources contained in the file. Now click on the edit resource button to the right of the resource you would like to edit.

Oh sweet - I will have to check that out... I didn't know that. – Kenn May 6 '11 at 2:44 Regarding your first point though, I know the style is set, I can see it - run it - and if I change it in the styles. Xaml manually I am all set, I can even say "edit a copy" at which point it copies it (even blank lines) in the window.

Resources (or usercontrol whatever...). But again, if I can get to the styles the way you suggested than I am all set! Thanks!

– Kenn May 6 '11 at 2:46.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions