Click here to Skip to main content
16,017,261 members
Home / Discussions / C#
   

C#

 
GeneralRe: Interfaces & Protected Methods Pin
phimix1-Sep-05 0:27
phimix1-Sep-05 0:27 
GeneralRe: Interfaces & Protected Methods Pin
Guffa1-Sep-05 5:50
Guffa1-Sep-05 5:50 
QuestionImage zooming and displaying Pin
E6AD30-Aug-05 1:14
E6AD30-Aug-05 1:14 
AnswerRe: Image zooming and displaying Pin
Andrew Kirillov30-Aug-05 2:00
Andrew Kirillov30-Aug-05 2:00 
QuestionArray of PictureBoxes Pin
Yoyosch29-Aug-05 23:45
Yoyosch29-Aug-05 23:45 
AnswerRe: Array of PictureBoxes Pin
SeMartens30-Aug-05 3:55
SeMartens30-Aug-05 3:55 
Questionchukkykzn@msn.com Pin
chukkykzn29-Aug-05 23:27
chukkykzn29-Aug-05 23:27 
QuestionHow to change the default size of the PropertyGrid description pane? Pin
Gatchan29-Aug-05 23:03
Gatchan29-Aug-05 23:03 
Hi,

I'm looking for a way to change the default height of the propertygrid description pane.
The only property we have from the Propertygrid object is HelpVisible, but not any which could set its height.
I looked inside the object, and the PropertyGridInternal.DocComment object is the description pane object, but it is private and its impossible to access to its properties (like Height...).
I also tried to derive the propertygrid object and access to its child controls, but it does not change anything :
class MyPropertyGrid : System.Windows.Forms.PropertyGrid
{
	public MyPropertyGrid
	{
	}

	public void ChangeHeight()
	{
		foreach(Control ctl in this.Controls)
		{
			if(ctl.Text == "Description Pane")	// the DocComment control
				ctl.Height = 100;		// but does nothing!
		}
	}
}

It might possible, because the PropertyGrid of the object properties in Visual Studio does remember the height of the description pane (try to change it, close VS, reopen it and see!).

Thanks in advance,

Touffic
Question"Time bomb" (trial version-like) Pin
gnjunge29-Aug-05 22:57
gnjunge29-Aug-05 22:57 
AnswerRe: "Time bomb" (trial version-like) Pin
Barm29-Aug-05 23:55
Barm29-Aug-05 23:55 
QuestionSHUTDOWN Pin
tatchung29-Aug-05 21:59
tatchung29-Aug-05 21:59 
AnswerRe: SHUTDOWN Pin
Barm29-Aug-05 23:44
Barm29-Aug-05 23:44 
GeneralRe: SHUTDOWN Pin
tatchung30-Aug-05 15:11
tatchung30-Aug-05 15:11 
GeneralRe: SHUTDOWN Pin
Barm30-Aug-05 18:11
Barm30-Aug-05 18:11 
GeneralRe: SHUTDOWN Pin
tatchung30-Aug-05 18:15
tatchung30-Aug-05 18:15 
Questionhow to save the files in c sharp.net Pin
sajikp29-Aug-05 21:13
sajikp29-Aug-05 21:13 
AnswerRe: how to save the files in c sharp.net Pin
Stefan Troschuetz29-Aug-05 21:39
Stefan Troschuetz29-Aug-05 21:39 
GeneralRe: how to save the files in c sharp.net Pin
sajikp30-Aug-05 20:18
sajikp30-Aug-05 20:18 
GeneralRe: how to save the files in c sharp.net Pin
Stefan Troschuetz30-Aug-05 21:01
Stefan Troschuetz30-Aug-05 21:01 
QuestionCapture and streaming Pin
aspiringCodeMonkey29-Aug-05 21:09
aspiringCodeMonkey29-Aug-05 21:09 
AnswerRe: Capture and streaming Pin
Dario Solera29-Aug-05 21:22
Dario Solera29-Aug-05 21:22 
QuestionSuperscript Pin
Patrik Ruzic29-Aug-05 19:49
Patrik Ruzic29-Aug-05 19:49 
AnswerRe: Superscript Pin
Christian Graus29-Aug-05 20:03
protectorChristian Graus29-Aug-05 20:03 
Questionhelp me to correct my code Pin
sajikp29-Aug-05 19:39
sajikp29-Aug-05 19:39 
AnswerRe: help me to correct my code Pin
Christian Graus29-Aug-05 19:42
protectorChristian Graus29-Aug-05 19:42 

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.