This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi Andy, Apologies for the late reply. I'm guessing you want to have access to the Width and Height of the textbox from within your model classes where you can use them in calculations? I'm wondering if the best way to do this would be to create an attached property. It could be called something like SizeProvider and binds to a model object that can store the size. Within the attached property, you can listen to the size change events of the textbox, and update the size value stored in the model object. Let me know if you have further questions about this. -Jason Fauchelle |
|