G
Guest
Hi,
I'm looking for a way to test the application with the PropertyGrid control,
namely, to programmatically obtain grid items, select items, etc.
I explored the PropertyGrid object with the test tool and found a number of
protected (or maybe even private) members that I guess can help me with my
task. The problem is, these members are not documented in MSDN. I tried
Google search but haven't found anything on these members either.
Well, the purpose of some of them, e.g. PropertyGrid.GetPropEntries(), or
PropertyGridView.SetExpand (GridEntry, boolean) is obvious. However, I got
stuck trying to understand what the others do.
Could anyone provide me some information on these methods and their
parameters?
Thanks in advance,
Helen
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Methods of the PropertyGrid class:
boolean GetScrollState (int)
int GetSelectState()
boolean GetState (int)
void SetSelectState (int)
void SetState (int, boolean)
Methods of the PropertyGridView class:
GridEntryCollection GetAllGridEntries (boolean)
int CountPropsFromOutline (GridEntryCollection)
int GetGridEntriesFromOutline (GridEntryCollection, int, int,
GridEntry[])
GridEntryCollection GetGridEntryHierarchy (GridEntry)
GridEntry FindEquivalentGridEntry (GridEntryCollection)
int GetCurrentValueIndex (GridEntry)
int GetPropertyLocation (String, boolean, boolean)
boolean GetState (int)
void RecursivelyExpand (GridEntry, boolean, boolean, int)
void SelectGridEntry (GridEntry, boolean)
void SetState (int, boolean)
void SelectEdit (boolean)
I'm looking for a way to test the application with the PropertyGrid control,
namely, to programmatically obtain grid items, select items, etc.
I explored the PropertyGrid object with the test tool and found a number of
protected (or maybe even private) members that I guess can help me with my
task. The problem is, these members are not documented in MSDN. I tried
Google search but haven't found anything on these members either.
Well, the purpose of some of them, e.g. PropertyGrid.GetPropEntries(), or
PropertyGridView.SetExpand (GridEntry, boolean) is obvious. However, I got
stuck trying to understand what the others do.
Could anyone provide me some information on these methods and their
parameters?
Thanks in advance,
Helen
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Methods of the PropertyGrid class:
boolean GetScrollState (int)
int GetSelectState()
boolean GetState (int)
void SetSelectState (int)
void SetState (int, boolean)
Methods of the PropertyGridView class:
GridEntryCollection GetAllGridEntries (boolean)
int CountPropsFromOutline (GridEntryCollection)
int GetGridEntriesFromOutline (GridEntryCollection, int, int,
GridEntry[])
GridEntryCollection GetGridEntryHierarchy (GridEntry)
GridEntry FindEquivalentGridEntry (GridEntryCollection)
int GetCurrentValueIndex (GridEntry)
int GetPropertyLocation (String, boolean, boolean)
boolean GetState (int)
void RecursivelyExpand (GridEntry, boolean, boolean, int)
void SelectGridEntry (GridEntry, boolean)
void SetState (int, boolean)
void SelectEdit (boolean)