views:

30

answers:

0

Hi all,

I am developing WPF 'lookless' controls in Visual Studio 2008. I am also using the WPF Toolkit so I can have the Visual States. I have loaded the controls into Blend and editing the control template. I can see the Visual States fine in the States Tab but I cannot see the Parts tab anywhere on screen or in the menus!

I know it exists as Blend 3 on my laptop has the tab!

To clarify my controls class header looks like this...

[TemplatePart(Name = "PART_Grid", Type = typeof(Grid))]
[TemplatePart(Name = "PART_ItemsControl", Type = typeof(ItemsControl))]
[TemplateVisualState(GroupName = "StateSetOne", Name = "StateOne")]
[TemplateVisualState(GroupName = "StateSetOne", Name = "StateTwo")]
[TemplateVisualState(GroupName = "StateSetOne", Name = "StateThree")]
public class MyCustomControl : ItemsControl
{
    //Implementation
}

Could anyone tell me how to show this tab please?

Thanks,

Adam