Редагувати

Поділитися через


ListView.OnPagePropertiesChanged(EventArgs) Method

Definition

Raises the PagePropertiesChanged event.

protected:
 virtual void OnPagePropertiesChanged(EventArgs ^ e);
protected virtual void OnPagePropertiesChanged (EventArgs e);
abstract member OnPagePropertiesChanged : EventArgs -> unit
override this.OnPagePropertiesChanged : EventArgs -> unit
Protected Overridable Sub OnPagePropertiesChanged (e As EventArgs)

Parameters

e
EventArgs

The event data.

Remarks

The PagePropertiesChanged event is raised when the page properties change, after the ListView control sets the new values by using the SetPageProperties method. This enables you to perform a custom routine, such as a custom paging operation, whenever this event occurs.

Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

The OnPagePropertiesChanged method also enables derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Notes to Inheritors

When you override OnPagePropertiesChanged(EventArgs) in a derived class, call the base class' OnPagePropertiesChanged(EventArgs) method so that registered delegates receive the event.

Applies to

See also