Exemplo n.º 1
0
            public static ViewState Create(GridControlState gridState, GridView view)
            {
                if (!gridState.viewDescriptors.ContainsKey(view.LevelName))
                {
                    return(null);
                }
                ViewState state = new ViewState(gridState, (ViewDescriptor)gridState.viewDescriptors[view.LevelName]);

                return(state);
            }
Exemplo n.º 2
0
 protected ViewState(ViewState parent, ViewDescriptor descriptor)
 {
     this.parent     = parent;
     this.gridState  = parent.gridState;
     this.descriptor = descriptor;
 }
Exemplo n.º 3
0
 protected ViewState(GridControlState gridState, ViewDescriptor descriptor)
 {
     this.gridState  = gridState;
     this.descriptor = descriptor;
     this.parent     = null;
 }