|
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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:local="clr-namespace:RIATasks" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
xmlns:System_Windows_Controls_Primitives="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls"
x:Class="RIATasks.MainPage"
mc:Ignorable="d"
Width="534" Height="391">
<UserControl.Resources>
<local:MainPageModel x:Key="MainPageModelDataSource" />
</UserControl.Resources>
<Grid x:Name="LayoutRoot" DataContext="{Binding Source={StaticResource MainPageModelDataSource}}">
<TextBlock x:Name="Message" Text="{Binding Message}" Margin="10,0,8,41" VerticalAlignment="Bottom" Foreground="#FFFD0808"/>
<StackPanel x:Name="Buttons" HorizontalAlignment="Left" Orientation="Horizontal" VerticalAlignment="Top" Margin="8,9,0,0">
<Button x:Name="btnAddTask" Content="Add New Task" Height="23" Visibility="{Binding AddVisibility, Mode=OneWay}" Width="92">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<i:InvokeCommandAction x:Name="AddTask" Command="{Binding TabControlVM.AddNewTaskCommand}"/>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</StackPanel>
<local:TabControl x:Name="tabControl" DataContext="{Binding TabControlVM, Mode=OneWay}" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="4,34,0,0" Width="520"/>
<TextBlock Text="{Binding TabControlVM.Message, Mode=OneWay}" Margin="10,354,38,0" VerticalAlignment="Top" Foreground="#FFFF0101"/>
</Grid>
</UserControl>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I've been playing with computers since my first Acorn Electron, & after blowing up a few ZX Spectrums. I moved on to the C64 & Amiga, & eventually reluctantly on to the PC.
I have learnt a wide set of skills during my 38 years of existence, living in the UK, on the sunny south coast.
My main area of expertise is Graphic/Visual Design, Usability & UI Design. I am not a programmer, but am fairly technically minded due to studying Mechanical Engineering at Uni.
I have work both Freelance & for IBM as a Graphic Designer, & am skilled in the usual graphics packages like, PhotoShop, CorelDraw or Illustrator, Premier, Dreamweaver, Flash etc.
But I originally started with Lightwave & 3D animation.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.