locked
How To Create a Space When declareing the InputArguments property RRS feed

  • Question

  • Hi I have a requirement to declare to inputargument name  property display with space .

    For Eaxmple i am using now as

    public

     

    InArgument<string> DisplayProvider { get; set; }

    it shows property window of workflow as DisplayProvider.

    But expected requirement is

    property window of workflow should display as  "Display Provider"

    How to create space between inputargument could u suggest me.

      

    Friday, September 16, 2011 10:07 AM

Answers

  • You've to use the DisplayName attribute. Something like:

     

    [DisplayName("Display Provider")]
    InArgument<string> DisplayProvider { get; set; }
    

    FYI: to change the text inside the textbox (when it's empty) use [Description("property text here")]

    • Marked as answer by Andrew_Zhu Friday, September 23, 2011 1:18 AM
    Friday, September 16, 2011 11:40 AM