Comments (3)
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. Thank you!
Open similar issues:
- [WinUI3] Accessing resources of a control throws exception (#8775), similarity score: 0.73
Closed similar issues:
- App crashes when set Icon on a resource dictionary. (#7995), similarity score: 0.78
- Parameter is incorrect error when adding FontIcon already in the Visual Tree (#8056), similarity score: 0.74
- Crashes when trying to use InfoBadge in a grid in ListDetailsView item (#8006), similarity score: 0.73
- SymbolThemeFontFamily not working? (#5992), similarity score: 0.73
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from microsoft-ui-xaml.
Documented as not supported:
XAML resources must be shareable
For an object to exist in a ResourceDictionary, that object must be shareable.
Being shareable is required because, when the object tree of an app is constructed and used at run time, objects cannot exist at multiple locations in the tree. Internally, the resource system creates copies of resource values to use in the object graph of your app when each XAML resource is requested.
A ResourceDictionary and Windows Runtime XAML in general supports these objects for shareable usage:
- Styles and templates (Style and classes derived from FrameworkTemplate)
- Brushes and colors (classes derived from Brush, and Color values)
- Animation types including Storyboard
- Transforms (classes derived from GeneralTransform)
- Matrix and Matrix3D
- Point values
- Certain other UI-related structures such as Thickness and CornerRadius
- XAML intrinsic data types
from microsoft-ui-xaml.
That's unfortunate. Thanks for the link!
from microsoft-ui-xaml.
Related Issues (20)
- Wrong cursor displayed in Flyouts (no I-Beam in TextBox) HOT 2
- PipsPager keyboard navigation past first or last pip HOT 3
- Proposal: Method Based Administrator elevation (MSIX Package)
- When dragging and dropping ListView items, use `e.Data.SetDataProvider (StandardDataFormats. StorageItems, MyDataProviderHandle)` ; Unable to implement delayed data provision. HOT 1
- x:Bind with Mode=OneTime triggers multiple times HOT 2
- Focus does not move into the frame after navigating to one from a navigation view. HOT 2
- Setting true to NavigationFailedEventArgs.Handled is not respected
- Component Xaml file missing from app directory HOT 4
- Can not Build Project due to error message APPX110 Payload contains two or more files with the same destination path '.pdb'. HOT 3
- The Print UI dialogue is not shown on the Windows platform when the "EntryPoint" is set as "Windows.PartialTrustApplication" in Package.appxmanifest. HOT 2
- The first time "microsoft." is typed into a TextBox control, it will be capitalized for no reason HOT 4
- Multiple x:Bind to Name fails to build HOT 4
- While scrolling through the rows in the DataGrid, the value of the ComboBox element in the DataGridTemplateColumn CellTemplate is not updated correctly HOT 2
- Scrolling through very large number of items in ItemsRepeater + virtualized Layout + ScrollView causes blank frames HOT 2
- Command Bar - Issue with the Z - Index flow when "More Options" flyout is open. HOT 1
- Unexpected items were obtained in a subclass of ItemsControl HOT 1
- [ListView] The app crash when try to use the right click during a reorder operation. HOT 1
- WinUI 3 Acrylic effect not working properly over MediaPlayerElement HOT 2
- Dragging a file from Explorer over top of the application window will launch another process HOT 1
- Proposal: Improve exception message for incorrect bound type using x:DataType
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microsoft-ui-xaml.