This is a migrated thread and some comments may be shown as answers.

Add scrollbars for mail merge fields drop-down

1 Answer 39 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 02 Apr 2014, 07:11 PM
Is it possible to add scroll bars to the mail merge field drop-down box? Our mail merge source can have 15+ fields in it. When a user is editing RTB content and clicks the Insert Merge Field button the list pops up but half the fields are not visible and there's no way to scroll the list. Does this require handling the insert command and customizing the drop-down? Even turning on CanVerticallyScroll doesn't seem to help.

Steve

1 Answer, 1 is accepted

Sort by
0
Steven
Top achievements
Rank 1
answered on 04 Apr 2014, 03:11 PM
Just to close out on this in case anyone hits the same issue. We ended up just customizing the merge fields drop-down. Instead of using a StackPanel to hold the children, we replaced it with a ListBox and added the fields to its Items collection. If you do this, make sure you add width to the drop-down to compensate for the scroll bars or you'll end up with horizontal bars too.
Tags
RichTextBox
Asked by
Steven
Top achievements
Rank 1
Answers by
Steven
Top achievements
Rank 1
Share this question
or