You will need to use GLib.ConnectBeforeAttribute on your handler to handle the TreeView.ButtonPressEvent, otherwise the widget will handle the event internally and your handler will not be called.
Example:
[GLib.ConnectBefore] void OnTreeViewButtonPressEvent(object sender, ButtonPressEventArgs e) { if (e.Type == Gdk.EventType.TwoButtonPress) {
source share