Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
5968 | Jul 27,2003 07:13 AM UTC | Jul 28,2003 10:04 AM UTC | WinForms | 4 |
![]() |
Tags: GridControl |
this.gridControl1.Model.Options.FloatCellsMode = GridFloatCellsMode.BeforeDisplayCalculation;
Attached is a little sample. private void Form1_Load(object sender, EventArgs e) { this.gridDataBoundGrid1.SmoothControlResize = false; } private void gridDataBoundGrid1_Paint(object sender, PaintEventArgs e) { // test for empty somehow... //if(empty) { RectangleF rect = this.gridDataBoundGrid1.Bounds; rect = new RectangleF(rect.Left + 100, rect.Top + 100, rect.Width - 100, rect.Height - 100); e.Graphics.DrawString("Choose from above...", this.gridDataBoundGrid1.Font, Brushes.Blue, rect ); } }
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.