ITrackingPersonalizable.EndLoad Method

Definition

Represents the phase after personalization data has been applied to a control.

C#
public void EndLoad();

Examples

The following code example demonstrates using the EndLoad method. For a complete, working code example that consists of a control and an .aspx page, see the IPersonalizable class overview topic.

C#
void ITrackingPersonalizable.EndLoad()
{
    _loading = false;
    _trackingLog += "2. EndLoad\r\n";
}

Remarks

The Web Parts control set calls this method after personalization data has been applied to the control. A control that tracks its change state should use this method to reset its internal state to indicate that subsequent property-setting methods should call SetPersonalizationDirty. By the time the EndLoad method is called, the Web Parts control set has completed any application of personalization data to the control. As a result, subsequent changes to the control's state should be considered valid indicators that the control has changed (is "dirty").

Note

This method is also called when personalization data is applied after importing a Web Parts control.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1