C# Класс RevitLookup.Snoop.Forms.GenericPropGrid

This Form makes use of the built-in abilities of Reflection and the PropertyGrid class to automatically list out the data of an object. Because we don't have much control, it will get output in the order that it chooses (or alphabetical) and most of the items will appear as Greyed-out, read-only items. But, we don't have to go write a SnoopCollector for every item in the .NET system.
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GenericPropGrid ( object obj ) : System

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

OnMenuContextPopup ( object sender, System e ) : void

disable any menu options if there is no current item selected in the PropGrid

OnShowClassInfo ( object sender, System e ) : void

User chose "Show Class Info..." from the context menu. Allow them to browse using Reflection for the class of the sub-object selected.

OnShowObjInfo ( object sender, System e ) : void

User chose "Show Object Info..." from the context menu. Allow them to browse using Reflection for the sub-object selected.

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

GenericPropGrid() публичный Метод

public GenericPropGrid ( object obj ) : System
obj object
Результат System