Method | Description | |
---|---|---|
AppendThePropertyObject ( |
||
BrowseReflection ( Object obj ) : void |
Given an Object, allow the user to browse its properties based on Reflection only.
|
|
CopyToClipboard ( |
|
|
CopyToClipboard ( System.Windows.Forms.ListViewItem lvItem, System.Boolean multipleItems ) : void |
|
|
DataItemSelected ( |
A Snoop.Data item was selected in the ListView. Call its DrillDown() function to get more detailed info about it.
|
|
Display ( |
Given a ListView to display the data in, clear it out and add all the data that has been collected. For things that have a DrillDown, change the font to Bold so the user knows they can select it. For things that are a Separator, change the background color.
|
|
GetMaximumColumnWidths ( |
|
|
GetPrintDocumentName ( |
|
|
GetRootNode ( |
|
|
HorizontalAlignmentToStringAligment ( HorizontalAlignment ha ) : StringAlignment |
|
|
IsKeyValuePair ( object o ) : bool |
Check if the object type is KeyValuePair.
|
|
IsSupportedType ( Object value ) : bool |
Check if the given instance is the basic types we supported.
|
|
ObjToLabelStr ( System obj ) : string |
Same as above, but this is used when we are already grouping the objects by Type in a TreeCtrl. Including the Type name would be redundant.
|
|
ObjToTypeStr ( System obj ) : string |
Format a type string to represent a given object. If it is an Element, we try to get some extra information that may be useful, such as the Name and the ElementId. If it isn't an Element then just print out
|
|
Print ( String title, |
|
|
PrintMenuItemClick ( System.Windows.Forms.PrintDialog dlg ) : void |
|
|
PrintMenuItemClick ( System.Windows.Forms.PrintDialog dlg, |
|
|
PrintPreviewMenuItemClick ( System.Windows.Forms.PrintPreviewDialog dlg, |
|
|
PrintPreviewMenuItemClick ( System.Windows.Forms.PrintPreviewDialog dlg, |
|
|
StreamWithReflection ( |
Stream the property with reflection.
|
|
UpdatePrintSettings ( |
|
|
UpdatePrintSettings ( System.Drawing.Printing.PrintDocument doc, |
|
|
Utils ( ) : System |
public static AppendThePropertyObject ( |
||
data | ||
propertyName | String | |
value | Object | |
return | void |
public static BrowseReflection ( Object obj ) : void | ||
obj | Object | Object to browse |
return | void |
public static CopyToClipboard ( |
||
lv | ||
return | void |
public static CopyToClipboard ( System.Windows.Forms.ListViewItem lvItem, System.Boolean multipleItems ) : void | ||
lvItem | System.Windows.Forms.ListViewItem | |
multipleItems | System.Boolean | |
return | void |
public static DataItemSelected ( |
||
lvCur | The ListView control in question | |
return | void |
public static Display ( |
||
lvCur | The ListView UI control to draw into | |
snoopCollector | Snoop | The collected data about an object |
return | void |
public static GetMaximumColumnWidths ( |
||
lv | ||
return | System.Int32[] |
public static GetPrintDocumentName ( |
||
node | ||
return | String |
public static GetRootNode ( |
||
node | ||
return |
public static HorizontalAlignmentToStringAligment ( HorizontalAlignment ha ) : StringAlignment | ||
ha | HorizontalAlignment | |
return | StringAlignment |
public static IsKeyValuePair ( object o ) : bool | ||
o | object | |
return | bool |
public static IsSupportedType ( Object value ) : bool | ||
value | Object | |
return | bool |
public static ObjToLabelStr ( System obj ) : string | ||
obj | System | Object to label |
return | string |
public static ObjToTypeStr ( System obj ) : string | ||
obj | System | Object to label |
return | string |
public static Print ( String title, |
||
title | String | |
lv | ||
e | System | |
maxFieldWidth | ||
maxValueWidth | ||
currentItem | ||
return |
public static PrintMenuItemClick ( System.Windows.Forms.PrintDialog dlg ) : void | ||
dlg | System.Windows.Forms.PrintDialog | |
return | void |
public static PrintMenuItemClick ( System.Windows.Forms.PrintDialog dlg, |
||
dlg | System.Windows.Forms.PrintDialog | |
tv | ||
return | void |
public static PrintPreviewMenuItemClick ( System.Windows.Forms.PrintPreviewDialog dlg, |
||
dlg | System.Windows.Forms.PrintPreviewDialog | |
lv | ||
return | void |
public static PrintPreviewMenuItemClick ( System.Windows.Forms.PrintPreviewDialog dlg, |
||
dlg | System.Windows.Forms.PrintPreviewDialog | |
tv | ||
return | void |
public static StreamWithReflection ( |
||
data | ||
type | ||
instance | Object | |
return | void |
public static UpdatePrintSettings ( |
||
lv | ||
widthArray | ||
return | void |
public static UpdatePrintSettings ( System.Drawing.Printing.PrintDocument doc, |
||
doc | System.Drawing.Printing.PrintDocument | |
tv | ||
lv | ||
widthArray | ||
return | void |