Listview Cell Xaml đi kèm chương trình

Layout default cho các danh mục sử dụng trong Phoebus được cập nhật liên tục lên Cloud repository.

Consultant có thể sử dụng các layout này làm cơ sở customization hoặc ví dụ khi thiết kế các layout khác theo yêu cầu khách hàng.

1. pbs.BO.Category

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label Text="#_Descriptn_#" HorizontalOptions="FillAndExpand" LineBreakMode="WordWrap">
                </Label>
                <Label FontSize="Small">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Category: " />
                            <Span Text="#_LookupCategory_#" FontAttributes="Bold" />
                            <Span Text=". Type: " />
                            <Span Text="#_LookupType_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>  

2. SPC.BO.DashboardList

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label Text="#_Name_#" HorizontalOptions="FillAndExpand" LineBreakMode="WordWrap" />
                <Label>
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Code: ">
                            </Span>
                            <Span Text="#_Code_#" FontAttributes="Bold">
                            </Span>
                            <Span Text=". Data Access Group: ">
                            </Span>
                            <Span Text="#_Dag_#">
                            </Span>
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="5,0,5,0">
            <Grid VerticalOptions="Center">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="80" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <StackLayout Grid.Column="0" Margin="0,5">
                    <Label VerticalTextAlignment="Center" Grid.Column="0" Text="#_TransType_#">
                    </Label>
                    <Label VerticalOptions="Center" Text="#_Id_#" />
                </StackLayout>
                <StackLayout Grid.Column="1" Margin="0,5">
                    <Label VerticalOptions="Center">
                        <Label.FormattedText>
                            <FormattedString>
                                <Span Text="Document Id:">
                                </Span>
                                <Span Text="#_DocId_#">
                                </Span>
                            </FormattedString>
                        </Label.FormattedText>
                    </Label>
                    <Label VerticalOptions="Center">
                        <Label.FormattedText>
                            <FormattedString>
                                <Span Text="Document Reference:">
                                </Span>
                                <Span Text="#_Reference_#">
                                </Span>
                            </FormattedString>
                        </Label.FormattedText>
                    </Label>
                    <Label VerticalOptions="StartAndExpand" FontSize="Micro" LineBreakMode="WordWrap" Text="#_Title_#" />
                </StackLayout>
            </Grid>
            <BoxView HeightRequest="0.5" Color="Gray" HorizontalOptions="FillAndExpand" VerticalOptions="End">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

4. SPC.BO.HR.EMP - Employee Record

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
    <StackLayout Margin="0">
        <Grid Margin="5,10,5,5">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="120">
                </ColumnDefinition>
                <ColumnDefinition Width="*">
                </ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="*">
                </RowDefinition>
            </Grid.RowDefinitions>
            <StackLayout Margin="0" Grid.Column="0">
                <Label Text="#_ EmplCode_#" Grid.Column="0" FontAttributes="Bold" VerticalOptions="Start">
                </Label>
                <Label Text="#_ Gender_#" FontSize="Small" Grid.Column="0" HorizontalOptions="Start">
                </Label>
                <Label Text="#_ Dob_#" FontSize="Small" Grid.Column="0" HorizontalOptions="Center">
                </Label>
            </StackLayout>
            <StackLayout Margin="0" Grid.Column="1">
                <Label Text="#_ Description_#" FontAttributes="Bold" VerticalOptions="Start">
                </Label>
                <Label FontSize="Small">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Telephone: ">
                            </Span>
                            <Span Text="#_ CellPhone_#">
                            </Span>
                            <Span Text=". Email: ">
                            </Span>
                            <Span Text="#_ Email_#">
                            </Span>
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
        </Grid>
        <BoxView HeightRequest="0.5" BackgroundColor="LightGray">
        </BoxView>
    </StackLayout>
</ViewCell>

