简体   繁体   中英

Resizeable custom control

I built a custom control in wpf c#. I put it in the Shell xaml of my project among with other things. I want the user to be able with mouse down and drag to change the width. Is there any control I can put my custom one in order for that to happen?

After searching I found this example which solves my problem.

http://msdn.microsoft.com/en-us/library/ms745672(v=vs.110).aspx

It is a gridsplitter between to columns and it enables resizing thr columns.

Thanks for all replies!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM