Navigation Bar - Minimize Button

Navigation for WPF Forum

Posted 8 years ago by Andreas Gruber
Version: 16.1.0632
Avatar

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 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

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

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.