Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WPF Intercept dependency property
- protected override void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)
- {
- // update your property here
- base.OnItemsSourceChanged(oldValue, newValue);
- }
- if(e.Property.Name = "DataSource")
- {
- // Invoke my new method
- }
Add Comment
Please, Sign In to add comment