The timeRangeRightClickHandling property (string) sets the default action for time range double click.
"ContextMenu"
dp.timeRangeDoubleClickHandling = "Disabled";