Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection-Type Dependency Properties lacks working example #1142

Closed
SetTrend opened this issue Aug 22, 2021 · 4 comments
Closed

Collection-Type Dependency Properties lacks working example #1142

SetTrend opened this issue Aug 22, 2021 · 4 comments
Labels
doc-enhancement Improve the current content [org][type][category] dotnet-framework/svc Pri2 Medium priority wpf/subsvc

Comments

@SetTrend
Copy link

SetTrend commented Aug 22, 2021

The below mentioned documentation page only provides examples for non-working code. However, It lacks the most important part: A working example of how to apply a FreezableCollection<T>.

How is a DependencyProperty created using FreezableCollection<T>?

Please add a working example of how to apply FreezableCollection<T>.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@adegeo
Copy link
Contributor

adegeo commented Aug 24, 2021

Hey there! I'll add this into the planning work for the .NET 5/6 stuff. We're not really updating .NET Framework content with new stuff right now.

@adegeo adegeo added the doc-enhancement Improve the current content [org][type][category] label Aug 24, 2021
@dotnet-bot dotnet-bot removed the ⌚ Not Triaged Not triaged label Aug 24, 2021
@SetTrend
Copy link
Author

Thanks, Andy!

Have a nice day,
Axel

@adegeo adegeo mentioned this issue Sep 20, 2021
20 tasks
@adegeo
Copy link
Contributor

adegeo commented Oct 21, 2021

@dotnet/wpf-developers Do any of you have an example of where FreezableCollection makes sense? I would love to see "Hey you used List, look at how its broken with databinding. Here is the code converted to FreezableCollection and now it works"

@adegeo
Copy link
Contributor

adegeo commented Oct 22, 2021

We added a small example of creating a freezable collection dependency property. We added some description to it to hopefully explain some of the ideas around it. The API article for it though, in the remarks, has a more thorough explanation. I don't think we'll add anything further on this unless the WPF devs come back with some more info. I'll close this for now.

@adegeo adegeo closed this as completed Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-enhancement Improve the current content [org][type][category] dotnet-framework/svc Pri2 Medium priority wpf/subsvc
Projects
None yet
Development

No branches or pull requests

4 participants