Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
5087 | Jun 18,2003 08:57 PM UTC | Jun 19,2003 05:40 PM UTC | WinForms | 3 |
![]() |
Tags: GridControl |
gridListControl1.Grid.AlphaBlendSelectionColor = Color.FromArgb(1, 0, 0, 0);
gridListControl1.Grid.PrepareViewStyleInfo += new GridPrepareViewStyleInfoEventHandler(grid_PrepareViewStyleInfo);
In the handler, have code like:
private void grid_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e) { e.Style.Borders.All = new GridBorder(GridBorderStyle.Standard); e.Style.TextMargins.Left = 2; e.Style.TextMargins.Right = 2; e.Style.TextMargins.Top = 2; }
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.