5. SPC.BO.HR.LeaveRequests

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:d="http://xamarin.com/schemas/2014/forms/design"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             mc:Ignorable="d"
             x:Class="SPC.View.QueryBOListViewCell">
  <ViewCell.View>
    <StackLayout Margin="10,2">

      <Grid VerticalOptions="Center">

        <Grid.RowDefinitions>

          <RowDefinition Height="*"/>

        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>

          <ColumnDefinition Width="83"/>

          <ColumnDefinition Width="*"/>

        </Grid.ColumnDefinitions>


        <StackLayout Margin="0" Grid.Column="0">
          <Label Text="{Binding LeaveType}" FontSize="Micro" BackgroundColor="Red" TextColor="White" HorizontalTextAlignment="Center" />

          <Label FontSize="Micro" VerticalTextAlignment="Center" HorizontalTextAlignment="Center">
            <Label.FormattedText>
              <FormattedString>
                <Span Text="{Binding LeaveFromDate}"></Span>
                <Span FontFamily="{StaticResource spcicons}" Text="&#xf5d5;" TextColor="Red"></Span>
              </FormattedString>
            </Label.FormattedText>
          </Label>

          <Label FontSize="Micro" VerticalTextAlignment="Center" HorizontalTextAlignment="Center">
            <Label.FormattedText>
              <FormattedString>
                <Span FontFamily="{StaticResource spcicons}" Text="&#xf5d4;" TextColor="Green"></Span>
                <Span Text="{Binding BackToWorkDate}"></Span>
              </FormattedString>
            </Label.FormattedText>
          </Label>

          <Label Text="{Binding Status}"  FontAttributes="Bold"  FontSize="Micro" VerticalTextAlignment="Center" HorizontalTextAlignment="Center" VerticalOptions="CenterAndExpand" />

        </StackLayout>

        <StackLayout   Margin="0" Orientation="Vertical" HorizontalOptions="FillAndExpand" Grid.Column="1">
          <Label FontSize="Small" LineBreakMode="WordWrap"  VerticalOptions="Start" HorizontalOptions="StartAndExpand" VerticalTextAlignment="Start"  TextColor="#474747"
                  Text="{Binding EmplCode , Converter = {StaticResource SLookup}, ConverterParameter = SPC.BO.HR.EMP|. }" />
          
          <Label FontSize="Small" LineBreakMode="WordWrap"  VerticalOptions="StartAndExpand" HorizontalOptions="StartAndExpand"  VerticalTextAlignment="Start"  TextColor="#474747"
          Text="{Binding Description}" />

          <Label VerticalTextAlignment="End" FontSize="Small" TextColor="#474747">
            <Label.FormattedText>
              <FormattedString>
                <Span Text="No# "></Span>
                <Span Text="{Binding LineNo}"></Span>
                <Span Text=". Submitted on "></Span>
                <Span Text="{Binding SubmitDate}"></Span>
              </FormattedString>
            </Label.FormattedText>
          </Label>

        </StackLayout>

      </Grid>

      <BoxView HeightRequest="1" Color="Gray" HorizontalOptions="FillAndExpand" VerticalOptions="End" ></BoxView>

    </StackLayout>
  </ViewCell.View>
</ViewCell>

6. SPC.BO.HR.LeaveBalances

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label>
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="#_Name_#" FontAttributes="Bold" />
                            <Span Text=" (" TextColor="Gray" />
                            <Span Text="#_EmplCode_#" TextColor="Gray" />
                            <Span Text=")" TextColor="Gray" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Carried Forward: " />
                            <Span Text="#_CarriedForward_#" FontAttributes="Bold" />
                            <Span Text=". Quota this year: " />
                            <Span Text="#_LeavesQuota_#" FontAttributes="Bold" TextColor="Green" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Leaves Taken: " />
                            <Span Text="#_LeavesTaken_#" FontAttributes="Bold" TextColor="Red" />
                            <Span Text=". Compensatory Leaves: " />
                            <Span Text="#_CompensatoryLeaves_#" FontAttributes="Bold" TextColor="Red" />
                            <Span Text=". Cash: " />
                            <Span Text="#_EnCash_#" FontAttributes="Bold" TextColor="Red" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Remains: " />
                            <Span Text="#_Remains_#" FontAttributes="Bold" TextColor="Green" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="1" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

