Current filter:
                                You should refresh the page.

                                This example demonstrates how to provide an event that is raised as soon as a grid layout is changed.


                                In this example, we have created a GridLayoutHelper class that handles changes of the GridControl object's necessary properties and columns, and raises a custom event in its handlers.


                                This class can be easily attached to the GridControl object in the following manner:

                                [XAML]
                                <dxg:GridControl x:Name="grid" AutoPopulateColumns="True"> <dxmvvm:Interaction.Behaviors> <local:GridLayoutHelper LayoutChanged="OnGridLayoutChanged"/> </dxmvvm:Interaction.Behaviors> </dxg:GridControl>

                                 

                                To learn more on how to implement similar functionality in Silverlight, refer to the T243422 example.