0
Answer

disabling event and data binding

Ask a question
programmer

programmer

20y
2k
1
Hi, I have a problem with a size of a control : 1. i add a data binding to a size of a control to another parent control 2. but I want that the size, which is binded, to be reduced 5 points. 3. so -> child control size = parent control size - 5 Does some one know, how to make that with data binding ? or maybe if we're able to disable event, i could do it so that in the event, as the control is resized, i'll reduced the size by 5. But therefore i need to disable the size_changed event, so that this method doesn't called recursively. Thanks for any help. Donny