WebPartCancelEventArgs Classe

Definição

Fornece dados para o evento SelectedWebPartChanging, o evento WebPartClosing e o evento WebPartDeleting.Provides data for the SelectedWebPartChanging event, WebPartClosing event, and WebPartDeleting event.

public ref class WebPartCancelEventArgs : System::ComponentModel::CancelEventArgs
public class WebPartCancelEventArgs : System.ComponentModel.CancelEventArgs
type WebPartCancelEventArgs = class
    inherit CancelEventArgs
Public Class WebPartCancelEventArgs
Inherits CancelEventArgs
Herança
WebPartCancelEventArgs
Derivado

Comentários

A WebPartCancelEventArgs classe contém informações para vários eventos de Web Parts diferentes que podem ser cancelados.The WebPartCancelEventArgs class contains information for several different Web Parts events that can be canceled. Esses eventos incluem os SelectedWebPartChanging WebPartClosing eventos, e WebPartDeleting .These events include the SelectedWebPartChanging, WebPartClosing, and WebPartDeleting events. A WebPartCancelEventArgs classe fornece acesso ao controle de Web Parts envolvido no evento.The WebPartCancelEventArgs class provides access to the Web Parts control involved in the event. O controle de Web Parts é acessado por meio da WebPart propriedade.The Web Parts control is accessed through the WebPart property.

Construtores

WebPartCancelEventArgs(WebPart)

Inicializa uma nova instância da classe WebPartCancelEventArgs.Initializes a new instance of the WebPartCancelEventArgs class.

Propriedades

Cancel

Obtém ou define um valor que indica se o evento deve ser cancelado.Gets or sets a value indicating whether the event should be canceled.

(Herdado de CancelEventArgs)
WebPart

Obtém o controle de Web Parts envolvido no evento cancelável.Gets the Web Parts control involved in the cancelable event.

Métodos

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Aplica-se a