Click here to Skip to main content
15,906,569 members
Home / Discussions / C#
   

C#

 
GeneralRe: Override Pin
Anonymous19-Oct-04 2:28
Anonymous19-Oct-04 2:28 
GeneralRe: Override Pin
Colin Angus Mackay19-Oct-04 2:35
Colin Angus Mackay19-Oct-04 2:35 
GeneralRe: Override Pin
Anonymous19-Oct-04 3:08
Anonymous19-Oct-04 3:08 
GeneralRe: Override Pin
Colin Angus Mackay19-Oct-04 3:22
Colin Angus Mackay19-Oct-04 3:22 
GeneralRe: Override Pin
Anonymous19-Oct-04 4:28
Anonymous19-Oct-04 4:28 
Questionhow not to use proxy cashe. Pin
yu-yu19-Oct-04 0:39
yu-yu19-Oct-04 0:39 
GeneralAdding a checkbox column Pin
scotlandc18-Oct-04 23:43
scotlandc18-Oct-04 23:43 
GeneralRe: Adding a checkbox column Pin
Heath Stewart19-Oct-04 7:37
protectorHeath Stewart19-Oct-04 7:37 
Just as you're adding a DataGridTableStyle to DataGrid.TableStyles, actually add separate instances of DataGridColumnStyle-derivatives - like the DataGridTextBoxColumn or DataGridBooleanColumn (the checkbox column) - to the DataGridTableStyle. With what you're currently doing, the default for the column type is being used.

If you read the documentation for the DataGrid.TableStyles property you can see an example.

This really needs to be bounded to your data source, though. You could add a bogus DataColumn to your DataTable. You could also try just adding an unbounded column but, IIRC, the CheckBox won't be clickable. Perhaps defining your own DataGridColumnStyle derivative would help here.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: Adding a checkbox column Pin
scotlandc21-Oct-04 0:13
scotlandc21-Oct-04 0:13 
GeneralKeyUp Event Pin
exhaulted18-Oct-04 23:03
exhaulted18-Oct-04 23:03 
GeneralRe: KeyUp Event Pin
Stefan Troschuetz18-Oct-04 23:50
Stefan Troschuetz18-Oct-04 23:50 
GeneralRe: KeyUp Event Pin
exhaulted19-Oct-04 4:46
exhaulted19-Oct-04 4:46 
GeneralRe: KeyUp Event Pin
Stefan Troschuetz19-Oct-04 4:59
Stefan Troschuetz19-Oct-04 4:59 
GeneralRe: KeyUp Event Pin
exhaulted19-Oct-04 5:37
exhaulted19-Oct-04 5:37 
GeneralRe: KeyUp Event Pin
Stefan Troschuetz19-Oct-04 9:19
Stefan Troschuetz19-Oct-04 9:19 
GeneralPlease explain code! Pin
Brakanjan18-Oct-04 23:00
Brakanjan18-Oct-04 23:00 
GeneralRe: Please explain code! Pin
J4amieC18-Oct-04 23:43
J4amieC18-Oct-04 23:43 
QuestionHow can i create a handle for mouse events... Pin
Kiran Satish18-Oct-04 20:52
Kiran Satish18-Oct-04 20:52 
AnswerRe: How can i create a handle for mouse events... Pin
exhaulted19-Oct-04 4:50
exhaulted19-Oct-04 4:50 
GeneralRe: How can i create a handle for mouse events... Pin
Kiran Satish19-Oct-04 6:49
Kiran Satish19-Oct-04 6:49 
GeneralRe: How can i create a handle for mouse events... Pin
Kiran Satish19-Oct-04 13:45
Kiran Satish19-Oct-04 13:45 
GeneralRe: Ntier app Pin
Colin Angus Mackay18-Oct-04 20:46
Colin Angus Mackay18-Oct-04 20:46 
GeneralRe: Ntier app Pin
StephenMcAllister19-Oct-04 9:43
StephenMcAllister19-Oct-04 9:43 
GeneralRe: Ntier app Pin
Colin Angus Mackay19-Oct-04 10:54
Colin Angus Mackay19-Oct-04 10:54 
GeneralRe: Ntier app Pin
StephenMcAllister19-Oct-04 16:25
StephenMcAllister19-Oct-04 16:25 

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.