Ejemplo n.º 1
0
		public IEnumerable<StringKeyValuePair> GetGridAttributes()
		{
			if (_stackGrid.Count == 0)
				return null;
			GridRowCol rowCol = _stackGrid.Peek();
			return rowCol.GetGridAttributes();
		}
Ejemplo n.º 2
0
		public GridContext(RenderContext renderContext, GridRowCol rowCol)
		{
			_renderContext = renderContext;
			_renderContext.PushRowCol(rowCol);
		}
Ejemplo n.º 3
0
		internal void PushRowCol(GridRowCol rowCol)
		{
			_stackGrid.Push(rowCol);
		}
Ejemplo n.º 4
0
		public GridContext GridContext(Int32? row, Int32? col, Int32? rowSpan, Int32? colSpan, AlignItem? vAlign)
		{
			var rowCol = new GridRowCol(row, col, rowSpan, colSpan, vAlign);
			return new GridContext(this, rowCol);
		}
Ejemplo n.º 5
0
        public GridContext GridContext(Object elem)
        {
            var rowCol = new GridRowCol(Grid.GetRow(elem), Grid.GetCol(elem), Grid.GetRowSpan(elem), Grid.GetColSpan(elem), Grid.GetVAlign(elem));

            return(new GridContext(this, rowCol));
        }
Ejemplo n.º 6
0
        public GridContext GridContext(Int32?row, Int32?col, Int32?rowSpan, Int32?colSpan, VerticalAlign?vAlign)
        {
            var rowCol = new GridRowCol(row, col, rowSpan, colSpan, vAlign);

            return(new GridContext(this, rowCol));
        }