예제 #1
0
        public TabLayoutCell Cell(string format)
        {
            var layoutCell = new TabLayoutCell(format);

            cells.Add(layoutCell);
            return(layoutCell);
        }
예제 #2
0
        public TabLayoutCell Cell(int cell)
        {
            var layoutCell = new TabLayoutCell(cell);

            cells.Add(layoutCell);
            return(layoutCell);
        }
예제 #3
0
		public void SetDataFormatOnConstruction()
		{
			var cell = new TabLayoutCell("{0} - {1}");

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