Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public static BrowseReflection ( Object obj ) : void | ||
obj | Object | Object to browse |
Результат | void |
public static CopyToClipboard ( |
||
lv | ||
Результат | void |
public static CopyToClipboard ( System.Windows.Forms.ListViewItem lvItem, System.Boolean multipleItems ) : void | ||
lvItem | System.Windows.Forms.ListViewItem | |
multipleItems | System.Boolean | |
Результат | void |
public static DataItemSelected ( |
||
lvCur | The ListView control in question | |
Результат | void |
public static Display ( |
||
lvCur | The ListView UI control to draw into | |
snoopCollector | Snoop | The collected data about an object |
Результат | void |
public static GetMaximumColumnWidths ( |
||
lv | ||
Результат | System.Int32[] |
public static GetPrintDocumentName ( |
||
node | ||
Результат | String |
public static GetRootNode ( |
||
node | ||
Результат |
public static HorizontalAlignmentToStringAligment ( HorizontalAlignment ha ) : StringAlignment | ||
ha | HorizontalAlignment | |
Результат | StringAlignment |
public static IsKeyValuePair ( object o ) : bool | ||
o | object | |
Результат | bool |
public static IsSupportedType ( Object value ) : bool | ||
value | Object | |
Результат | bool |
public static ObjToLabelStr ( System obj ) : string | ||
obj | System | Object to label |
Результат | string |
public static ObjToTypeStr ( System obj ) : string | ||
obj | System | Object to label |
Результат | string |
public static Print ( String title, |
||
title | String | |
lv | ||
e | System | |
maxFieldWidth | ||
maxValueWidth | ||
currentItem | ||
Результат |
public static PrintMenuItemClick ( System.Windows.Forms.PrintDialog dlg ) : void | ||
dlg | System.Windows.Forms.PrintDialog | |
Результат | void |
public static PrintMenuItemClick ( System.Windows.Forms.PrintDialog dlg, |
||
dlg | System.Windows.Forms.PrintDialog | |
tv | ||
Результат | void |
public static PrintPreviewMenuItemClick ( System.Windows.Forms.PrintPreviewDialog dlg, |
||
dlg | System.Windows.Forms.PrintPreviewDialog | |
lv | ||
Результат | void |
public static PrintPreviewMenuItemClick ( System.Windows.Forms.PrintPreviewDialog dlg, |
||
dlg | System.Windows.Forms.PrintPreviewDialog | |
tv | ||
Результат | void |
public static StreamWithReflection ( |
||
data | ||
type | ||
instance | Object | |
Результат | void |
public static UpdatePrintSettings ( |
||
lv | ||
widthArray | ||
Результат | void |
public static UpdatePrintSettings ( System.Drawing.Printing.PrintDocument doc, |
||
doc | System.Drawing.Printing.PrintDocument | |
tv | ||
lv | ||
widthArray | ||
Результат | void |