[Bug] How to create Custom Entry #11304
Replies: 1 comment 1 reply
-
Hi @Shraddha996 you might be able to find something via NuGet/GitHub that already does this, but I would suggest first trying to make a composite control (commonly also called a user control). Basically start by adding a <Grid>
<Frame>
<Entry />
<Label Text="EMAIL*" />
</Frame>
</Grid> For styling:
Expose as a bindable property the things you need, probably just the Entry Text. Then in your ContentPage you just use it like any other custom control by adding the project namespace. <ContentPage
xmlns:custom="your namespace / assembly info">
<StackLayout>
<custom:CustomerEntry Text="{Binding Email}" />
</StackLayout>
</ContentPage This is all psuedo-code of course. I've done this several times... though I can't think of an Entry off the top of my head. Here are some custom controls in an older project: https://github.com/davidortinau/ProfileLayout/tree/master/ProfileLayout/Views |
Beta Was this translation helpful? Give feedback.
-
Hello,
As I am new to this platform
I want to create an Entry Box like this with header Field Name and I almost tried everything but unable to find any proper solution
Please Help!!!!!!!!
Beta Was this translation helpful? Give feedback.
All reactions