Click here to Skip to main content
15,924,482 members
Home / Discussions / C#
   

C#

 
GeneralRe: windows media player custom control Pin
Marveyles29-Mar-04 19:05
Marveyles29-Mar-04 19:05 
GeneralTransparent Images on Transparent Forms Pin
authenticgeek29-Mar-04 15:38
authenticgeek29-Mar-04 15:38 
GeneralRe: Transparent Images on Transparent Forms Pin
Andy Brummer29-Mar-04 16:04
sitebuilderAndy Brummer29-Mar-04 16:04 
GeneralRe: Transparent Images on Transparent Forms Pin
authenticgeek29-Mar-04 16:33
authenticgeek29-Mar-04 16:33 
GeneralRe: Transparent Images on Transparent Forms Pin
Heath Stewart29-Mar-04 19:53
protectorHeath Stewart29-Mar-04 19:53 
GeneralRe: Transparent Images on Transparent Forms Pin
authenticgeek30-Mar-04 7:07
authenticgeek30-Mar-04 7:07 
GeneralDataGrid and FlexGrid Pin
«_Superman_»29-Mar-04 15:21
professional«_Superman_»29-Mar-04 15:21 
GeneralRe: DataGrid and FlexGrid Pin
Heath Stewart29-Mar-04 18:16
protectorHeath Stewart29-Mar-04 18:16 
To create custom columns, extend the DataGridColumnStyle and override the necessary methods. You could then paint whatever borders you want. There are many examples here on CodeProject, MSDN[^], and elsewhere (just google).

To disallow new rows, you either need to bind to an IList or IListSource implementation that is fixed in size (like an array of objects), or bind to a DataView instead of a DataSet or DataTable. Set the DataView.AllowNew property to true when doing so. See the documentation for the DataView class for more information and example code.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: DataGrid and FlexGrid Pin
«_Superman_»1-Apr-04 14:53
professional«_Superman_»1-Apr-04 14:53 
GeneralRe: DataGrid and FlexGrid Pin
Heath Stewart2-Apr-04 9:05
protectorHeath Stewart2-Apr-04 9:05 
GeneralQuestion on drag-n'-drop and files vs folders Pin
Flack29-Mar-04 14:47
Flack29-Mar-04 14:47 
GeneralRe: Question on drag-n'-drop and files vs folders Pin
Heath Stewart29-Mar-04 18:09
protectorHeath Stewart29-Mar-04 18:09 
GeneralRe: Question on drag-n'-drop and files vs folders Pin
Flack30-Mar-04 4:47
Flack30-Mar-04 4:47 
GeneralRe: Question on drag-n'-drop and files vs folders Pin
Heath Stewart30-Mar-04 4:54
protectorHeath Stewart30-Mar-04 4:54 
Generalusing static Pin
pgraeve29-Mar-04 12:45
pgraeve29-Mar-04 12:45 
GeneralRe: using static Pin
Christian Graus29-Mar-04 13:18
protectorChristian Graus29-Mar-04 13:18 
GeneralRe: using static Pin
Heath Stewart29-Mar-04 18:00
protectorHeath Stewart29-Mar-04 18:00 
GeneralJagged edges on custom shaped form Pin
Flack29-Mar-04 12:30
Flack29-Mar-04 12:30 
GeneralRe: Jagged edges on custom shaped form Pin
Roman Rodov29-Mar-04 12:36
Roman Rodov29-Mar-04 12:36 
GeneralRe: Jagged edges on custom shaped form Pin
Heath Stewart29-Mar-04 17:53
protectorHeath Stewart29-Mar-04 17:53 
GeneralDetecting Mouse Movement While Button Down Pin
Tristan Rhodes29-Mar-04 11:23
Tristan Rhodes29-Mar-04 11:23 
GeneralRe: Detecting Mouse Movement While Button Down Pin
Dave Kreskowiak29-Mar-04 11:29
mveDave Kreskowiak29-Mar-04 11:29 
GeneralRe: Detecting Mouse Movement While Button Down Pin
Heath Stewart29-Mar-04 17:42
protectorHeath Stewart29-Mar-04 17:42 
GeneralPointers Pin
Roger H Art29-Mar-04 9:32
sussRoger H Art29-Mar-04 9:32 
GeneralRe: Pointers Pin
Judah Gabriel Himango29-Mar-04 9:52
sponsorJudah Gabriel Himango29-Mar-04 9:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.