9

When you know your product sucks and even you won't support it. Too bad for those two windows phone users left in the world.

Working on a Project. Forced to use xaml I hate xaml. C# is so much more efficient/ easier. Now at least I have an excuse
. 😤

Comments
  • 0
    Why do you hate XAML?
    I've found it to be the best UI making language so far.
    Have you looked into binding, it's one of the most amazing things 😉
  • 0
    @ geoxion.

    It goes from xaml to c# to Java for Android . You will need to define your button click event in C# anyway. So why not just use C# you actually have more control over the design and function and it is a more elegant solution and faster if you're very familiar with C#.

    Bam! Just like that clean neat and all in one place.

    public CodeButtonClickPage ()
    { Title = "Code Button Click"; Label label = new Label { Text = "Click the Button below", FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label)), VerticalOptions = LayoutOptions.CenterAndExpand, HorizontalOptions = LayoutOptions.Center }; Button button = new Button { Text = "Click to Rotate Text!", VerticalOptions = LayoutOptions.CenterAndExpand, HorizontalOptions = LayoutOptions.Center }; button.Clicked += async (sender, args) => await label.RelRotateTo(360, 1000); Content = new StackLayout { Children = { label, button } };
  • 0
    @Vake93 sorry it was a quick copy paste job. Text wrapping is how Dev rant takes text in so everything is slopped together if you were to copy it from there and paste it into an IDE it would probably look more appealing to you. Considering I'm not getting paid to put code into Dev rant I didn't take the time to put the nice spaces in to make it look pretty.

    😔
Add Comment