public Transaction() { DesiredDimension = new Dimension(); }
RelativeBuilder WithDimension(Dimension dimension) { var transaction = _transactionManager.GetTransactionFor(_lastViewAddedToCollection); transaction.ExpandToY = ExpandViewDirectionY.Custom; transaction.ExpandToX = ExpandViewDirectionX.Custom; transaction.DesiredDimension = dimension; return this; }