mirror of
				https://github.com/chibicitiberiu/drumkit.git
				synced 2024-02-24 10:53:32 +00:00 
			
		
		
		
	Latest build (version 2.2)
This commit is contained in:
		
							
								
								
									
										36
									
								
								DrumKit/UI/CommonControls/FileControl.xaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								DrumKit/UI/CommonControls/FileControl.xaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,36 @@
 | 
			
		||||
<UserControl
 | 
			
		||||
    x:Class="DrumKit.FileControl"
 | 
			
		||||
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
			
		||||
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
			
		||||
    xmlns:local="using:DrumKit"
 | 
			
		||||
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 | 
			
		||||
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 | 
			
		||||
    mc:Ignorable="d"
 | 
			
		||||
    d:DesignHeight="120"
 | 
			
		||||
    d:DesignWidth="400">
 | 
			
		||||
    
 | 
			
		||||
    <Grid>
 | 
			
		||||
        
 | 
			
		||||
        <Grid.RowDefinitions>
 | 
			
		||||
            <RowDefinition Height="Auto"/>
 | 
			
		||||
            <RowDefinition />
 | 
			
		||||
        </Grid.RowDefinitions>
 | 
			
		||||
        
 | 
			
		||||
        <Grid.ColumnDefinitions>
 | 
			
		||||
            <ColumnDefinition />
 | 
			
		||||
            <ColumnDefinition Width="Auto" />
 | 
			
		||||
        </Grid.ColumnDefinitions>
 | 
			
		||||
        
 | 
			
		||||
        <TextBlock Name="textName" Style="{StaticResource TitleTextStyle}"
 | 
			
		||||
                   VerticalAlignment="Center"
 | 
			
		||||
                   Margin="0,0,0,8">Test</TextBlock>
 | 
			
		||||
        
 | 
			
		||||
        <Image Grid.Row="1" Name="image"
 | 
			
		||||
               VerticalAlignment="Stretch"
 | 
			
		||||
               HorizontalAlignment="Left" Width="120"/>
 | 
			
		||||
        
 | 
			
		||||
        <Button Name="buttonBrowse" Style="{StaticResource TextButtonStyle}" 
 | 
			
		||||
                Grid.Column="1" Margin="10,5,10,5">...</Button>
 | 
			
		||||
        
 | 
			
		||||
    </Grid>
 | 
			
		||||
</UserControl>
 | 
			
		||||
							
								
								
									
										26
									
								
								DrumKit/UI/CommonControls/FileControl.xaml.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								DrumKit/UI/CommonControls/FileControl.xaml.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.IO;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using Windows.Foundation;
 | 
			
		||||
using Windows.Foundation.Collections;
 | 
			
		||||
using Windows.UI.Xaml;
 | 
			
		||||
using Windows.UI.Xaml.Controls;
 | 
			
		||||
using Windows.UI.Xaml.Controls.Primitives;
 | 
			
		||||
using Windows.UI.Xaml.Data;
 | 
			
		||||
using Windows.UI.Xaml.Input;
 | 
			
		||||
using Windows.UI.Xaml.Media;
 | 
			
		||||
using Windows.UI.Xaml.Navigation;
 | 
			
		||||
 | 
			
		||||
// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236
 | 
			
		||||
 | 
			
		||||
namespace DrumKit
 | 
			
		||||
{
 | 
			
		||||
    public sealed partial class FileControl : UserControl
 | 
			
		||||
    {
 | 
			
		||||
        public FileControl()
 | 
			
		||||
        {
 | 
			
		||||
            this.InitializeComponent();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user