Validation error symbol

Hello,
when I drop an IfElseActivity into the custom designer (http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/WFDsgnRehst.asp) I don't see the validation error symbol as it is shown into VS. How can I show it

Thanks,
Pierre




Answer this question

Validation error symbol

  • Sergey Golovkin

    I've got it in the constructor of my viewhost and it works fine. Where are you putting it

  • Tony1059

    I got the problem. I set readonly to the theme before your line of code.

    Thanks,
    Pierre



  • Joe_D

    I get the error symbol but no feedback when it is selected.
    (e.g. for an IfElse with no condition set.)

  • pranitha

    You can just set this somewhere in your code (before you create the view)

    WorkflowTheme.CurrentTheme.AmbientTheme.ShowConfigErrors = true;



  • mattstr1221

    Consider the MSDN sample, into the WorkflowDesignerControl constructor.

    Thanks,
    Pierre

  • joshep

    When I do that I get an exception: "Theme properties can only be changed in the Theme Configuration Dialog."

    Thanks,
    Pierre



  • Validation error symbol