Click here to Skip to main content
15,867,568 members
Articles / Desktop Programming / WPF
Tip/Trick

Shortcut to generate different property snippets in Visual Studio

Rate me:
Please Sign up or sign in to vote.
4.91/5 (8 votes)
13 Jan 2011CPOL 39.1K   6   4
Shortcut to generate different property snippets in Visual Studio
These may be familiar to you. But many of you may not know the shortcut mentioned in the 2nd point here :)

1. Simple property, type prop and press tab.
2. Simple property with backing field, type propfull and press tab.
3. Simple property with private set, type propg and press tab.
4. Dependency property, type propdp and press tab.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Vizrt Bangladesh
Bangladesh Bangladesh
I am truly versatile and 360 degree Engineer having wide range of development experience in .NET and Java Platform. I am also proficient in system level programming in C++. To me technology is not at all a problem, it’s the client requirement that matters! That is I am ready and comfortable to use any technology to make the business of my client a success.

In my five years of experience I have the opportunities to work for fortune 500 companies of US and many renowned clients from Europe.

My Linkedin Profile: http://bd.linkedin.com/in/mahmudazad

Comments and Discussions

 
GeneralMy vote of 4 Pin
AndrewGoel126-Dec-12 19:01
AndrewGoel126-Dec-12 19:01 
GeneralVS 2010 supports propfull. Yes from snippet manager we can s... Pin
Mahmudul Haque Azad12-Jan-11 23:56
Mahmudul Haque Azad12-Jan-11 23:56 
Generalpropfull doesn't work. What version of VS? BTW, you do know... Pin
Indivara12-Jan-11 21:21
professionalIndivara12-Jan-11 21:21 
propfull doesn't work. What version of VS?

BTW, you do know that there are lots more snippets, like try (try-catch block), tryf (try-finally block)... Exception (creates custom exception class), etc, etc? Open the code snippet manager to see them all (tools menu).
GeneralReason for my vote of 5 nice Pin
maq_rohit12-Jan-11 3:13
professionalmaq_rohit12-Jan-11 3:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.