1
Vote

Make DragHandleTemplate wider

description

In the sample for the DragHandleTemplate property, we see an example which starts with the following Canvas definition:
<Canvas Width="52" Height="48"
We can change these values and make the height of the drag handle taller as required, but this isn't possible for the width. It seems, the width is limited by 52 pixels, and we cannot make it wider.

As I understood after analyzing the source, there is no way to make the drag handle wider without changing the control's source code (Generic.xaml, the width of 52 is defined explicitly there). It would be nice to have an ability to calculate this width dynamically based on the custom implementation of the DragHandleTemplate property value - or, at least, have a new property for that.

comments