e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="WebPartMovingEventArgs.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Web.UI.WebControls.WebParts {
|
|
|
|
using System;
|
|
using System.ComponentModel;
|
|
|
|
public class WebPartMovingEventArgs : WebPartCancelEventArgs {
|
|
private WebPartZoneBase _zone;
|
|
private int _zoneIndex;
|
|
|
|
public WebPartMovingEventArgs(WebPart webPart, WebPartZoneBase zone, int zoneIndex) : base(webPart) {
|
|
_zone = zone;
|
|
_zoneIndex = zoneIndex;
|
|
}
|
|
|
|
public WebPartZoneBase Zone {
|
|
get {
|
|
return _zone;
|
|
}
|
|
set {
|
|
_zone = value;
|
|
}
|
|
}
|
|
|
|
public int ZoneIndex {
|
|
get {
|
|
return _zoneIndex;
|
|
}
|
|
set {
|
|
_zoneIndex = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|