зеркало из https://github.com/telerik/xaml-sdk.git
24 строки
1.2 KiB
XML
24 строки
1.2 KiB
XML
<UserControl x:Class="AllowedDates.Example"
|
|
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:telerik="http://schemas.telerik.com/2008/xaml/presentation"
|
|
xmlns:local="clr-namespace:AllowedDates"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="300" d:DesignWidth="300">
|
|
<UserControl.Resources>
|
|
<local:ViewModel x:Key="ViewModel"/>
|
|
</UserControl.Resources>
|
|
|
|
<Grid x:Name="LayoutRoot" Background="White" DataContext="{StaticResource ViewModel}">
|
|
<telerik:RadDateTimePicker x:Name="cmbDatePicker"
|
|
InputMode="DatePicker"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
SelectableDateStart="{Binding SelectableDateStart}"
|
|
SelectableDateEnd="{Binding SelectableDateEnd}"
|
|
BlackoutDates="{Binding BlackoutDates}"/>
|
|
</Grid>
|
|
</UserControl>
|