示例#1
0
		public void SetDataFormatOnConstruction()
		{
			var cell = new TabLayoutCell("{0} - {1}");

			Assert.Equal("{0} - {1}", cell.Data);
		}
示例#2
0
		public TabLayoutCellShould()
		{
			Cell = new TabLayoutCell(1);
		}
示例#3
0
 public TabLayoutCell Cell(int cell)
 {
     var layoutCell = new TabLayoutCell(cell);
     cells.Add(layoutCell);
     return layoutCell;
 }
示例#4
0
		public void SetDataId()
		{
			var cell = new TabLayoutCell(1);
			
			Assert.Equal(1, cell.Data);
		}
示例#5
0
 public TabLayoutCell Cell(string format)
 {
     var layoutCell = new TabLayoutCell(format);
     cells.Add(layoutCell);
     return layoutCell;
 }