Tuesday, June 8, 2010

Snippet Public Properties for Controls

To add public properties for controls

xml version="1.0" encoding="utf-8" ?>

<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">

<CodeSnippet Format="1.0.0">

<Header>

<Title>propGetControlTitle>

<Shortcut>propGetControlShortcut>

<Description>Code snippet for propGetControlDescription>

<Author>Mike SneenAuthor>

<SnippetTypes>

<SnippetType>ExpansionSnippetType>

<SnippetType>SurroundsWithSnippetType>

SnippetTypes>

Header>

<Snippet>

<Declarations>

<Literal>

<ID>typeID>

<Default>LabelDefault>

Literal>

Declarations>

<Code Language="csharp">

public $type$ $end$$type$

{

get{ return $selected$; }

}]]>

Code>

Snippet>

CodeSnippet>

CodeSnippets>


No comments:

Post a Comment