I have a code generated automatically as shown below:
Iwantedtoformatitautomaticallysothatitwasintheformat:
publicintId{get;set;}
Note:ThiscodewasgeneratedautomaticallybytheVisualStudiomodelingproject-ClassDiagram
Go to: Tools - > Options - > Text Editor - > C # - > Formatting - > Wrapping - > (check):