Наследование: RealignObject
Пример #1
0
 protected RealignFactoryBase(IRealignControl mainControl, RealignStyle realignStyle, bool isPartialRealign)
 {
     Ref          = mainControl;
     RealignStyle = realignStyle;
     if (Ref.HasVisibleNodes())
     {
         _map = new RealignMap(Ref.GetVisibleNodeControls().ToList(), Ref.GetRelationships().ToList(), realignStyle, isPartialRealign);
     }
     if (_map != null && _map.ChildNodes.Count > 0)
     {
         Nodes = _map.GetAllChildNodes(realignStyle).ToList();
     }
 }
Пример #2
0
 protected RealignFactoryBase(IRealignControl mainControl, RealignStyle realignStyle, bool isPartialRealign)
 {
     Ref = mainControl;
     RealignStyle = realignStyle;
     if (Ref.HasVisibleNodes())
     {
         _map = new RealignMap(Ref.GetVisibleNodeControls().ToList(), Ref.GetRelationships().ToList(), realignStyle, isPartialRealign);
     }
     if (_map != null && _map.ChildNodes.Count > 0)
     {
         Nodes = _map.GetAllChildNodes(realignStyle).ToList();
     }
 }