c# - User control child control properties -
this simple do, i'm having brain fart (being sleep deprived you).
i've got wpf user control , want expose property (as read only) of 1 of child controls outside world can bind it.
whats best way?
i think should expand on this, may more fiddly gave impression of. i've got grid column in of width "*". when contents have been loaded want able actualwidth of column , pass out of usercontrol read property (so can bind control same value , have match size).
i'm not sure how set dependency property properly.
Comments
Post a Comment