WPFwiki, wpf, wiki, .net 3.0, windows presentation foundation, FAQ, free resources, solution, development, microsoft Home of the world's largest WPF FAQ
Edit

Category

Fundamentals

Edit

Question

How do I declare a read-only attached property?

Edit

Answer

It's the same thing as declaring a read-only property, except that you need to call the DependencyProperty.RegisterAttachedReadOnly() method instead of DependencyProperty.RegisterReadOnly().

Edit

Related Links

How to declare a read-only dependency property

All content is Copyright ©2007 Xceed Software Inc. unless otherwise indicated. See the Terms of Service. Contributors must read and agree to the Contribution Policy. WPFwiki is brought to you by Xceed, makers of the powerful yet free Xceed DataGrid for WPF.