| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- <?xml version="1.0" encoding="utf-8"?>
- <local:KanbanEditView
- xmlns="http://xamarin.com/schemas/2014/forms"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- xmlns:local="clr-namespace:PRS.Mobile;assembly=PRS.Mobile"
- xmlns:mobile="clr-namespace:InABox.Mobile;assembly=InABox.Mobile.Shared"
- x:Class="PRS.Mobile.KanbanEditDetailsView"
- x:DataType="local:KanbanEditViewModel">
-
- <local:KanbanEditDetailsView.Resources>
- <local:KanbanJobNameConverter x:Key="KanbanJobNameConverter"/>
- <local:KanbanTypeConverter x:Key="KanbanTypeConverter"/>
- <local:KanbanEmployeeConverter x:Key="KanbanEmployeeConverter"/>
- </local:KanbanEditDetailsView.Resources>
-
- <local:KanbanEditView.Content>
-
- <Grid
- RowSpacing="5">
-
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- </Grid.RowDefinitions>
-
-
- <Frame
- Grid.Row="0"
- Margin="0"
- Padding="5,0"
- CornerRadius="5"
- HeightRequest="40"
- BorderColor="Gray"
- BackgroundColor="LightYellow"
- HasShadow="False">
- <mobile:MobileEntry
- Text="{Binding Item.Title, Mode=TwoWay}"
-
- TextChanged="Title_OnTextChanged"
- Placeholder="Title"
- />
- </Frame>
-
- <Frame
- Grid.Row="1"
- Margin="0"
- Padding="0"
- CornerRadius="5"
- BorderColor="Gray"
- BackgroundColor="WhiteSmoke"
- HasShadow="False">
- <mobile:MobileEditor
- x:Name="_description"
- VerticalOptions="FillAndExpand"
- BackgroundColor="LightYellow"
- Text="{Binding Item.Description, Mode=TwoWay}"
- TextChanged="_description_OnTextChanged"
- Placeholder="Task Description"
- />
- </Frame>
-
- <mobile:MobileButton
- x:Name="_selectjob"
- Grid.Row="2"
- Text="{Binding Item, Converter={StaticResource KanbanJobNameConverter}}"
- HeightRequest="50"
- Clicked="_selectjob_Clicked"
- />
-
- <mobile:MobileButton
- x:Name="_selecttype"
- Grid.Row="3"
- HeightRequest="50"
- Text="{Binding Item, Converter={StaticResource KanbanTypeConverter}}"
- Clicked="_selecttype_OnClicked"
- />
-
- <mobile:MobileDateButton
- x:Name="_duedate"
- Prefix="Due:"
- Format="dd MMM yy"
- Grid.Row="4"
- HeightRequest="50"
- Date="{Binding Item.DueDate}"
- Changed="_duedate_OnChanged"
- />
-
- <mobile:MobileButton
- x:Name="_selectemployee"
- Grid.Row="5"
- HeightRequest="50"
- Text="{Binding Item, Converter={StaticResource KanbanEmployeeConverter}}"
- Clicked="_selectemployee_OnClicked"
- />
-
- <mobile:MobileButton
- x:Name="_changestatus"
- Grid.Row="6"
- HeightRequest="50"
- Text="{Binding Item.Status}"
- Prefix="Status:"
- Prompt="Change Status"
- Clicked="_changestatus_OnClicked"
- />
-
- </Grid>
-
- </local:KanbanEditView.Content>
-
- </local:KanbanEditView>
|