Esempio n. 1
0
 void SetupContainerEdit()
 {
     this.containerEdit = new GridViewQuickColumnCustomizationContainerEdit(View);
     ContainerEdit.Text = string.Empty;
     ContainerEdit.Properties.AutoHeight = false;
     ContainerEdit.Properties.LookAndFeel.ParentLookAndFeel = View.GridControl.LookAndFeel;
     ContainerEdit.Properties.Appearance.BackColor          = Color.Transparent;
     ContainerEdit.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     ContainerEdit.Properties.Buttons.Clear();
     ContainerEdit.Closed += new ClosedEventHandler(OnClosed);
     ContainerEdit.Bounds  = GetColumnButtonBounds();
     if (!PopupSize.IsEmpty)
     {
         ContainerEdit.Properties.PopupStartSize = PopupSize;
     }
     ContainerEdit.Parent = View.GridControl;
 }
Esempio n. 2
0
 void SetupContainerEdit()
 {
     this.containerEdit = new GridViewQuickColumnCustomizationContainerEdit(View);
     ContainerEdit.Text = string.Empty;
     ContainerEdit.Properties.AutoHeight = false;
     ContainerEdit.Properties.LookAndFeel.ParentLookAndFeel = View.GridControl.LookAndFeel;
     ContainerEdit.Properties.Appearance.BackColor = Color.Transparent;
     ContainerEdit.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     ContainerEdit.Properties.Buttons.Clear();
     ContainerEdit.Closed += new ClosedEventHandler(OnClosed);
     ContainerEdit.Bounds = GetColumnButtonBounds();
     if (!PopupSize.IsEmpty) {
         ContainerEdit.Properties.PopupStartSize = PopupSize;
     }
     ContainerEdit.Parent = View.GridControl;
 }
Esempio n. 3
0
 void OnClosed(object sender, ClosedEventArgs e)
 {
     ContainerEdit.Dispose();
     this.containerEdit = null;
     State = ColumnCustomizationState.None;
 }
Esempio n. 4
0
 void OnClosed(object sender, ClosedEventArgs e)
 {
     ContainerEdit.Dispose();
     this.containerEdit = null;
     State = ColumnCustomizationState.None;
 }