Click here to Skip to main content
15,891,423 members
Home / Discussions / C#
   

C#

 
GeneralRe: new line in string Pin
Majid Shahabfar6-Feb-05 6:07
Majid Shahabfar6-Feb-05 6:07 
GeneralRe: new line in string Pin
Jon Sagara5-Feb-05 18:52
Jon Sagara5-Feb-05 18:52 
GeneralRe: new line in string Pin
sugunet6-Feb-05 0:55
sugunet6-Feb-05 0:55 
GeneralRe: new line in string Pin
Majid Shahabfar6-Feb-05 6:05
Majid Shahabfar6-Feb-05 6:05 
GeneralRe: new line in string Pin
mav.northwind6-Feb-05 3:17
mav.northwind6-Feb-05 3:17 
GeneralRe: new line in string Pin
Majid Shahabfar6-Feb-05 6:03
Majid Shahabfar6-Feb-05 6:03 
GeneralRe: new line in string Pin
Luis Alonso Ramos6-Feb-05 7:29
Luis Alonso Ramos6-Feb-05 7:29 
GeneralRe: new line in string Pin
mav.northwind6-Feb-05 7:39
mav.northwind6-Feb-05 7:39 
In this case I doubt that you'll succeed with any of these approaches.
You see, the DataGrid is responsible for drawing the column headers according to their current texts, but I don't think the developers took multiline headings into consideration.
That's why you get blanks where your not-printable characters ('\n', '\r') are.
In order to achive multiline headings you'd have to perform drawing of the DataGrid column headers by yourself (perhaps you're able to do this using P/Invoke, I'm not sure).

Anyway: My suggestion would be _not_ to use multiline headings. Headings are used to give the user a short information what the contents of a column are. You're not supposed to write lengthy texts there.

mav
GeneralWeb form from click event Pin
brian555-Feb-05 9:37
brian555-Feb-05 9:37 
GeneralRe: Web form from click event Pin
Heath Stewart6-Feb-05 6:22
protectorHeath Stewart6-Feb-05 6:22 
Questionhow to use mmioInstallIOProcA? Pin
[DK]KiloDunse5-Feb-05 7:16
[DK]KiloDunse5-Feb-05 7:16 
AnswerRe: how to use mmioInstallIOProcA? Pin
[DK]KiloDunse5-Feb-05 10:25
[DK]KiloDunse5-Feb-05 10:25 
GeneralMouse Tracking Pin
Beringer5-Feb-05 4:32
Beringer5-Feb-05 4:32 
GeneralConverting short into byte[] Pin
tag3385-Feb-05 3:42
tag3385-Feb-05 3:42 
GeneralRe: Converting short into byte[] Pin
Robert Rohde5-Feb-05 4:06
Robert Rohde5-Feb-05 4:06 
GeneralThe using statement Pin
paululvinius5-Feb-05 1:06
paululvinius5-Feb-05 1:06 
GeneralRe: The using statement Pin
Robert Rohde5-Feb-05 1:17
Robert Rohde5-Feb-05 1:17 
GeneralRunning Without a form GUI Pin
Amir Jalaly5-Feb-05 0:03
Amir Jalaly5-Feb-05 0:03 
GeneralRe: Running Without a form GUI Pin
Gary Thom5-Feb-05 1:18
Gary Thom5-Feb-05 1:18 
Generalcommunication between a c# application and C++ com Pin
yaya1014-Feb-05 21:45
yaya1014-Feb-05 21:45 
GeneralRe: communication between a c# application and C++ com Pin
Heath Stewart5-Feb-05 4:52
protectorHeath Stewart5-Feb-05 4:52 
GeneralRe: communication between a c# application and C++ com Pin
yaya1017-Feb-05 7:24
yaya1017-Feb-05 7:24 
GeneralOdd SSL Public Key Pin
bigals4-Feb-05 18:25
bigals4-Feb-05 18:25 
GeneralStop and Start MSDOS C# App Pin
StephenMcAllister4-Feb-05 18:17
StephenMcAllister4-Feb-05 18:17 
GeneralRe: Stop and Start MSDOS C# App Pin
Heath Stewart5-Feb-05 4:44
protectorHeath Stewart5-Feb-05 4:44 

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.