|  | @@ -0,0 +1,30 @@
 | 
	
		
			
				|  |  | +<UserControl xmlns="https://github.com/avaloniaui"
 | 
	
		
			
				|  |  | +             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
	
		
			
				|  |  | +             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 | 
	
		
			
				|  |  | +             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 | 
	
		
			
				|  |  | +			 xmlns:components="using:InABox.Avalonia.Components"
 | 
	
		
			
				|  |  | +             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
 | 
	
		
			
				|  |  | +             x:Class="InABox.Avalonia.Components.TextEditView"
 | 
	
		
			
				|  |  | +			 x:DataType="components:TextEditViewModel">
 | 
	
		
			
				|  |  | +	<UserControl.Resources>
 | 
	
		
			
				|  |  | +		<components:TextEditVerticalAlignmentConverter x:Key="VerticalAlignmentConverter"/>
 | 
	
		
			
				|  |  | +	</UserControl.Resources>
 | 
	
		
			
				|  |  | +	<Grid>
 | 
	
		
			
				|  |  | +		<Grid.RowDefinitions>
 | 
	
		
			
				|  |  | +			<RowDefinition Height="*"/>
 | 
	
		
			
				|  |  | +			<RowDefinition Height="Auto"/>
 | 
	
		
			
				|  |  | +		</Grid.RowDefinitions>
 | 
	
		
			
				|  |  | +		<Grid.ColumnDefinitions>
 | 
	
		
			
				|  |  | +			<ColumnDefinition Width="Auto"/>
 | 
	
		
			
				|  |  | +			<ColumnDefinition Width="*"/>
 | 
	
		
			
				|  |  | +			<ColumnDefinition Width="Auto"/>
 | 
	
		
			
				|  |  | +		</Grid.ColumnDefinitions>
 | 
	
		
			
				|  |  | +		<TextBox Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3"
 | 
	
		
			
				|  |  | +				 Text="{Binding Text}" AcceptsReturn="{Binding Multiline}"
 | 
	
		
			
				|  |  | +				 Margin="0,0,0,10"
 | 
	
		
			
				|  |  | +				 VerticalContentAlignment="{Binding Multiline,Converter={StaticResource VerticalAlignmentConverter}}"
 | 
	
		
			
				|  |  | +				 TextWrapping="Wrap"/>
 | 
	
		
			
				|  |  | +		<Button Grid.Row="1" Grid.Column="0" Content="Cancel" Command="{Binding CancelCommand}" Classes="Standard"/>
 | 
	
		
			
				|  |  | +		<Button Grid.Row="1" Grid.Column="2" Content="OK" Command="{Binding OKCommand}" Classes="Standard"/>
 | 
	
		
			
				|  |  | +	</Grid>
 | 
	
		
			
				|  |  | +</UserControl>
 |