xaml-sdk/DateTimePicker/AllowedDates/MainPage.xaml

22 строки
1.0 KiB
XML

<UserControl x:Class="AllowedDates.MainPage"
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:AllowedDates"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400">
<Grid x:Name="LayoutRoot" Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Text="This project demonstrates how to use the SelectableDateStart, SelectableDateEnd and BlackoutDates properties in order to make only the current month and only weekdays selectable in the RadDatePicker control."
TextWrapping="Wrap"
Margin="20" HorizontalAlignment="Center"
FontWeight="Bold"/>
<local:Example Grid.Row="1" HorizontalAlignment="Center"/>
</Grid>
</UserControl>