Avalonia UI
HomeSupportGitHub Repository
Search…
⌃K
Links
👋
Welcome
Documentation
⚡
Getting Started
🔄
Data Binding
🎨
Styling
🧰
Controls
📚
Templates
✏
Authoring Controls
🖱
Input
🔑
Animations
📐
Layout
📦
Distribution / Publishing
API Reference
🧾
Namespaces
Guides
🐣
Basics
🤿
Deep dives
👩💻
👩💻 Developer Guides
Tutorials
📋
ToDo List App
📻
Music Store App
🕸️ Running in the Browser
📱
Developing for Mobile
Misc
👪
Community
🖥
WPF Developers Tips
Styling
DataTemplates
HierachicalDataTemplate
UIElement, FrameworkElement and Control
DependencyProperty
Grid
ItemsControl
Tunnelling Events
Class Handlers
PropertyChangedCallback
RenderTransforms and RenderTransformOrigin
📋
Projects that are using Avalonia
❔
FAQ
Powered By GitBook

PropertyChangedCallback

Listening to changes on DependencyProperties in WPF can be complex. When you register a DependencyProperty you can supply a static PropertyChangedCallback but if you want to listen to changes from elsewhere things can get complicated and error-prone.
In Avalonia, there is no PropertyChangedCallback at the time of registration, instead a class listener is added to the control's static constructor in much the same way that event class listeners are added.
Previous
Class Handlers
Next
RenderTransforms and RenderTransformOrigin
Last modified 1yr ago
Export as PDF
Copy link
Edit on GitHub