コード例 #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;
 }
コード例 #2
0
ファイル: Class1.cs プロジェクト: incjonya/demos
 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;
 }
コード例 #3
0
ファイル: Class1.cs プロジェクト: incjonya/demos
 void OnClosed(object sender, ClosedEventArgs e)
 {
     ContainerEdit.Dispose();
     this.containerEdit = null;
     State = ColumnCustomizationState.None;
 }
コード例 #4
0
 void OnClosed(object sender, ClosedEventArgs e)
 {
     ContainerEdit.Dispose();
     this.containerEdit = null;
     State = ColumnCustomizationState.None;
 }