Shutoff AutoExpand for PMS-810

This commit is contained in:
Rich
2013-02-15 17:01:51 +00:00
parent 93cab87a23
commit 34ef8944f0
3 changed files with 16 additions and 2 deletions

View File

@@ -855,7 +855,10 @@ namespace Volian.Controls.Library
//OLD: _MyvlnExpander.Attachment = (itemInfo.MyContent.ContentPartCount == 0);
break;
case 2: // High level steps with children can expand
CanExpand = itemInfo.IsHigh && !MyItemInfo.ActiveFormat.MyStepSectionLayoutData.Dev_Format && itemInfo.HasChildren; // TemporaryFormat.IsHigh(item); ;
if(MyStepPanel.AutoExpand)
CanExpand = itemInfo.IsHigh && !MyItemInfo.ActiveFormat.MyStepSectionLayoutData.Dev_Format && itemInfo.HasChildren; // TemporaryFormat.IsHigh(item); ;
else
CanExpand = true;
break;
default://Procedures cannot expand, because they automatically expand
CanExpand = false;