Question

Navigation Bar - Minimize Button

Posted 2 years ago by Avatar Andreas Gruber

Hello there!

I am using the the navigation bar in an touch application. The navigation bar is by default collapsed. If the user wants to pin the navigation bar to the right side of the application, he/she clicks on the minimize button.

The problem is that the button is hard to hit with the finger as it is rather small. Is there a way to customize the minimize button concerning the size?
Thank you

With best regards

Andreas.


Comments (1)

Posted 2 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Andreas,

There isn't a property for that but you could either:

1) Clone the NavigationBarHeader class default Style into yoru app's Resources and make an implicit style that targets NavigationBarHeader.  Update the Padding in the Button that is in that template to be larger.  Your company has WPF Studio so you can download the default styles from your account.

or

2) Use something like our VisualTreeHelperExtended class to get the descendant NavigationBarHeader in the NavigationBar.  Then get its descendant Button.  That should be the one you'd need to alter the padding of.


Actipro Software Support
Information The latest build of this product (2018.1 build 0671) was released 17 days ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.