- ValidationTutorials.zip
- ValidationTutorials
- Assemblies
- Ganzer.Windows.Forms
- Ganzer.Wpf
- Ganzer
- Tutorials
- ConsoleValidatorTutorial
- FormsValidatorTutorial
- ValidatorTests
- WpfValidatorTutorial
- ValidationTutorials.sln
- ValidationTutorials.suo
|
<UserControl x:Class="ValidatorTests.Views.DateTimeValidatorView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:awv="clr-namespace:Ganzer.Wpf.Validation;assembly=Ganzer.Wpf"
xmlns:lv="clr-namespace:ValidatorTests.Views"
mc:Ignorable="d">
<StackPanel Grid.IsSharedSizeScope="True">
<lv:ValidatorInputView Margin="0,0,0,3" />
<GroupBox Header="Settings"
Margin="0,3">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Label Grid.Column="0"
Grid.Row="0"
Content="DateTimeT_ype:"
Target="{Binding ElementName=_cbxDateTimeType}"
Padding="3,5,3,3" />
<ComboBox Grid.Column="1"
Grid.Row="0"
Name="_cbxDateTimeType"
ItemsSource="{Binding DateTimeTypes}"
SelectedItem="{Binding DateTimeType}"
IsSynchronizedWithCurrentItem="True"
Margin="3" />
<Label Grid.Column="0"
Grid.Row="1"
Content="Lowest Valid Date_/Time:"
Target="{Binding ElementName=_minValue}"
Padding="3,5,3,3" />
<TextBox Grid.Column="1"
Grid.Row="1"
awv:ValidationService.Validator="{Binding MinMaxValidator}"
Name="_minValue"
Text="{Binding Path=MinValue, ValidatesOnExceptions=True}"
Margin="3" />
<Label Grid.Column="0"
Grid.Row="2"
Content="Hi_ghest Valid Date/Time:"
Target="{Binding ElementName=_maxValue}"
Padding="3,5,3,3" />
<TextBox Grid.Column="1"
Grid.Row="2"
awv:ValidationService.Validator="{Binding MinMaxValidator}"
Name="_maxValue"
Text="{Binding Path=MaxValue, ValidatesOnExceptions=True}"
Margin="3" />
</Grid>
</GroupBox>
<lv:ValidatorOptionsView Margin="0,3" />
<lv:LinkOptionsView Margin="0,3" />
<lv:ValidationCommandView Margin="0,3,0,0" />
</StackPanel>
</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 am a software developer since many years and have worked on several large projects especially in financial sectors and the logistics industry.
My favorite programming languages are C, C++ und newly C#.
I am the architect and chief developer of Tricentis TDM Studio (former Q-up) - a generator that primarily creates template based synthetic data for software testing.