public VisualStateGroup() { States = new FreezableCollection <VisualState>(); States.SetInheritanceParent(this); Transitions = new FreezableCollection <VisualTransition>(); Transitions.SetInheritanceParent(this); }