Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
14758 | Jun 3,2004 06:08 PM UTC | Jun 4,2004 07:10 PM UTC | WinForms | 6 |
![]() |
Tags: GridControl |
iconPainter = new GridIconPaint("CellButtons.", typeof(EllipsisCellButton).Assembly);
The "CellButtons." listed there should be changed to the namespace for your project (where the resources are embedded).
2) Also make sure the bmp file is included in your project as a Embedded Resource.
3) If this is a GridControl, you can set these style properties in the FormLoad. To set them on a column, you can use grid.ColStyles. To set them on individual cells, you can set them on grid[row, col]. If it is a GridDataBoundGrid, then you can set them for columns using either the grid.GridBoundColumns collection, or the grid.Binder.InternalColumns collection. To set them cell by cell in a GridDataBoundGrid, you will have to use PrepareViewStyleInfo. 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.