Ho to implement expand in TreeView on a single click?

Does anybody know how to implement expand in TreeView control on a single click? I am using MouseButton event but can't disable expand on double click. When they work together everything get's messed up. Any thoughts how to do it right? Thanks.

Loader.
Up arrow icon