Versions Compared

Key

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

...

Conditions are an excellent way to define the behavior of the SRP Tree Control. Instead of writing your own code to specify when something should occur, you just send the condition logic to the SRP Tree Control to handle it for you. The following properties use conditions:

NameDescription
CheckBoxConditionsUses conditions to determine when a check box should appear to the left or right of an item, if at all
DragConditionUses conditions to determine if the user is allowed to drag and item
DropConditionUses conditions to determine if the user is allowed to drop other tree items onto the target item
ImageConditionsUses conditions to determine which global image to use for an item
ImageEffectsUses conditions to determine which effect to apply to an item's image at any given time

...

To make a condition that evaluates to true in all cases, just set it to "1".

See Also

CheckBoxConditionsDragConditionDropConditionImageConditionsImageEffects