protected override void OnActivated()
        {
            base.OnActivated();
            _layoutStyleProvider              = new LayoutStyleProvider();
            View.LayoutManager.LayoutCreated += LayoutManager_LayoutCreated;
            var layoutManager = View.LayoutManager as IWebLayoutManager;

            if (layoutManager != null)
            {
                ((IWebLayoutManager)View.LayoutManager).Instantiated += OnInstantiated;
            }
            foreach (var item in View.GetItems <WebPropertyEditor>())
            {
                item.ControlCreated += ItemOnControlCreated;
            }
            var listView = View as ListView;

            if (listView != null)
            {
                var asPxGridListEditor = listView.Editor as ASPxGridListEditor;
                if (asPxGridListEditor != null)
                {
                    asPxGridListEditor.CustomCreateCellControl += AsPxGridListEditorOnCustomCreateCellControl;
                }
            }
        }