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

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

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

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