How based on card sale and credit received total sale will display?

SwagatikaSwagatika Member ✭✭


I Want to get the data of Card sale, based on total sale Entered by User But i am not getting How to write the logic .

Best Answer

Answers

  • ColeXColeX Member, Xamarin Team Xamurai

    If i understand correctly , you could create binding between two entry .

    Code

    <StackLayout Margin="50">
        <Entry x:Name="entry1" Placeholder="Total Sale"/>
        <Entry BindingContext="{x:Reference entry1}" Text="{Binding Text}" />
    </StackLayout>
    

  • SwagatikaSwagatika Member ✭✭

    Actually I want to write [sale=total sale-credit received ] Logic .Inside On- text -canged event handler . So i am not getting how to write .
    iciciCardtotalsal.TextChanged += (object sender, TextChangedEventArgs e) =>
    {
    };

  • SwagatikaSwagatika Member ✭✭

    Thank you It is working Now.

Sign In or Register to comment.