|
<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"
mc:Ignorable="d"
x:Class="RIATasks.TaskDetails"
d:DesignWidth="330" d:DesignHeight="258">
<UserControl.DataContext>
<local:TaskDetailsModel/>
</UserControl.DataContext>
<Grid x:Name="LayoutRoot" >
<Grid x:Name="TaskDetails1" d:DataContext="{d:DesignData /SampleData/TaskDetailsModelSampleData.xaml}" Visibility="{Binding HasCurrentTask}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.328*"/>
<ColumnDefinition Width="0.672*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="0.143*"/>
<RowDefinition Height="0.857*"/>
</Grid.RowDefinitions>
<TextBlock TextWrapping="Wrap" Text="Name:" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="16"/>
<TextBox Grid.Column="1" TextWrapping="Wrap" FontSize="16" VerticalAlignment="Top" Text="{Binding CurrentTask.TaskName, Mode=TwoWay}" />
<TextBlock Grid.Row="1" TextWrapping="Wrap" Text="Description:" HorizontalAlignment="Right" FontSize="16" VerticalAlignment="Top" Margin="0,5,0,0"/>
<TextBox Grid.Column="1" Grid.Row="1" TextWrapping="Wrap" Text="{Binding CurrentTask.TaskDescription, Mode=TwoWay}" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" />
<StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Top"/>
</Grid>
</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.