Giter Club home page Giter Club logo

Comments (3)

github-actions avatar github-actions commented on August 25, 2024 1

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

from maui.

ninachen03 avatar ninachen03 commented on August 25, 2024

Verified this issue with Visual Studio 17.11.0 Preview 1.1(8.0.40 & 8.0.21 & 8.0.3). Can repro it.
image
This shouldn't be a problem
The definition of Border already exists in Styles.Xaml file in line 16. If you need to add something else, you need to add x:Key

from maui.

david-maw avatar david-maw commented on August 25, 2024

You're absolutely correct, I've no idea how I missed that, but thanks, I can just edit the style that's there rather than incorrectly trying to add one.

That means the bug is not about a default Border style at all. The actual bug is that if you try and set a default style for the same TargetType twice you get a weird run time error rather than what should be a straightforward compile time error.

Interestingly I also noted that the list of TargetType vlues in the generated Styles.Xaml is almost in Alphabetical Order, as if it started out that way and a few things got inserted in random places.

from maui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.