linux-packaging-mono/mcs/class/referencesource/System.Web/UI/WebParts/WebPartDisplayModeCancelEventArgs.cs

29 lines
905 B
C#
Raw Normal View History

//------------------------------------------------------------------------------
// <copyright file="WebPartDisplayModeCancelEventArgs.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace System.Web.UI.WebControls.WebParts {
using System;
using System.ComponentModel;
public class WebPartDisplayModeCancelEventArgs : CancelEventArgs {
private WebPartDisplayMode _newDisplayMode;
public WebPartDisplayModeCancelEventArgs(WebPartDisplayMode newDisplayMode) {
_newDisplayMode = newDisplayMode;
}
public WebPartDisplayMode NewDisplayMode {
get {
return _newDisplayMode;
}
set {
_newDisplayMode = value;
}
}
}
}