public abstract void SetPosition(Silo silo, LayoutContext element, double coordinate, double size, List <LayoutContext> elementsToBePositioned);
public override double GetDesiredSpace(LayoutContext element, double minimumSize) { double desiredSpace = Math.Max(element.Size.Width.HasInternalValue ? element.Size.Width.InternalValue : element.DockableCollection.DesiredSize.Width, minimumSize); return(desiredSpace); }
public abstract bool IsStretchable(LayoutContext element);
protected abstract double MinBoundary(LayoutContext element, double edgeBoundary);
protected abstract void GetFixedSpaceInternal(LayoutContext root, bool inVaryingGroup, ref double fixedSpace, ref int varyingGroupCount, double minimumSize, List <LayoutContext> elementsToBePositioned);
public abstract int GetRemainingDepth(Silo silo, LayoutContext element, List <LayoutContext> elementsToBePositioned);
public override bool IsStretchable(LayoutContext element) { return(!element.Size.Height.HasUserValue && !element.Size.Height.IsSplitterActive && element.DockableCollection.VerticalContentAlignment == System.Windows.VerticalAlignment.Stretch); }
public override void SetPosition(Silo silo, LayoutContext element, double coordinate, double size, List <LayoutContext> elementsToBePositioned) { element.Top = coordinate; element.Size.Height.SetInternalValue(size); }
public abstract double GetPreceedingCoordinate(LayoutContext element);
public abstract double GetPeersMaxDesiredSpace(LayoutContext element, double minimumSize, IEnumerable <LayoutContext> elementsToBePositioned);
public abstract LayoutContext GetNextDescendant(Silo silo, LayoutContext element, List <LayoutContext> elementsToBePositioned);
public abstract double GetDesiredSpace(LayoutContext element, double minimumSize);
public double GetAvailableSpace(Silo silo, LayoutContext element, double baseCoordinate, double totalAvailableSpace, List <LayoutContext> elementsToBePositioned) { return(MinBoundary(element, totalAvailableSpace) - baseCoordinate); }