public override void Open(AttributeDictionary elementAttributes)
        {
            base.Open(elementAttributes);

            previousToggleGroupInstance = CurrentToggleGroupInstance;
            CurrentToggleGroupInstance  = this.primaryComponent as XmlLayoutToggleGroup;
        }
        public override void Close()
        {
            base.Close();

            //CurrentToggleGroupInstance.SetSelectedValue(CurrentToggleGroupInstance.GetSelectedValue(), false);

            CurrentToggleGroupInstance = previousToggleGroupInstance;
        }