Is it possible to use XCodeProperty to declare members for an activity class?

I try to write an activity class with XOML file and no code beside file. In this case, if I want to declare fields or properties for this activity class, what can I do Can I take advantage of XCodeProperty

Answer this question

Is it possible to use XCodeProperty to declare members for an activity class?

  • Rajesh Patel

    Any ideas
    I just want to know if declaring fields in an XOML file is possible or not. Thanks.

  • madmax2003

    No - you cannot add fields or properties to a XOML file if you plan to just execute it.

  • Richard Hardy

    If you are planning on using XAML activation, the answer is no, and if you are planning on compiling into a Type, the answer is that it may work most of the time but is not supported.

  • Is it possible to use XCodeProperty to declare members for an activity class?