Shiraz S Kaderuppan
Shiraz S Kaderuppan

Reputation: 68

How to change the position of the CommandBar Overflow area in VS2015?

May I enquire as to how the position of the CommandBar Overflow area (when the 'see more' ellipsis button is clicked) may be changed to reside below the CommandBar (rather than above it) when the CommandBar control is positioned at the bottom of the page?

Thanks.

Upvotes: 0

Views: 305

Answers (2)

Shiraz S Kaderuppan
Shiraz S Kaderuppan

Reputation: 68

After testing my code, I derived a potential way to resolve this problem as follows:

You'd need to encapsulate the XAML code for the CommandBar within a RelativePanel, then set the CommandBar height to the required dimension and align it with respect to the bottom of the said Panel.

Upvotes: 0

Tamás Deme
Tamás Deme

Reputation: 2228

I've been trying hard to figure out the logic behind that but failed... What I did to force it open on the side I want is to edit the control's template and change the visual states relevant to the wrong side to the correct ones. (Eg. replace the $StateOpenUp code with the $StateOpenDown if you want it to always open down.)

Upvotes: 1

Related Questions