AutoCompleteBox Dropdown Width

Is it possible to set the width of the drop-down menu to a different value than the auto-computer itself?

+5
source share
2 answers

Popup is a separate part of the AutoCompleteBox, so it should be possible to expand this beyond the width of the text box.

In Blend, right-click on AutoCompleteBox and choose Edit Template> Edit Copy, giving the new template a name.

Expand the Pop-up part in the Objects and Timeline window, and the grid below. Change the width of this grid to change the width of the pop-up content, while maintaining the current width of the text field).

( , Silverlight Spy, , , Blend).

+2

Blend, AutocompleteBox MSDN App.xaml( , app.xaml).

.

0

All Articles