When Adding a Label in a GridLayout
var element = new RadLabelElement() element.SetValue(GridLayout.ColSpanProperty, colspan); element.SetValue(GridLayout.RowIndexProperty, row); element.SetValue(GridLayout.ColumnIndexProperty, column);
(If I could get the label to fill the entire cell, I could use the TextAlignment proproperty, but with Autosize enabled, it will never fill the entire cell.)