Skip to content

Properties viewer

tomdam edited this page Jun 17, 2020 · 1 revision

Properties viewer is a feature of SPCoder that allows you to view the properties of any C# object. It uses standard .net properties viewer control.

Properties viewer window

By default the window is located at the right side of the main screen.

Direct usage

You can use properties viewer by entering the name of your variable in the text field and clicking the Get properties button. If your variable contains items that can be accessed using an indexer, like an array, you can use the Up/Down indexer control to display its items.

Properties 1

Display properties of variable from context window

The other way to display properties of an object is to right-click the object in Context window and choose the Properties menu item.

Properties 2

Showing properties from code

You can also display properties of any object directly from code by calling the main.ShowProperties(Object obj, String name); method. For example, main.ShowProperties(main.Font, null); will display the details about the Font that is used in main SPCoder window object.

Properties 3

Clone this wiki locally