|
<Windows:DataWindow x:Class="Catel.Windows.TipOfTheDayItemEditorWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Windows="clr-namespace:Catel.Windows"
Title="Tip of the day">
<!-- Resources -->
<!-- Content -->
<Grid DataContext="{Binding RelativeSource={RelativeSource AncestorType={x:Type Windows:DataWindow}}, Path=TipOfTheDay}">
<!-- Row definitions -->
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="200" />
</Grid.RowDefinitions>
<!-- Column definitions -->
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" MaxWidth="100" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<!-- Title -->
<Label Grid.Row="0" Grid.Column="0" Content="Title" />
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Title}" />
<!-- Description -->
<Label Grid.Row="1" Grid.Column="0" Content="Description" />
<TextBox Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Text="{Binding Description, UpdateSourceTrigger=PropertyChanged}" AcceptsReturn="True"
VerticalScrollBarVisibility="Visible" TextWrapping="Wrap" Width="500" MaxWidth="500" />
</Grid>
</Windows:DataWindow>
|
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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.