IUltraGridDesigner Interface

For Infragistics Internal Use Only
Public Interface IUltraGridDesigner 
public interface IUltraGridDesigner 

When you change the Language on the Form, the entire form is reloaded into the Designer. This causes the OnDesignerHostLoadComplete on the grid to fire, which calls into ApplyLoadedBands and creates a whole new set of Bands and Columns and calls InitializeFrom on those objects to copy over any property settings. Since this happens in OnDesignerHostLoadComplete, the deserialization process has already completed, which means that the GridControlCodeDomSerializer is now holding on to the old deserialized columns and doesn't know that they have been replaced by new instances. So store a mapping from the old deserialized column to the newly created column from which it gets initialized. After OnDesignerHostLoadComplete loads everything, we will do a fix up. Note that in order to limit this change to OnDesignerHostLoadComplete, we only map the columns when deserializedColumnsToActualColumnsMap is not null.


Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also