I use RadGridView and have custom cell element.
I set row height = 300.
For custom cell element, i use RadHostItem to create childe
Ex:
protected override void CreateChildElements() { base.CreateChildElements(); var label = new Label(); label.Text = "test"; var layout = new TableLayoutPanel(); layout.ApplyDefaultStyles("Master layout"); layout.Dock = DockStyle.Fill; layout.ColumnCount = 1; layout.RowCount = 1; layout.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); layout.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); layout.Controls.Add(label, 0, 0); layout.AutoScroll(); var child = new RadHostItem(layout) { AutoSizeMode = RadAutoSizeMode.Auto}; Children.Add(child); }
Result (see the picture in attachments)
Thanks and kind regards
Paul
