Comments (1)
This is failing because of 2 reasons:
- The same instance of the collection is going to be used for ALL instances of your control. You need to use the factory version of the param:
public static readonly BindableProperty TabItemsProperty = BindableProperty.Create( nameof(TabItems), typeof(ObservableCollection<Tab>), typeof(TabulationPage), defaultValueCreator: obj => new ObservableCollection<Tab>());
- The property type for the default value is
object
so thenew()
is creating a newobject
class.
from maui.
Related Issues (20)
- Startup project crashes after splashscreen on iPadOS and .NET8.0 in release mode
- Custom entry control in tie iOS app - Ended is not firing unless focus is changed to another entry, seemingly breaking HideSoftInputOnTapped attribute HOT 1
- Privacy updates for App Store submissions HOT 3
- The "XamlCTask" task failed unexpectedly. HOT 1
- SwipeItemViews do not work.
- CollectionView does not adjust the size of a group when items in the group change size in ios and android
- Cache Memory keeps increasing when taking photo using "Microsoft.Maui.Media.MediaPicker.CapturePhotoAsync() " causing app to Crash HOT 2
- SwipeView does not honor MaximumHeightRequest in windows HOT 1
- Net 8: Page and control Unloaded events firing on iOS when navigating to another page HOT 1
- MaximumWidthRequest should not include Margin HOT 1
- Broken MSBuild on Android Build .NET MAUI HOT 1
- UIDevice.CurrentDevice.Orientation return Unknown in 8.0.20 works in 8.0.6 HOT 5
- Seeing error The program '...Program Trace' has exited with code 0 (0x0) HOT 6
- I AM ON .NET 9.0 AND STILL CANT COMPILE A SIMPLE HELLO WORLD IN C# , what kind of trash are you guys selling up there ? why cant we develop .NET apps on C# ? HOT 3
- "Timespan.Days property not found" when production app released to iOS App Store HOT 5
- Can't publish MAUI project for android HOT 3
- HttpClient on Android sends wrong content-type header with ByteArrayContent HOT 14
- Action Sheet is displayed behind the popup page HOT 1
- Button on a CollectionView's EmptyView is not clickable on Windows HOT 1
- [Android] NullReferenceException after changing background brush during StartSupportActionMode HOT 1
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 maui.