WebPartDisplayModeCancelEventArgs Classe
Definizione
Fornisce i dati per l'evento annullabile DisplayModeChanging.Provides data for the DisplayModeChanging cancelable event.
public ref class WebPartDisplayModeCancelEventArgs : System::ComponentModel::CancelEventArgs
public class WebPartDisplayModeCancelEventArgs : System.ComponentModel.CancelEventArgs
type WebPartDisplayModeCancelEventArgs = class
inherit CancelEventArgs
Public Class WebPartDisplayModeCancelEventArgs
Inherits CancelEventArgs
- Ereditarietà
Commenti
La WebPartDisplayModeCancelEventArgs classe contiene informazioni per l' DisplayModeChanging evento.The WebPartDisplayModeCancelEventArgs class contains information for the DisplayModeChanging event. La WebPartEventArgs classe fornisce l'accesso alla modalità di visualizzazione che verrà applicata al controllo Web part.The WebPartEventArgs class provides access to the display mode that will be applied to the Web Parts control. È possibile accedere alla modalità di visualizzazione NewDisplayMode tramite la proprietà.The display mode is accessed through the NewDisplayMode property.
Costruttori
WebPartDisplayModeCancelEventArgs(WebPartDisplayMode) |
Inizializza una nuova istanza della classe WebPartDisplayModeCancelEventArgs.Initializes a new instance of the WebPartDisplayModeCancelEventArgs class. |
Proprietà
Cancel |
Ottiene o imposta un valore che indica se l'evento debba essere annullato.Gets or sets a value indicating whether the event should be canceled. (Ereditato da CancelEventArgs) |
NewDisplayMode |
Ottiene o imposta la modalità di visualizzazione da applicare a un controllo Web part.Gets or sets the display mode to apply to a Web Parts control. |
Metodi
Equals(Object) |
Determina se l'oggetto specificato è uguale all'oggetto corrente.Determines whether the specified object is equal to the current object. (Ereditato da Object) |
GetHashCode() |
Funge da funzione hash predefinita.Serves as the default hash function. (Ereditato da Object) |
GetType() |
Ottiene l'oggetto Type dell'istanza corrente.Gets the Type of the current instance. (Ereditato da Object) |
MemberwiseClone() |
Crea una copia superficiale dell'oggetto Object corrente.Creates a shallow copy of the current Object. (Ereditato da Object) |
ToString() |
Restituisce una stringa che rappresenta l'oggetto corrente.Returns a string that represents the current object. (Ereditato da Object) |