e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
29 lines
905 B
C#
29 lines
905 B
C#
//------------------------------------------------------------------------------
|
|
// <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;
|
|
}
|
|
}
|
|
}
|
|
}
|