コード例 #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
ファイル: TabLayoutRow.cs プロジェクト: GProulx/Glimpse
 public TabLayoutCell Cell(int cell)
 {
     var layoutCell = new TabLayoutCell(cell);
     cells.Add(layoutCell);
     return layoutCell;
 }
コード例 #7
0
ファイル: TabLayoutRow.cs プロジェクト: GProulx/Glimpse
 public TabLayoutCell Cell(string format)
 {
     var layoutCell = new TabLayoutCell(format);
     cells.Add(layoutCell);
     return layoutCell;
 }