New to Telerik UI for WinFormsStart a free 30-day trial

Accessing Child Templates

Updated over 6 months ago

You can programmatically access your child templates using MasterTemplate.Templates collection. For example, use the following code to set the AutoSizeColumnsMode to Fill in the first child template :

C#
this.radGridView1.MasterTemplate.Templates[0].AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;

See Also

In this article
See Also
Not finding the help you need?
Contact Support