Exemplo n.º 1
0
		public AlignmentProtocolCollection(MatrixViewModel owner)
		{
			Owner = owner;
			HorizontalProtocols = new List<AlignmentProtocol>();
			VerticalProtocols = new List<AlignmentProtocol>();
		}
Exemplo n.º 2
0
		// <summary> Gets or sets whether each box is rounded to smallest enclosing rectangle (false) or whether the polygon shape of the box is used for fitting matrix elements.  </summary>
		//public bool ConsiderPolygonShapes { get; set; }

		//constructor
		/// <summary> Creates a new arranger specifying the relative positions of the boxes constituting the matrix. 
		/// Initially, there are zero rows and columns, since this ctor is called before the boxes collection is populated. </summary>
		/// <param name="boxes"> The boxes in the matrix. </param>
		public MatrixView(MatrixViewModel viewModel, IReadOnlyList<ILayout> boxes)
			: base(boxes)
		{
			this.viewModel = viewModel;
		}