Last change
on this file since 3623 was
2768,
checked in by mkommend, 15 years ago
|
added solution folders and sources for the netron library (ticket #867)
|
File size:
1.4 KB
|
Rev | Line | |
---|
[2768] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Text;
|
---|
| 4 |
|
---|
| 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 | }
|
---|
| 19 |
|
---|
| 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 | }
|
---|
| 36 |
|
---|
| 37 | public static float SubTreeSpacing
|
---|
| 38 | {
|
---|
| 39 | get { return StandardTreeLayout.SubTreeSpacing; }
|
---|
| 40 | set { StandardTreeLayout.SubTreeSpacing = value; }
|
---|
| 41 | }
|
---|
| 42 | }
|
---|
| 43 | }
|
---|
| 44 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.