7.SPC.BO.HR.LRQ - Leave Request info List

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
    <ViewCell.View>
        <StackLayout Margin="10,2">
            <Grid VerticalOptions="Center">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="70" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <StackLayout Margin="0" Grid.Column="0">
                    <Label Text="#_LeaveType_#" FontSize="Micro" BackgroundColor="Red" TextColor="White" HorizontalTextAlignment="Center" />
                    <Label Text="#_LeaveFromDate_#" FontSize="Micro" VerticalTextAlignment="Center" HorizontalTextAlignment="Center" />
                    <Label Text="#_BackToWorkDate_#" FontSize="Micro" VerticalTextAlignment="Center" HorizontalTextAlignment="Center" />
                    <Label Text="#_Status_#" FontAttributes="Bold" FontSize="Micro" VerticalTextAlignment="Center" HorizontalTextAlignment="Center" VerticalOptions="CenterAndExpand" />
                </StackLayout>
                <StackLayout Margin="0" Orientation="Vertical" HorizontalOptions="FillAndExpand" Grid.Column="1">
                    <Label LineBreakMode="WordWrap" VerticalTextAlignment="Center" TextColor="#474747" Text="#_EmplCode , Converter = #S_SLookup_#, ConverterParameter = SPC.BO.HR.EMP|. _#" />
                    <Label FontSize="Small" LineBreakMode="WordWrap" VerticalOptions="Center" HorizontalOptions="StartAndExpand" VerticalTextAlignment="Center" TextColor="#474747" Text="#_Description_#" />
                </StackLayout>
            </Grid>
            <BoxView HeightRequest="1" Color="Gray" HorizontalOptions="FillAndExpand" VerticalOptions="End">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

8. SPC.BO.HR.LRQD - Leave request Detail infolist

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
    <ViewCell.View>
        <StackLayout Margin="10,2">
            <Grid VerticalOptions="Center">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <StackLayout Margin="0" Grid.Column="0">
                    <Label>
                        <Label.FormattedText>
                            <FormattedString>
                                <Span Text="Shift:" FontSize="Small" />
                                <Span Text="#_ShiftCode_#" FontSize="Small" />
                                <Span Text=". " FontSize="Small" />
                                <Span Text="#_Description_#" FontSize="Small" />
                            </FormattedString>
                        </Label.FormattedText>
                    </Label>
                    <Label>
                        <Label.FormattedText>
                            <FormattedString>
                                <Span Text="Leave from:" FontAttributes="Bold" FontSize="Small">
                                </Span>
                                <Span Text="#_LeaveFromDate_#" FontSize="Small" />
                                <Span Text=" .. " FontAttributes="Bold" FontSize="Small">
                                </Span>
                                <Span Text="#_LeaveFromDate_#" FontSize="Small" />
                            </FormattedString>
                        </Label.FormattedText>
                    </Label>
                    <Label>
                        <Label.FormattedText>
                            <FormattedString>
                                <Span Text="Leave Days:" FontSize="Small" FontAttributes="Bold">
                                </Span>
                                <Span Text="#_LeaveDays_#" FontSize="Small" />
                            </FormattedString>
                        </Label.FormattedText>
                    </Label>
                </StackLayout>
            </Grid>
            <BoxView HeightRequest="1" Color="Gray" HorizontalOptions="FillAndExpand" VerticalOptions="End">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

9. SPC.BO.HR.MyLeaveRequests (Inquiry)

 
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="SPC.View.HR.LeaveRequestsViewCell" >
  <ViewCell.View>
    <StackLayout Margin="10,2">

      <Grid VerticalOptions="Center">

        <Grid.RowDefinitions>

          <RowDefinition Height="*"/>

        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>

          <ColumnDefinition Width="83"/>

          <ColumnDefinition Width="*"/>

        </Grid.ColumnDefinitions>


        <StackLayout Margin="0" Grid.Column="0">
          <Label Text="{Binding LeaveType}" FontSize="Micro" BackgroundColor="Red" TextColor="White" HorizontalTextAlignment="Center" />

          <Label FontSize="Micro" VerticalTextAlignment="Center" HorizontalTextAlignment="Center">
                <Label.FormattedText>
                  <FormattedString>
                    <Span Text="{Binding LeaveFromDate}"></Span>
                    <Span FontFamily="{StaticResource spcicons}" Text="&#xf5d5;" TextColor="Red"></Span>
                  </FormattedString>
                </Label.FormattedText>
          </Label>

          <Label FontSize="Micro" VerticalTextAlignment="Center" HorizontalTextAlignment="Center">
                <Label.FormattedText>
                  <FormattedString>
                    <Span FontFamily="{StaticResource spcicons}" Text="&#xf5d4;" TextColor="Green"></Span>
                    <Span Text="{Binding BackToWorkDate}"></Span>
                  </FormattedString>
                </Label.FormattedText>
          </Label>
          
          <Label Text="{Binding Status}"  FontAttributes="Bold"  FontSize="Micro" VerticalTextAlignment="Center" HorizontalTextAlignment="Center" VerticalOptions="CenterAndExpand" />

        </StackLayout>

        <StackLayout   Margin="0" Orientation="Vertical" HorizontalOptions="FillAndExpand" Grid.Column="1">
          
            <Label FontSize="Small" LineBreakMode="WordWrap"  VerticalOptions="StartAndExpand" HorizontalOptions="StartAndExpand"  VerticalTextAlignment="Start"  TextColor="#474747"
            Text="{Binding Description}" />
         
            <Label VerticalTextAlignment="End" FontSize="Small" TextColor="#474747">
              <Label.FormattedText>
                <FormattedString>
                  <Span Text="No# "></Span>
                  <Span Text="{Binding LineNo}"></Span>
                  <Span Text=". Submitted on "></Span>
                  <Span Text="{Binding SubmitDate}"></Span>
                  <Span FontFamily="{StaticResource spcicons}" Text="&#xf5d5;&#xf5d4;" TextColor="Red"></Span>
                </FormattedString>
              </Label.FormattedText>
            </Label>
          
          </StackLayout>

      </Grid>

      <BoxView HeightRequest="1" Color="Gray" HorizontalOptions="FillAndExpand" VerticalOptions="End" ></BoxView>

    </StackLayout>
  </ViewCell.View>
</ViewCell>  

10. SPC.BO.Inquiry.UQD - User query definition

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label Text="#_Name_#" HorizontalOptions="FillAndExpand" LineBreakMode="WordWrap" />
                <Label Text="#_DataUrl_#" HorizontalOptions="Start" LineBreakMode="WordWrap" />
                <Label FontSize="Small">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Code: " />
                            <Span Text="#_Code_#" FontAttributes="Bold" />
                            <Span Text=". Data Access: " />
                            <Span Text="#_DataAccessGroup_#" />
                            <Span Text=". Survey: " />
                            <Span Text="#_SurveyCode_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

11. SPC.BO.LA.CNT - Contact InfoList

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label FontSize="Large" FontAttributes="Bold">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Name : " />
                            <Span Text="#_FirstName_#" />
                            <Span Text=" " />
                            <Span Text="#_MiddleName_#" />
                            <Span Text=" " />
                            <Span Text="#_LastName_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label Text="#_Street_#" HorizontalOptions="FillAndExpand" LineBreakMode="WordWrap" />
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Contact Code: " />
                            <Span Text="#_ContactId_#" FontAttributes="Bold" />
                            <Span Text=". Contact type: " />
                            <Span Text="#_ContactType_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text=" Mobile: " />
                            <Span Text="#_Mobile_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text=" Email: " />
                            <Span Text="#_Email_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

12. SPC.BO.LA.NA - Address Record

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label Text="#_Address1_#" HorizontalOptions="FillAndExpand" LineBreakMode="WordWrap" />
                <Label Text="#_Address2_#" HorizontalOptions="Start" LineBreakMode="WordWrap" />
                <Label FontSize="Small">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Address Code: " />
                            <Span Text="#_AddCode_#" FontAttributes="Bold" />
                            <Span Text=". Contact: " />
                            <Span Text="#_Contact_#" />
                            <Span Text=". Telephone: " />
                            <Span Text="#_Telephone_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

13. SPC.BO.LA.ND - Analysis Definition

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label HorizontalOptions="FillAndExpand" LineBreakMode="WordWrap">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="#_Category_#" FontAttributes="Bold" />
                            <Span Text=". " />
                            <Span Text="#_Description_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Master Entity: " />
                            <Span Text="#_MasterEntity_#" FontAttributes="Bold" />
                            <Span Text=". Short Desc: " />
                            <Span Text="#_ShortDesc_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label>
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text=". Non Validated: " />
                            <Span Text="#_NonValidated_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

14. SPC.BO.LKUM - Lookup mapping InfoList

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label Text="#_Notes_#" HorizontalOptions="FillAndExpand" LineBreakMode="WordWrap">
                </Label>
                <Label>
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Original: " />
                            <Span Text="#_OrgCategory_#" FontAttributes="Bold" />
                            <Span Text=":" />
                            <Span Text="#_OrgCode_#" FontAttributes="Bold" />
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text="Target: " />
                            <Span Text="#_TargetCategory_#" FontAttributes="Bold" />
                            <Span Text=":" />
                            <Span Text="#_TargetCode_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="No: " />
                            <Span Text="#_LineNo_#" FontAttributes="Bold" />
                            <Span Text=". Date: " />
                            <Span Text="#_MapDate_#" FontAttributes="Bold" />
                            <Span Text=". Period: " />
                            <Span Text="#_MapPeriod_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

15. SPC.BO.LOOKUP - Lookup InfoList

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label Text="#_Descriptn_#" HorizontalOptions="FillAndExpand" LineBreakMode="WordWrap">
                </Label>
                <Label Text="#_Descriptn1_#" HorizontalOptions="FillAndExpand" LineBreakMode="WordWrap">
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Category: " />
                            <Span Text="#_LookupCategory_#" FontAttributes="Bold" />
                            <Span Text=". Code: " />
                            <Span Text="#_Code_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

16. SPC.BO.Mobile.MDB - Mobile Dashboard Definition

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label Text="#_Name_#" HorizontalOptions="FillAndExpand" LineBreakMode="WordWrap">
                </Label>
                <Label FontSize="Small">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Code: " />
                            <Span Text="#_Code_#" FontAttributes="Bold" />
                            <Span Text=". HelpId: " />
                            <Span Text="#_HelpId_#" />
                            <Span Text=". Data Access Group: " />
                            <Span Text="#_Dag_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

17. SPC.BO.PB.IR - Item record Info List

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label Text="#_Descriptn_#" HorizontalOptions="FillAndExpand" LineBreakMode="WordWrap" />
                <Label Text="#_Comments_#" HorizontalOptions="Start" LineBreakMode="WordWrap" />
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="ItemCode: " />
                            <Span Text="#_ItemCode_#" FontAttributes="Bold" />
                            <Span Text=". Group: " />
                            <Span Text="#_ItemGroup_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

18. SPC.BO.PBF - Form Definition

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label>
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="#_Descriptn_#" FontAttributes="Bold" />
                            <Span Text=" (" TextColor="Gray" />
                            <Span Text="#_PbfCode_#" TextColor="Gray" />
                            <Span Text=")" TextColor="Gray" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Data code:" TextColor="Gray" />
                            <Span Text="#_ClassName_#" TextColor="Green" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Data Access Group:" TextColor="Gray" />
                            <Span Text="#_Dag_#" TextColor="Green" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

19. SPC.BO.RE.CTR - Contract Infolist

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label Text="#_Title_#">
                </Label>
                <Label>
                    <Label.FormattedText>
                        <FormattedString>
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text=" ContractId: " />
                            <Span Text="#_ContractId_#" FontAttributes="Bold" />
                            <Span Text=". " />
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text=" Date: " />
                            <Span Text="#_ContrDate_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label>
                    <Label.FormattedText>
                        <FormattedString>
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text=" Client: " FontAttributes="Bold" />
                            <Span Text="#_ClientId_#" FontAttributes="Bold" />
                            <Span Text="." />
                            <Span Text="#_SLookup(SPC.BO.LA.CL;ClientId)_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label>
                    <Label.FormattedText>
                        <FormattedString>
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text=" Unit: " />
                            <Span Text="#_PropertyId_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

20. SPC.BO.RE.RENTCTR (Rent Contract)

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label Text="#_Title_#">
                </Label>
                <Label>
                    <Label.FormattedText>
                        <FormattedString>
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text=" ContractId: " />
                            <Span Text="#_ContractId_#" FontAttributes="Bold" />
                            <Span Text=". " />
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text=" Date: " />
                            <Span Text="#_ContrDate_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label>
                    <Label.FormattedText>
                        <FormattedString>
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text="Start: " />
                            <Span Text="#_StartDate_#" FontAttributes="Bold" />
                            <Span Text=" .. " />
                            <Span Text="#_EndDate_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label>
                    <Label.FormattedText>
                        <FormattedString>
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text=" Client: " FontAttributes="Bold" />
                            <Span Text="#_ClientId_#" FontAttributes="Bold" />
                            <Span Text="." />
                            <Span Text="#_SLookup(SPC.BO.LA.CL;ClientId)_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label>
                    <Label.FormattedText>
                        <FormattedString>
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text=" Unit: " />
                            <Span Text="#_PropertyId_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

21. SPC.BO.Rules.BusinessRules

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label FontAttributes="Bold">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Class Name : " />
                            <Span Text="#_ClassName_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="SubForm Code: " />
                            <Span Text="#_SubForm_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Suspend: " />
                            <Span Text="#_Suspend_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

22. SPC.BO.Rules.CalculationRules

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label FontAttributes="Bold">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Class Name : " />
                            <Span Text="#_ClassName_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="SubForm Code: " />
                            <Span Text="#_SubForm_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Suspend: " />
                            <Span Text="#_Suspend_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

23. SPC.BO.Rules.LockingRules

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label FontAttributes="Bold">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Class Name : " />
                            <Span Text="#_ClassCode_#" FontAttributes="Bold" />
                            <Span Text="-" />
                            <Span Text="#_Description_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Locking Condition: " />
                            <Span Text="#_LockingCondition_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Dag Field: " />
                            <Span Text="#_DagFieldName_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

24. SPC.BO.Rules.NumberingRules

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label FontAttributes="Bold">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Class Name : " />
                            <Span Text="#_ClassName_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="SubForm Code: " />
                            <Span Text="#_SubForm_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Suspend: " />
                            <Span Text="#_Suspend_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

25. SPC.BO.Rules.Preset

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label FontAttributes="Bold">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Preset Code: " />
                            <Span Text="#_PresetCode_#" FontAttributes="Bold" />
                            <Span Text="-" />
                            <Span Text="#_Name_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Class Name: " />
                            <Span Text="#_ClassName_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

26. SPC.BO.Rules.Transform

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label FontAttributes="Bold">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="#_TransformCode_#" FontAttributes="Bold" />
                            <Span Text="-" />
                            <Span Text="#_Name_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Transform From: " />
                            <Span Text="#_SourceClassName_#" FontAttributes="Bold" />
                            <Span Text=" to " />
                            <Span Text="#_ClassName_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="#_Variables_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

27. SPC.BO.Rules.UIFieldRules

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label FontAttributes="Bold">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Class Name : " />
                            <Span Text="#_ClassName_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="SubForm Code: " />
                            <Span Text="#_SubForm_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Suspend: " />
                            <Span Text="#_Suspend_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

28. SPC.BO.WF.MyTasks

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="5,0,5,0">
            <Grid VerticalOptions="Center">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="83" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <StackLayout Margin="0" Grid.Column="0">
                    <Label Text="#_WfCode_#" FontSize="Small" TextColor="White" BackgroundColor="Green">
                    </Label>
                    <Label VerticalTextAlignment="End" FontSize="Micro" TextColor="Red">
                        <Label.FormattedText>
                            <FormattedString>
                                <Span Text="No#">
                                </Span>
                                <Span Text="#_TaskId_#">
                                </Span>
                            </FormattedString>
                        </Label.FormattedText>
                    </Label>
                    <Label Text="#_TaskStatus_#" FontSize="Micro" TextColor="Red" />
                </StackLayout>
                <StackLayout Margin="0" Grid.Column="1">
                    <Label Text="#_Descriptn_#" VerticalTextAlignment="Start" FontSize="Small" TextColor="#474747" />
                    <Label VerticalTextAlignment="End" FontSize="Small" TextColor="#474747">
                        <Label.FormattedText>
                            <FormattedString>
                                <Span>
                                </Span>
                                <Span Text="Submitted on ">
                                </Span>
                                <Span FontAttributes="Bold" Text="#_TaskDate_#" FontSize="Small">
                                </Span>
                                <Span Text=" from ">
                                </Span>
                                <Span Text="#_SLookup(SPC.BO.HR.EMP,FromEmp,.)_#">
                                </Span>
                                <Span Text="#_SLookup(SPC.BO.HR.EMP,AssignedTo,.)_#">
                                </Span>
                            </FormattedString>
                        </Label.FormattedText>
                    </Label>
                </StackLayout>
            </Grid>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

29. SPC.BO.WF.Tasks

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="5,0,5,0">
            <Grid VerticalOptions="Center">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="83" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <StackLayout Margin="0" Grid.Column="0">
                    <Label Text="#_WfCode_#" FontSize="Small" TextColor="White" BackgroundColor="Green">
                    </Label>
                    <Label VerticalTextAlignment="End" FontSize="Micro" TextColor="Red">
                        <Label.FormattedText>
                            <FormattedString>
                                <Span Text="No#">
                                </Span>
                                <Span Text="#_TaskId_#">
                                </Span>
                            </FormattedString>
                        </Label.FormattedText>
                    </Label>
                    <Label Text="#_TaskStatus_#" FontSize="Micro" TextColor="Red" />
                </StackLayout>
                <StackLayout Margin="0" Grid.Column="1">
                    <Label Text="#_Descriptn_#" VerticalTextAlignment="Start" FontSize="Small" TextColor="#474747" />
                    <Label VerticalTextAlignment="End" FontSize="Small" TextColor="#474747">
                        <Label.FormattedText>
                            <FormattedString>
                                <Span>
                                </Span>
                                <Span Text="Submitted on ">
                                </Span>
                                <Span FontAttributes="Bold" Text="#_TaskDate_#" FontSize="Small">
                                </Span>
                                <Span Text=" from ">
                                </Span>
                                <Span Text="#_FromEmp , Converter = #S_ SLookup_#, ConverterParameter = SPC.BO.HR.EMP|. _#">
                                </Span>
                                <Span Text="#_AssignedTo , Converter = #S_ SLookup_#, ConverterParameter = SPC.BO.HR.EMP|. _#">
                                </Span>
                            </FormattedString>
                        </Label.FormattedText>
                    </Label>
                </StackLayout>
            </Grid>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

30. SPC.BO.WF.WHD - Workflow Header Definition

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label>
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="#_Descriptn_#" FontAttributes="Bold" />
                            <Span Text="#_Description_#" FontAttributes="Bold" />
                            <Span Text=" (" TextColor="Gray" />
                            <Span Text="#_Code_#" TextColor="Gray" />
                            <Span Text=")" TextColor="Gray" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Document code:" TextColor="Gray" />
                            <Span Text="#_PbfCode_#" TextColor="Green" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Supervisor:" TextColor="Gray" />
                            <Span Text="#_Supervisor_#" TextColor="Green" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Data Access Group: " />
                            <Span Text="#_Dag_#" FontAttributes="Bold" />
                            <Span Text=". Entry Location: " />
                            <Span Text="#_EntryLocation_#" FontAttributes="Bold" TextColor="Green" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

31. SPC.Cloud.Connection

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label>
                    <Label.FormattedText>
                        <FormattedString>
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text=" : " FontAttributes="Bold" />
                            <Span Text="#_Server_#" FontAttributes="Bold" />
                            <Span Text=" - " FontAttributes="Bold" />
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text=" : " FontAttributes="Bold" />
                            <Span Text="#_SqlDatabase_#" FontAttributes="Bold" />
                            <Span Text=" - " FontAttributes="Bold" />
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text="#_ConnectionKey_#" FontAttributes="Bold" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text="#_RegSubscriber_#" />
                            <Span Text=" - " />
                            <Span FontFamily="#S_spcicons_#" Text="" />
                            <Span Text="#_RegCompany_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

32. SPC.QD.QD

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout>
                <Label Text="#_Descriptn_#" FontAttributes="Bold">
                </Label>
                <Label FontSize="Small">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Code: ">
                            </Span>
                            <Span Text="#_QdId_#">
                            </Span>
                            <Span Text=". Created by: ">
                            </Span>
                            <Span Text="#_Owner_#">
                            </Span>
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label FontSize="Small" TextColor="Gray">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Source: ">
                            </Span>
                            <Span Text="#_AnalQ0_#">
                            </Span>
                            <Span Text=". DAG: ">
                            </Span>
                            <Span Text="#_Dag_#">
                            </Span>
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

