Databinding controlspecific code to partial class