<CodeSnippets
    xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
    <CodeSnippet Format="1.0.0">
        <Header>
            <Title>
                UserControlSnapLines
            </Title>
        </Header>
        <Snippet>
          <Declarations>
            <Literal>
              <ID>ClassName</ID>
              <Default>UserControlDesigner</Default>
            </Literal>
          </Declarations>
          <References>
                <Reference>
	                <Assembly>System.Design</Assembly>
                </Reference>
          </References>
		<Imports>
			<Import>
				<Namespace>System.Windows.Forms.Design.Behavior</Namespace>
			</Import>
		</Imports>
            <Code Language="VB">
                <![CDATA[
'ユーザーコントロールクラスの属性に
'<System.ComponentModel.Designer(GetType($ClassName$))>
'を追加する必要があります。
Public Class $ClassName$
    Inherits System.Windows.Forms.Design.ControlDesigner
    Public Overrides ReadOnly Property SnapLines() As System.Collections.IList
        Get
            Dim lines As System.Collections.ArrayList = MyBase.SnapLines
            lines.Add(New SnapLine(SnapLineType.Baseline, 14, SnapLinePriority.Medium))
            Return lines
        End Get
    End Property
End Class
                ]]>
            </Code>
        </Snippet>
    </CodeSnippet>
</CodeSnippets>
