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
360
Inheriting ultrawingrid - properties being overwritten Need help ASAP...
posted

I have a class which inherits a ultrawingrid I set some default properties in the constructor but when the grid is drawn on the form the grid does not keep the properties. Any ideas on whats happening.  It appears when the control is first drawn its correct but a few seconds later it changes.

 I included a scaled down verion of my class which demostrates mky issue.

 

John

 

 

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using Infragistics.Win.UltraWinGrid;

namespace grid

{

public class grid: UltraGrid

{

grid():
base()

{

base.DisplayLayout.GroupByBox.Hidden = true;base.DisplayLayout.Appearance.BackColor = System.Drawing.SystemColors.Control;

}

~grid()

{

}

}

}

Parents Reply Children