# WillCreateChild Method

## Overloads

| [WillCreateChild(GenericObjectProperties, GenericObjectProperties)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.WillCreateChild.htm#Qlik_Engine_GenericObject_WillCreateChild_Qlik_Engine_GenericObjectProperties_Qlik_Engine_GenericObjectProperties_) |  | Callback before create |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.WillCreateChild.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.WillCreateChild.htm)

## WillCreateChild(GenericObjectProperties, GenericObjectProperties)

Callback before create

### Declaration

```

          protected virtual void WillCreateChild(GenericObjectProperties parentGenericObjectProperties, GenericObjectProperties genericObjectProperties)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [GenericObjectProperties](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObjectProperties.htm) | parentGenericObjectProperties | Properties of the parent object |
| [GenericObjectProperties](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObjectProperties.htm) | genericObjectProperties | Properties of the child object to create |