Click here to Skip to main content
15,895,462 members
Home / Discussions / C#
   

C#

 
AnswerRe: Adding items to ListView groups Pin
Luc Pattyn4-Apr-10 4:12
sitebuilderLuc Pattyn4-Apr-10 4:12 
QuestionSerializationException was unhandled Message="Unable to find assembly... " problem Pin
barak drechsler4-Apr-10 3:37
barak drechsler4-Apr-10 3:37 
AnswerRe: SerializationException was unhandled Message="Unable to find assembly... " problem Pin
Nicholas Butler4-Apr-10 6:23
sitebuilderNicholas Butler4-Apr-10 6:23 
GeneralRe: SerializationException was unhandled Message="Unable to find assembly... " problem Pin
barak drechsler4-Apr-10 7:39
barak drechsler4-Apr-10 7:39 
GeneralRe: SerializationException was unhandled Message="Unable to find assembly... " problem Pin
Nicholas Butler4-Apr-10 8:01
sitebuilderNicholas Butler4-Apr-10 8:01 
GeneralRe: SerializationException was unhandled Message="Unable to find assembly... " problem Pin
barak drechsler4-Apr-10 8:45
barak drechsler4-Apr-10 8:45 
QuestionUnnecessory process - please wait while windows configures Pin
Milind Panchal4-Apr-10 2:18
Milind Panchal4-Apr-10 2:18 
QuestionHide subproperty in PropertyGrid Pin
viciouskinid3-Apr-10 23:39
viciouskinid3-Apr-10 23:39 
I am using the property grid and have it doing most things in need. the property grid is loaded with custom class and i have used ExpandableObjectConverter to display subproperties. I would like to know if there is a way to hide one or more of these subproperties at runtime.

In the below link they are doing this with the standard font class. is there a way to do the same with a custom class instead of the font class.

http://www.eggheadcafe.com/forumpost.aspx?redirect=forumpostsubmission&topicid=2&forumpostid=10158840#Post10158840[^]

an example of my custom class is below:

public class CustomClass
{
CustomClassSubProperty m_ccsp = new CustomClassSubProperty();
public CustomClassSubProperty M_ccsp
{
get { return m_ccsp ; }
set { m_ccsp = value; }
}
}

public class CustomClassSubProperty
{
string m_s = "Hide Me";
public string S
{
get { return m_s; }
set { m_s = value; }
}

string m_a = "Show Me";
public string A
{
get { return m_a; }
set { m_a = value; }
}

}


Is there a way I can hide the sub property S in the property grid at runtime? Thanks for the help.
AnswerRe: Hide subproperty in PropertyGrid Pin
OriginalGriff4-Apr-10 1:27
mveOriginalGriff4-Apr-10 1:27 
GeneralRe: Hide subproperty in PropertyGrid Pin
viciouskinid4-Apr-10 16:29
viciouskinid4-Apr-10 16:29 
QuestionForwarding received SMS from the phone to output Pin
Kujtim Hyseni3-Apr-10 22:29
Kujtim Hyseni3-Apr-10 22:29 
QuestionHow can i find some Hardware information on run time ? Pin
Yanshof3-Apr-10 13:37
Yanshof3-Apr-10 13:37 
AnswerRe: How can i find some Hardware information on run time ? Pin
Eddy Vluggen3-Apr-10 14:28
professionalEddy Vluggen3-Apr-10 14:28 
GeneralRe: How can i find some Hardware information on run time ? Pin
Yanshof3-Apr-10 14:31
Yanshof3-Apr-10 14:31 
GeneralRe: How can i find some Hardware information on run time ? Pin
Eddy Vluggen3-Apr-10 14:37
professionalEddy Vluggen3-Apr-10 14:37 
AnswerRe: How can i find some Hardware information on run time ? Pin
Ravi Bhavnani3-Apr-10 14:42
professionalRavi Bhavnani3-Apr-10 14:42 
QuestionProduct key feature Pin
Alok Sharma ji3-Apr-10 3:12
Alok Sharma ji3-Apr-10 3:12 
AnswerRe: Product key feature Pin
xEvOx3-Apr-10 3:41
xEvOx3-Apr-10 3:41 
GeneralRe: Product key feature Pin
Alok Sharma ji3-Apr-10 3:47
Alok Sharma ji3-Apr-10 3:47 
Questionwebbrowser and autoviewer Pin
daveice3-Apr-10 0:45
daveice3-Apr-10 0:45 
AnswerRe: webbrowser and autoviewer Pin
Abhinav S3-Apr-10 1:36
Abhinav S3-Apr-10 1:36 
QuestionRandom numbers Pin
Janded3-Apr-10 0:12
Janded3-Apr-10 0:12 
QuestionRe: Random numbers Pin
sanforjackass3-Apr-10 0:14
sanforjackass3-Apr-10 0:14 
AnswerMessage Removed Pin
3-Apr-10 0:22
Janded3-Apr-10 0:22 
GeneralRe: Random numbers Pin
sanforjackass3-Apr-10 0:28
sanforjackass3-Apr-10 0:28 

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.