You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							69 lines
						
					
					
						
							2.0 KiB
						
					
					
				
			
		
		
	
	
							69 lines
						
					
					
						
							2.0 KiB
						
					
					
				<?xml version="1.0"?> | 
						|
<Template author="Mathias Simmack" version="1.0"> | 
						|
	 | 
						|
	<Config | 
						|
		  name        = "${res:Templates.File.WinFXUserControl.Name}" | 
						|
		  icon        = "VB.File.WPFUserControl" | 
						|
		  category    = "VB" | 
						|
		  subcategory = "WPF" | 
						|
		  defaultname = "UserControl${Number}.xaml" | 
						|
		  language    = "VBNET"/> | 
						|
	  | 
						|
	<Description>${res:Templates.File.WinFXUserControl.Description}</Description> | 
						|
	 | 
						|
	<References> | 
						|
		<Reference include="PresentationCore"> | 
						|
			<RequiredTargetFramework>3.0</RequiredTargetFramework> | 
						|
		</Reference> | 
						|
		<Reference include="PresentationFramework"> | 
						|
			<RequiredTargetFramework>3.0</RequiredTargetFramework> | 
						|
		</Reference> | 
						|
		<Reference include="WindowsBase"> | 
						|
			<RequiredTargetFramework>3.0</RequiredTargetFramework> | 
						|
		</Reference> | 
						|
	</References> | 
						|
	 | 
						|
	<!--  | 
						|
	Special new file templates: | 
						|
		${StandardNamespace}        -> Standardnamespace of the current project or FileNameWithoutExtension | 
						|
		${FullName}                 -> Full generated path name | 
						|
		${FileName}                 -> File name with extension | 
						|
		${FileNameWithoutExtension} -> File name without extension | 
						|
		${Extension}                -> Extension in the form ".cs" | 
						|
		${Path}                     -> Full path of the file | 
						|
	 --> | 
						|
	<Files> | 
						|
		<File name="${FullName}" language="XML"><![CDATA[<UserControl x:Class="${ClassName}" | 
						|
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | 
						|
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | 
						|
	<Grid> | 
						|
		 | 
						|
	</Grid> | 
						|
</UserControl>]]></File> | 
						|
		<File name="${FullName}.vb" language="VBNET" DependentUpon="${FileName}" SubType="Code"><![CDATA[${StandardHeader.VBNET} | 
						|
Imports System | 
						|
Imports System.Collections.Generic | 
						|
Imports System.Text | 
						|
Imports System.Windows | 
						|
Imports System.Windows.Controls | 
						|
Imports System.Windows.Data | 
						|
Imports System.Windows.Documents | 
						|
Imports System.Windows.Input | 
						|
Imports System.Windows.Media | 
						|
 | 
						|
''' <summary> | 
						|
''' Interaction logic for ${FileName} | 
						|
''' </summary> | 
						|
Public Partial Class ${ClassName} | 
						|
	Inherits UserControl | 
						|
	 | 
						|
	Public Sub New() | 
						|
		InitializeComponent() | 
						|
	End Sub | 
						|
End Class]]></File> | 
						|
	</Files> | 
						|
	 | 
						|
	<AdditionalOptions/> | 
						|
</Template> | 
						|
 | 
						|
 | 
						|
 |