Quintiq file version 2.0
#parent: CustomDrawComponentRoutingConfigurator/CustomDrawDataLayerRoutingConfiguratorBackground
Response OnDetermineRegion (
  Routing object
) id:Response_CustomDrawComponentRoutingConfigurator_CustomDrawDataLayerRoutingConfiguratorBackground_OnDetermineRegion
{
  #keys: '[124808.0.1265701801]'
  Body:
  [*
    // Determine region for canvas
    rcv := DataHolderRCView.Data();
    width := maxvalue( rcv.OperationWidth(), rcv.RoutingStepMinimumWidth(), object.BackgroundRegionHeight() );
    this.AddRegion( 0, 0, width, object.BackgroundRegionHeight() );
  *]
  DefinitionID: 'Responsedef_CustomDrawDataLayer_OnDetermineRegion'
  Precondition:
  [*
    return not isnull( DataHolderRCView.Data() );
  *]
}
