public Main() { InitializeComponent(); recordBindingSource.DataSource = DataHelper.GetData(10); provider = new FilterNameProvider(gridView1) { AllowSettingFilterNames = true }; }
private void Form1_Load(object sender, EventArgs e) { recordBindingSource.DataSource = DataHelper.GetData(10); style = new AppearanceObject(); style.BackColor = Color.Orange; style.Options.UseBackColor = true; //try different paint styles //advBandedGridView1.PaintStyleName = "UltraFlat"; }
public Main() { InitializeComponent(); recordBindingSource.DataSource = DataHelper.GetData(100, 10); spinEdit = new RepositoryItemSpinEdit(); spinEdit.IsFloatValue = false; gridView1.QueryCustomFunctions += OnQueryCustomFunctions; gridView1.FilterEditorCreated += OnFilterEditorCreated; gridView1.OptionsView.FilterCriteriaDisplayStyle = DevExpress.XtraEditors.FilterCriteriaDisplayStyle.Visual; gridView1.OptionsFilter.DefaultFilterEditorView = DevExpress.XtraEditors.FilterEditorViewMode.TextAndVisual; }
private void Form1_Load(object sender, EventArgs e) { recordBindingSource.DataSource = DataHelper.GetData(10); }
public Main() { InitializeComponent(); recordBindingSource.DataSource = DataHelper.GetData(50); }
public Main() { InitializeComponent(); gridControl1.DataSource = DataHelper.GetData(5); }
public MainWindow() { InitializeComponent(); grid.ItemsSource = DataHelper.GetData(); }
public MainWindow() { InitializeComponent(); DataContext = DataHelper.GetData(); }
public void InitData() { recordBindingSource.DataSource = DataHelper.GetData(100); }