Edit

Share via


EditorPart.OnPreRender(EventArgs) Method

Definition

Raises the PreRender event.

protected public:
 override void OnPreRender(EventArgs ^ e);
protected internal override void OnPreRender (EventArgs e);
override this.OnPreRender : EventArgs -> unit
Protected Friend Overrides Sub OnPreRender (e As EventArgs)

Parameters

e
EventArgs

An EventArgs that contains the event data.

Exceptions

The EditorZoneBase that contains the EditorPart control is null.

Remarks

In addition to calling the base OnPreRender method, the OnPreRender method also checks the Display property. If the value is false, meaning that the control should not be displayed, then the Visible property is also set to false.

Applies to

See also