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