Currently there is no way to handle the DP property changed events on the Collection/Item dependency property on the following essential SDK classes (there maybe more classes with similar situations):
TrackCollection
AlbumCollection
ArtistCollection
PlaylistCollection
TrackItem
AlbumItem
ArtistItem
PlaylistItem
(Some of them might already have the fix in them)
Since DPs cannot be virtual they cannot be overridden like normal properties , to achieve this currently we are (kind of) overriding the existing DP properties using the new keyboard which hides the parent DP and is not an ideal way to do it.
Describe the proposed change
To fix this each base class DP should provide virtual callback of the Dependency property, in this way this callback can be overriden by shells without hiding the base class DPs using the new keyword
Describe the problem
Currently there is no way to handle the DP property changed events on the Collection/Item dependency property on the following essential SDK classes (there maybe more classes with similar situations):
Since DPs cannot be virtual they cannot be overridden like normal properties , to achieve this currently we are (kind of) overriding the existing DP properties using the
new
keyboard which hides the parent DP and is not an ideal way to do it.Describe the proposed change
To fix this each base class DP should provide virtual callback of the Dependency property, in this way this callback can be overriden by shells without hiding the base class DPs using the
new
keywordAlternatives
No response
Additional info
No response
Help us help you
No response