Changeset 4068 for trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Layout/LayoutSettings.cs
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Layout/LayoutSettings.cs
r2768 r4068 1 using System;2 using System.Collections.Generic;3 using System.Text;4 1 5 namespace Netron.Diagramming.Core.Layout 6 { 7 public static class LayoutSettings 8 { 9 public static class TreeLayout 10 { 11 /// <summary> 12 /// Gets or sets the TreeOrientation of the standard/classic tree layout 13 /// </summary> 14 public static TreeOrientation TreeOrientation 15 { 16 get { return StandardTreeLayout.Orientation; } 17 set { StandardTreeLayout.Orientation = value; } 18 } 2 namespace Netron.Diagramming.Core.Layout { 3 public static class LayoutSettings { 4 public static class TreeLayout { 5 /// <summary> 6 /// Gets or sets the TreeOrientation of the standard/classic tree layout 7 /// </summary> 8 public static TreeOrientation TreeOrientation { 9 get { return StandardTreeLayout.Orientation; } 10 set { StandardTreeLayout.Orientation = value; } 11 } 19 12 20 /// <summary> 21 /// Gets or sets the spacing between siblings. 22 /// </summary> 23 public static float BreadthSpacing 24 { 25 get { return StandardTreeLayout.BreadthSpacing;} 26 set { StandardTreeLayout.BreadthSpacing = value; } 27 } 28 /// <summary> 29 /// Gets or sets the spacing between parent-child. 30 /// </summary> 31 public static float DepthSpacing 32 { 33 get { return StandardTreeLayout.DepthSpacing;} 34 set { StandardTreeLayout.DepthSpacing = value; } 35 } 13 /// <summary> 14 /// Gets or sets the spacing between siblings. 15 /// </summary> 16 public static float BreadthSpacing { 17 get { return StandardTreeLayout.BreadthSpacing; } 18 set { StandardTreeLayout.BreadthSpacing = value; } 19 } 20 /// <summary> 21 /// Gets or sets the spacing between parent-child. 22 /// </summary> 23 public static float DepthSpacing { 24 get { return StandardTreeLayout.DepthSpacing; } 25 set { StandardTreeLayout.DepthSpacing = value; } 26 } 36 27 37 public static float SubTreeSpacing 38 { 39 get { return StandardTreeLayout.SubTreeSpacing; } 40 set { StandardTreeLayout.SubTreeSpacing = value; } 41 } 42 } 28 public static float SubTreeSpacing { 29 get { return StandardTreeLayout.SubTreeSpacing; } 30 set { StandardTreeLayout.SubTreeSpacing = value; } 31 } 43 32 } 33 } 44 34 }
Note: See TracChangeset
for help on using the changeset viewer.