Visualization – Member Icons
The Member Icons visualization feature shows small icons over each member (method, property, field, etc) or type (class, struct, interface, etc). These icons appear to the left of a target member or type:
There are two groups of icons that can be shown:
- Visibility Modifier Icons, which indicate the member visibility modifier. The following visibility modifier icons are available:
Icon |
Visibility modifier |
|
Public |
|
Internal |
|
Internal Protected |
|
Protected |
|
Private |
Access modifier icons can also be displayed if the visibility keyword is omitted.
- Member Type Icons, which indicate the type of a member. The icons differ for static (Shared) and instance members. The following member type icons are available:
Member |
Instance |
Static (Shared) |
Class |
|
|
Struct |
|
|
Interface |
|
|
Delegate |
|
|
Enumeration |
|
|
Method |
|
|
Constructor |
|
|
Property |
|
|
Indexed Property |
|
|
Event |
|
|
Constant |
|
|
Field |
|
|
You can click the member icon to present a drop-down menu of valid access modifiers for the member and several other actions which can be performed with a member, such as:
- Select
- Comment
- Copy
- Cut
Other DXCore/CodeRush plug-ins can add additional menu items into the Member drop-down menu. An example is the “Member Mover” plug-in, which allows you to move a particular member into a region by your preference:
You can also add any items into this menu programmatically.
The group of icons for members can be chosen on the Editor | Painting | Member Icons options page in the Options Dialog. There are additional settings available, such as the opacity of the icon and several icon appearance options:
To quickly turn Member Icons on or off, use the appropriate icon on the DXCore Visualize toolbar: