Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. <Label Text="Name:" TextColor="Gray" VerticalOptions="End" FontSize="20"
  2. RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView, ElementName=SeparatorEmailTo, Property=Height, Factor=0,Constant=44}"
  3. RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0, Constant=10}"
  4. RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width,Factor=.25,Constant=0}"
  5. />
  6. <Controls:XEntry Text="Ankush Sharma" TextColor="Black" x:Name="Name"
  7. RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView, ElementName=SeparatorEmailTo, Property=Height, Factor=0,Constant=35}"
  8. RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.3, Constant=0}"
  9. RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width,Factor=0.75,Constant=0}"
  10. RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=0,Constant=50}"
  11. />
  12. <BoxView x:Name="SeparatorName"
  13. HeightRequest="1"
  14. Color="LightGray"
  15. RelativeLayout.WidthConstraint = "{ConstraintExpression
  16. Type = RelativeToParent,
  17. Property = Width,
  18. Factor = 1}"
  19. RelativeLayout.YConstraint = "{ConstraintExpression
  20. Type = RelativeToView,
  21. ElementName = Name,
  22. Property = Y,
  23. Factor = 1,
  24. Constant = 35}"
  25. />
  26.  
  27. <ListView x:Name="ListView" HeightRequest="150"
  28. RelativeLayout.YConstraint = "{ConstraintExpression
  29. Type = RelativeToParent,
  30.  
  31. Property = Y,
  32. Factor = 1,
  33. Constant = 300}">
  34. <ListView.ItemTemplate>
  35. <DataTemplate>
  36. <TextCell Text="{Binding FileName}"
  37. Detail="{Binding FilePath}" />
  38. </DataTemplate>
  39. </ListView.ItemTemplate>
  40. </ListView>
  41.  
  42. <Button x:Name="FilePicker"
  43. Text="Attach File"
  44. HorizontalOptions="Center"
  45. VerticalOptions="CenterAndExpand"
  46. Clicked="LoadFilePicker"
  47. RelativeLayout.YConstraint = "{ConstraintExpression
  48. Type = RelativeToView,
  49. ElementName = ListView,
  50. Property = Y,
  51. Factor = 1,
  52. Constant = 100}"/>
  53.  
  54.  
  55. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement