Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The second way to load images is to load them globally using the Images property. This property loads the images such that they are accessible to all items. Instead of having each item maintain its own image in memory, you instruct each item to point to one of the global images. The Images property allows you to load any number of images and to assign them unique names, or keys. Then, instead of setting an item's ItemImage property to a path and filename, you set the property to the key of a global image. This saves us a lot of memory, but it is still tedious to implement without some sort of automation.

...

You can enhance the look and feel of the SRP Tree Control using the ImageEffects property. Just like the ImageConditions property, the ImageEffects property is a series of Conditions. When a condition evaluates to true, then the associated special effect is applied to the item's image. Use this if you want to add hover effects or emphasize selected items.

See Also

ImagesImageConditionsImageEffectsItemImage