TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Aayushmaan Kookeeyan
NA
132
6.3k
datepicker with watermarks
May 11 2016 3:13 AM
sir i want to use datepicker with watermarks but unfortunately i am not using watermarks in it so plz give a suggestion here is the code. of xaml.
<phone:PhoneApplicationPage
x:Class="FilesFoldersDemo.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
SupportedOrientations="Portrait" Orientation="Portrait"
shell:SystemTray.IsVisible="True">
<Grid x:Name="LayoutRoot" Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!--TitlePanel contains the name of the application and page title-->
<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
<TextBlock x:Name="ApplicationTitle" Text="Josn post request" Style="{StaticResource PhoneTextNormalStyle}"/>
<TextBlock x:Name="PageTitle" Text="Leave Demo" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
</StackPanel>
<!--ContentPanel - place additional content here-->
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<toolkit:DatePicker Name="Datepicker" Value="10/05/2016" ValueChanged="datechanged" Margin="0,13,0,-85" Grid.Row="1"></toolkit:DatePicker>
<toolkit:DatePicker Name="Datepicker2" Value="10/05/2016" Margin="1,87,-1,-159" Grid.Row="1"></toolkit:DatePicker>
</Grid>
<TextBox x:Name="textBox" Text="No. Of Days" GotFocus="txtName_GotFocus" LostFocus="txtName_LostFocus" HorizontalAlignment="Left" Height="72" Margin="15,162,0,0" Grid.Row="1" TextWrapping="Wrap" VerticalAlignment="Top" Width="456" TextChanged="textBox_TextChanged"/>
<TextBox x:Name="textBox1" GotFocus="txtName_GotFocus" LostFocus="txtName_LostFocus" HorizontalAlignment="Left" Height="132" TextWrapping="Wrap" Text="Reason For Leave" VerticalAlignment="Top" Width="456" Margin="15,242,0,0" Grid.Row="1"/>
<TextBox x:Name="textBox2" GotFocus="txtName_GotFocus" LostFocus="txtName_LostFocus" HorizontalAlignment="Left" Height="72" TextWrapping="Wrap" Text="Submited By" VerticalAlignment="Top" Width="456" Margin="10,379,0,0" Grid.Row="1"/>
<Button x:Name="button" Content="Submit" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="168,483,0,0" Grid.Row="1" Click="submit_click"/>
</Grid>
</phone:PhoneApplicationPage>
Reply
Answers (
6
)
DatePicker related question.
datepicker query