## OnClosed

### Description

This callback is fired when a user clicks the Close button (or the equivalent shortcut) on the property page.

To access the property page from the callback code, use the PPG object.

### Applies To

Custom Properties implemented in a scripting language.

### Syntax

    function <property_name>_OnClosed()

    {

    	...

    }

    def <property_name>_OnClosed():

    	...

    Function <property_name>_OnClosed()

    	...

    End Function

    sub <property_name>_OnClosed

    {

    	...

    }

<property_name> is the name specified in the call to PluginRegistrar.RegisterProperty, with any spaces converted to underscores. For example, if you register a property with the name "My Property", the callback function names start with "My_Property".

### See Also

- Define
- DefineLayout
- OnChanged
- OnClicked
- OnInit
- OnTab
- PPGEvent
- OnBeginValueChange (GridData)
- OnEndValueChange (GridData)
- OnBeginSelectionChange (GridData)
- OnEndSelectionChange (GridData)
- OnButtonClicked (GridData)
- OnHeaderDoubleClick (GridData)
- OnContextMenuInit (GridData)
- OnContextMenuSelected (GridData)
- Property Callbacks