AGI Ui Plugins 11 Send comments on this topic.
OnCreated Method (IAgUiPluginConfigurationPageActions)
See Also  Example
Site
The site object that is used to communicate with the hosting environment.





Description

Occurs during the initialization of the configuration page.

Syntax

[Visual Basic .NET]
Public Sub OnCreated( _
   ByVal Site As IAgUiPluginConfigurationPageSite _
) 

[C#]
public void OnCreated(
IAgUiPluginConfigurationPageSite Site
);

[Managed C++]
public: void OnCreated(
IAgUiPluginConfigurationPageSite ^ Site
);

[Java]
public  onCreated(
IAgUiPluginConfigurationPageSite Site
);

[Unmanaged C++]
public: HRESULT OnCreated(
IAgUiPluginConfigurationPageSite * Site
);

Parameters

Site
The site object that is used to communicate with the hosting environment.

Remarks

OnCreated method is called by the hosting environment after the custom property page was created. The site object specified as a parameter to the method can be used to communicate with the parent control hosting the custom property page.

Example

The example demonstrates how to change the custom property page state to modified.
Change the status of the custom property page to 'Modified' Copy Code
void IAgUiPluginconfigurationPageActions.OnCreated(IAgUiPluginConfigurationPageSite site) 

    site.SetModified(true); 
}

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1