|
<StackLayout>
<textInputLayout:SfTextInputLayout
ContainerType="Filled"
Hint="Date"
HelperText="Select birth date">
<Entry Focused="entry_Focused" x:Name="entry"/>
</textInputLayout:SfTextInputLayout>
<syncfusion1:SfDatePicker PickerMode="Dialog"
x:Name="birthdatePicker" PickerWidth="250" PickerHeight="300"
HeaderText="Select student's birthdate"
ShowFooter="True" DateSelected="birthdatePicker_DateSelected"
MinimumDate="1930, 1, 1"
MaximumDate="2020,12,30"
VerticalOptions="Center"
HorizontalOptions="Center" />
</StackLayout>
|
|
void entry_Focused(System.Object sender, Xamarin.Forms.FocusEventArgs e)
{
birthdatePicker.IsOpen = true;
} |