Changeset 14995 for trunk/sources/HeuristicLab.Core.Views/3.3/ItemView.cs
- Timestamp:
- 05/18/17 10:54:05 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/ItemView.cs
r14185 r14995 29 29 /// </summary> 30 30 public partial class ItemView : AsynchronousContentView { 31 public const int MaximumNestingLevel = 35;32 33 31 public new IItem Content { 34 32 get { return (IItem)base.Content; } … … 46 44 base.OnInitialized(e); 47 45 48 if (CountParentControls() > MaximumNestingLevel) {46 if (CountParentControls() > Properties.Settings.Default.MaximumNestedControls) { 49 47 //capture content, needed because it is set at a later time 50 48 NestingLevelErrorControl errorControl = new NestingLevelErrorControl(() => Content, this.GetType());
Note: See TracChangeset
for help on using the changeset viewer.