locked
TextBox.Header template

    Question

  • In Universal App – placing horizontally TextBox and ComboBox with headers – Height of input boxes is different – looking into original, provided generic.xaml TextBox Style – HeaderContentPresenter is different than in ComboBox – for TextBox.Header ContentPresenter property values are hard coded.


    Ted_M

    Thursday, December 11, 2014 3:20 PM

Answers

  • In Universal App – placing horizontally TextBox and ComboBox with headers – Height of input boxes is different – looking into original, provided generic.xaml TextBox Style – HeaderContentPresenter is different than in ComboBox – for TextBox.Header ContentPresenter property values are hard coded.


    Hi Ted_M,

    Does you need to override the height of input box in this two control? If so, you just need to copy a control template and then edit the height property in the control template. For more information, refer to http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465374.aspx.

    Please feel free to let me know if you have any concerns.

    Regards,



    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Friday, December 12, 2014 6:28 AM
    Moderator