How To INotifyPropertyChanged

Thread is closed for posting
3 posts, 1 answers
  1. Jun
    Jun avatar
    30 posts
    Member since:
    May 2013

    Posted 12 Nov 2013 Link to this post


    How can I use INPC function of devexpress in Justcode?

    And please let me know the merits of Justcode than Coderush?

  2. Answer
    Zdravko avatar
    657 posts

    Posted 15 Nov 2013 Link to this post

    Hello Jun,

     You can make a code template as show here using the code below if you have already implemented the INotifyPropertyChanged interface.
    Notice that the type of the property should be automatically evaluated, but right now we have some issue with the command.

    public $3=GET_ELEMENT_TYPE($1$)$ $2=SUGGEST_NAME$
    get {return  $1=SELECT_VARIABLE()$;}
        if($1$ == value)
        $1$ = value;
        if (PropertyChanged != null)
    PropertyChanged(this, new PropertyChangedEventArgs("$2$"));

    For more information about the templates visit our online documentation.

    I am not aware of CodeRush so the the best way to evaluate will be to try both products and decide which one fits your needs best. Here is a link to JustCode page where you can download a trial.
    Furthermore, this article will give you a brief view of JustCode key features

    Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
  3. Jun
    Jun avatar
    30 posts
    Member since:
    May 2013

    Posted 14 May 2014 in reply to Zdravko Link to this post

    Thank you very much!!!
Back to Top