Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Label Text="Name:" TextColor="Gray" VerticalOptions="End" FontSize="20"
- RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView, ElementName=SeparatorEmailTo, Property=Height, Factor=0,Constant=44}"
- RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0, Constant=10}"
- RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width,Factor=.25,Constant=0}"
- />
- <Controls:XEntry Text="Ankush Sharma" TextColor="Black" x:Name="Name"
- RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToView, ElementName=SeparatorEmailTo, Property=Height, Factor=0,Constant=35}"
- RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.3, Constant=0}"
- RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width,Factor=0.75,Constant=0}"
- RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=0,Constant=50}"
- />
- <BoxView x:Name="SeparatorName"
- HeightRequest="1"
- Color="LightGray"
- RelativeLayout.WidthConstraint = "{ConstraintExpression
- Type = RelativeToParent,
- Property = Width,
- Factor = 1}"
- RelativeLayout.YConstraint = "{ConstraintExpression
- Type = RelativeToView,
- ElementName = Name,
- Property = Y,
- Factor = 1,
- Constant = 35}"
- />
- <ListView x:Name="ListView" HeightRequest="150"
- RelativeLayout.YConstraint = "{ConstraintExpression
- Type = RelativeToParent,
- Property = Y,
- Factor = 1,
- Constant = 300}">
- <ListView.ItemTemplate>
- <DataTemplate>
- <TextCell Text="{Binding FileName}"
- Detail="{Binding FilePath}" />
- </DataTemplate>
- </ListView.ItemTemplate>
- </ListView>
- <Button x:Name="FilePicker"
- Text="Attach File"
- HorizontalOptions="Center"
- VerticalOptions="CenterAndExpand"
- Clicked="LoadFilePicker"
- RelativeLayout.YConstraint = "{ConstraintExpression
- Type = RelativeToView,
- ElementName = ListView,
- Property = Y,
- Factor = 1,
- Constant = 100}"/>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement