Ejemplo n.º 1
0
 public TransactionLinkControl Build(RelativeLayout layout, TransactionBoxControl parent, float lineStart = 26)
 {
     layout.Children.Add(link,
                         yConstraint: Constraint.RelativeToView(parent, (p, sibling) => sibling.Y + lineStart));
     link.RefreshLayout();
     return(link);
 }
Ejemplo n.º 2
0
        private static float GetMaximumDependendChildWidth(TransactionBoxControl parent, TransactionCompletion offset)
        {
            var leftSpace = parent.GetCompletionOffset(offset);

            return((float)(parent.WidthRequest - leftSpace));
        }
Ejemplo n.º 3
0
 private TransactionLinkBuilder NewLink(TransactionCompletion sourceCompletion, TransactionCompletion targetCompletion,
                                        TransactionBoxControl sourceControl, TransactionBoxControl targetControl) => TransactionLinkBuilder.New(sourceCompletion, targetCompletion, sourceControl, targetControl);
Ejemplo n.º 4
0
 public static TransactionLinkBuilder New(TransactionCompletion sourceCompletion, TransactionCompletion targetCompletion,
                                          TransactionBoxControl sourceControl, TransactionBoxControl targetControl) => new TransactionLinkBuilder(sourceCompletion, targetCompletion, sourceControl, targetControl);
Ejemplo n.º 5
0
 private TransactionLinkBuilder(TransactionCompletion sourceCompletion, TransactionCompletion targetCompletion,
                                TransactionBoxControl sourceControl, TransactionBoxControl targetControl)
 {
     link = new TransactionLinkControl(sourceCompletion, targetCompletion, sourceControl, targetControl);
 }