Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1170
Non client area theme for ultragrid rowedittemplate
posted

Hi,

I have been using ultraformmanager for all the forms in my application to theme the non client area for a form. In a specific form we are using a rowedittemplate with a display style modal. Since it looks like a form I would like to theme the non client area of the edit template as well. Following is the code while setting up the template.

this.grdRowEditTemplate.DialogSettings.Caption = "Security Information";
this.grdRowEditTemplate.DisplayMode = RowEditTemplateDisplayMode.Modal;
this.grdRowEditTemplate.Visible = false;
this.grdData.DisplayLayout.Bands[0].RowEditTemplate = null;
this.grdData.DisplayLayout.Bands[0].RowEditTemplate = this.grdRowEditTemplate;

//Instantiate an UltraGridBagLayout component.
UltraGridBagLayoutManager gridBag = new UltraGridBagLayoutManager();
gridBag.ContainerControl = grdRowEditTemplate;

//These two properties will space the controls out
//evenly in the available space.
gridBag.ExpandToFitHeight = true;
gridBag.ExpandToFitWidth = true;

I am also attaching the theme file and the screenshot along. Please review and suggest if an alternative is possible

Regards

Ishan Gandhi

Desktop.rar