| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ContentPage
- xmlns="http://xamarin.com/schemas/2014/forms"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- xmlns:material="clr-namespace:XF.Material.Forms.UI;assembly=XF.Material"
- x:Class="comal.timesheets.AssignmentList"
- xmlns:local="clr-namespace:comal.timesheets"
- xmlns:schedule="clr-namespace:Syncfusion.SfSchedule.XForms;assembly=Syncfusion.SfSchedule.XForms"
- >
- <ContentPage.BindingContext>
- <local:AssignmentListDataModel x:Name="DataModel"/>
- </ContentPage.BindingContext>
-
- <NavigationPage.TitleView>
- <Grid Margin="0" Padding="0">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="Auto"/>
- </Grid.ColumnDefinitions>
- <Label
- Grid.Column="0"
- x:Name="Title"
- Text="Assignments"
- VerticalOptions="Center"
- HorizontalOptions="Center"
- HorizontalTextAlignment="Center"
- TextColor="White"
- FontSize="Medium"
- FontAttributes="Bold"
- BackgroundColor="Transparent"/>
- <StackLayout
- Grid.Column="1"
- Orientation="Horizontal"
- x:Name="Buttons">
- <Image
- x:Name="SelectDate"
- Aspect="AspectFit"
- WidthRequest="30"
- HorizontalOptions="End"
- Margin="5,5,0,5">
-
- <Image.Source>
- <OnPlatform x:TypeArguments="ImageSource">
- <OnPlatform.Platforms>
- <On Platform="iOS" Value="calendar"/>
- <On Platform="Android" Value="calendar"/>
- </OnPlatform.Platforms>
- </OnPlatform>
- </Image.Source>
- <Image.GestureRecognizers>
- <TapGestureRecognizer Tapped="SelectedDate_Tapped"/>
- </Image.GestureRecognizers>
- </Image>
-
- <DatePicker x:Name="DatePicker" IsVisible="False" DateSelected="DatePicker_OnDateSelected" />
-
- <Image
- x:Name="SelectEmployees"
- Aspect="AspectFit"
- WidthRequest="30"
- HorizontalOptions="End"
- Margin="5">
-
- <Image.Source>
- <OnPlatform x:TypeArguments="ImageSource">
- <OnPlatform.Platforms>
- <On Platform="iOS" Value="user"/>
- <On Platform="Android" Value="user"/>
- </OnPlatform.Platforms>
- </OnPlatform>
- </Image.Source>
- <Image.GestureRecognizers>
- <TapGestureRecognizer Tapped="SelectEmployees_Tapped"/>
- </Image.GestureRecognizers>
- </Image>
-
- </StackLayout>
- </Grid>
- </NavigationPage.TitleView>
-
- <ContentPage.Content>
- <ScrollView>
- <Grid x:Name="Grid">
- <Grid.RowDefinitions>
- <RowDefinition Height="1350"/>
- </Grid.RowDefinitions>
- </Grid>
- </ScrollView>
- </ContentPage.Content>
- </ContentPage>
|