33.SPC.QD.Queries

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="5,0,5,0">
            <Grid VerticalOptions="Center">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="83" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <StackLayout Margin="0" Grid.Column="0" VerticalOptions="Center">
                    <Label VerticalOptions="Center" Text="#_QdId_#" FontAttributes="Bold">
                    </Label>
                    <Label VerticalOptions="Center" Text="#_Owner_#" VerticalTextAlignment="End" FontSize="Micro">
                    </Label>
                </StackLayout>
                <StackLayout Margin="0" Grid.Column="1">
                    <Label Text="#_Descriptn_#" VerticalTextAlignment="Start" LineBreakMode="WordWrap" TextColor="#474747" />
                    <Label VerticalTextAlignment="End" FontSize="Small" TextColor="#474747">
                        <Label.FormattedText>
                            <FormattedString>
                                <Span Text="Query group:">
                                </Span>
                                <Span FontAttributes="Bold" Text="#_AnalQ0_#" FontSize="Small">
                                </Span>
                            </FormattedString>
                        </Label.FormattedText>
                    </Label>
                    <Label VerticalTextAlignment="End" FontSize="Small" TextColor="#474747">
                        <Label.FormattedText>
                            <FormattedString>
                                <Span Text="Shared:">
                                </Span>
                                <Span FontAttributes="Bold" Text="#_Shared_#" FontSize="Small">
                                </Span>
                            </FormattedString>
                        </Label.FormattedText>
                    </Label>
                </StackLayout>
            </Grid>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

34. SPC.UsrMan.OD - Operator Definition

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <ViewCell.View>
        <StackLayout Margin="0">
            <StackLayout Orientation="Vertical" Padding="0">
                <Label Text="#_Name_#" HorizontalOptions="FillAndExpand" LineBreakMode="WordWrap" />
                <Label FontSize="Small">
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Operator Code: " />
                            <Span Text="#_UserId_#" FontAttributes="Bold" />
                            <Span Text=". Group: " />
                            <Span Text="#_RoleId_#" />
                            <Span Text=". Entity: " />
                            <Span Text="#_DefaultEntity_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
                <Label>
                    <Label.FormattedText>
                        <FormattedString>
                            <Span Text="Email:" />
                            <Span Text="#_Email_#" FontAttributes="Bold" />
                            <Span Text=". Group: " />
                            <Span Text="#_RoleId_#" />
                            <Span Text=". Empl. Code: " />
                            <Span Text="#_EmplCode_#" />
                        </FormattedString>
                    </Label.FormattedText>
                </Label>
            </StackLayout>
            <BoxView HeightRequest="0.5" BackgroundColor="Gray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

35. SPC.BO.WF.TasksSummary

<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
    <ViewCell.View>
        <StackLayout Margin="0">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="60">
                    </RowDefinition>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="60">
                    </ColumnDefinition>
                    <ColumnDefinition Width="*">
                    </ColumnDefinition>
                    <ColumnDefinition Width="120">
                    </ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Label Text="#_EntityCode_#" FontAttributes="Bold" VerticalOptions="Center" HorizontalOptions="Start">
                </Label>
                <Label FontSize="Body" Text="#_EntityName_#" Grid.Column="1" VerticalOptions="Center" LineBreakMode="WordWrap">
                </Label>
                <Button Grid.Column="2" HeightRequest="35" CornerRadius="10" Text="{Binding Converter={StaticResource FormatText}, ConverterParameter = 'Pending: [Pendings]'}" VerticalOptions="Center" HorizontalOptions="Fill" Command="{Binding Converter={StaticResource UrlCommand}, ConverterParameter='SPC.BO.WF.Tasks?$entity=[EntityCode]'}">
                </Button>
            </Grid>
            <BoxView HeightRequest="0.5" BackgroundColor="LightGray">
            </BoxView>
        </StackLayout>
    </ViewCell.View>
</ViewCell>

Xem thêm:



Updated on : 2020-06-20 03:04:07. by : . at tcp:spcsqlservers.database.windows.net,1433.

Topic : ListViewCells