VB.NET Event Naming

2 posts, 1 answers
  1. Mike
    Mike avatar
    13 posts
    Member since:
    Jun 2011

    Posted 26 Jun 2012 Link to this post

    When I create a new event in a VB.NET WinForms application, the event name by default is myControl_Event. However, JustCode wants to rename it to MyControlEvent. I went into the VB.NET Naming Conventions in JustCode option and changed the Events rule to camel_Underscore but JustCode still wants to rename my method. How can I handle this?

  2. Answer
    Ivan avatar
    106 posts

    Posted 27 Jun 2012 Link to this post


    Thank you for your feedback. Since myControl_Event is an event handler you should add a secondary naming rule for methods, not for events.
    The rule for Events is for event declarations only.
    If you have any more questions or remarks, please do not hesitate to contact us again!

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft R3 2016 release webinar banner
Back to Top