ab56a9bcf7
SVN-Revision: r240
107 lines
5.2 KiB
C#
107 lines
5.2 KiB
C#
using DevExpress.Utils;
|
|
namespace Lskj.Control
|
|
{
|
|
partial class BandedGridControlEx
|
|
{
|
|
/// <summary>
|
|
/// 必需的设计器变量。
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// 清理所有正在使用的资源。
|
|
/// </summary>
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region 组件设计器生成的代码
|
|
|
|
/// <summary>
|
|
/// 设计器支持所需的方法 - 不要
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.bandedGridView = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridView();
|
|
this.bandedGridView.OptionsView.ColumnHeaderAutoHeight = DefaultBoolean.True;
|
|
this.bandedGridColumn1 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
|
|
this.bandedGridColumn2 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
|
|
((System.ComponentModel.ISupportInitialize)(this.gridControl)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bandedGridView)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// gridControl
|
|
//
|
|
this.gridControl.MainView = this.bandedGridView;
|
|
this.gridControl.Size = new System.Drawing.Size(759, 428);
|
|
this.gridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
this.bandedGridView});
|
|
//
|
|
// bandedGridView
|
|
//
|
|
this.bandedGridView.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F);
|
|
this.bandedGridView.Appearance.HeaderPanel.Options.UseFont = true;
|
|
this.bandedGridView.Appearance.HeaderPanel.Options.UseTextOptions = true;
|
|
this.bandedGridView.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.bandedGridView.Appearance.Preview.Font = new System.Drawing.Font("宋体", 9F);
|
|
this.bandedGridView.Appearance.Preview.Options.UseFont = true;
|
|
this.bandedGridView.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F);
|
|
this.bandedGridView.Appearance.Row.Options.UseBackColor = true;
|
|
this.bandedGridView.Appearance.Row.Options.UseFont = true;
|
|
//this.bandedGridView.Appearance.Row.Options.UseForeColor = true;
|
|
this.bandedGridView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
|
|
this.bandedGridView.Columns.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn[] {
|
|
this.bandedGridColumn1,
|
|
this.bandedGridColumn2});
|
|
this.bandedGridView.GridControl = this.gridControl;
|
|
this.bandedGridView.IndicatorWidth = 40;
|
|
this.bandedGridView.Name = "bandedGridView";
|
|
this.bandedGridView.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
|
|
this.bandedGridView.OptionsBehavior.CopyToClipboardWithColumnHeaders = false;
|
|
this.bandedGridView.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.MouseDownFocused;
|
|
this.bandedGridView.OptionsSelection.MultiSelect = true;
|
|
this.bandedGridView.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
|
|
this.bandedGridView.OptionsView.ColumnAutoWidth = false;
|
|
this.bandedGridView.OptionsView.RowAutoHeight = true;
|
|
this.bandedGridView.OptionsView.ShowGroupPanel = false;
|
|
//
|
|
// bandedGridColumn1
|
|
//
|
|
this.bandedGridColumn1.Caption = "bandedGridColumn1";
|
|
this.bandedGridColumn1.Name = "bandedGridColumn1";
|
|
this.bandedGridColumn1.Visible = true;
|
|
this.bandedGridColumn1.Width = 147;
|
|
//
|
|
// bandedGridColumn2
|
|
//
|
|
this.bandedGridColumn2.Caption = "bandedGridColumn2";
|
|
this.bandedGridColumn2.Name = "bandedGridColumn2";
|
|
this.bandedGridColumn2.Visible = true;
|
|
this.bandedGridColumn2.Width = 95;
|
|
//
|
|
// BandedGridControlEx
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.Name = "BandedGridControlEx";
|
|
this.Size = new System.Drawing.Size(759, 457);
|
|
((System.ComponentModel.ISupportInitialize)(this.gridControl)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bandedGridView)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DevExpress.XtraGrid.Views.BandedGrid.BandedGridView bandedGridView;
|
|
private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn bandedGridColumn1;
|
|
private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn bandedGridColumn2;
|
|
}
|
|
}
|