Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartAddingEventArgs.cs / 1 / WebPartAddingEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls.WebParts {
using System;
using System.ComponentModel;
using System.Security.Permissions;
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class WebPartAddingEventArgs : WebPartCancelEventArgs {
private WebPartZoneBase _zone;
private int _zoneIndex;
public WebPartAddingEventArgs(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;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DomNameTable.cs
- WeakRefEnumerator.cs
- WindowsToolbarItemAsMenuItem.cs
- followingsibling.cs
- TagPrefixAttribute.cs
- CaseCqlBlock.cs
- ContentElement.cs
- QilXmlWriter.cs
- GridViewUpdatedEventArgs.cs
- IsolationInterop.cs
- _SslStream.cs
- LinkLabel.cs
- AppearanceEditorPart.cs
- FixedLineResult.cs
- HtmlInputText.cs
- basecomparevalidator.cs
- WindowsRichEdit.cs
- ServiceMetadataPublishingElement.cs
- DataViewManager.cs
- ValueUtilsSmi.cs
- UIElementParagraph.cs
- UIPropertyMetadata.cs
- XmlILOptimizerVisitor.cs
- TraceEventCache.cs
- DataGridViewButtonColumn.cs
- ObjectPersistData.cs
- FormCollection.cs
- HexParser.cs
- DocumentAutomationPeer.cs
- ItemList.cs
- CallbackHandler.cs
- SplitContainer.cs
- SrgsElementFactory.cs
- TextDecorationCollection.cs
- XmlSchema.cs
- BufferedWebEventProvider.cs
- SiteMap.cs
- WebPartMenuStyle.cs
- MatcherBuilder.cs
- ConnectionConsumerAttribute.cs
- CodeTypeMember.cs
- httpapplicationstate.cs
- WorkflowRuntimeSection.cs
- XPathCompileException.cs
- WindowsListViewSubItem.cs
- SafeCertificateStore.cs
- TabControl.cs
- CodeEntryPointMethod.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- FileSystemEventArgs.cs
- WorkflowOwnershipException.cs
- MimeMapping.cs
- JsonObjectDataContract.cs
- RowToFieldTransformer.cs
- StateManagedCollection.cs
- XmlDocument.cs
- FormViewRow.cs
- ProviderConnectionPointCollection.cs
- Random.cs
- WebPartConnectVerb.cs
- RtfControlWordInfo.cs
- FileLogRecordStream.cs
- QualifierSet.cs
- EncryptedReference.cs
- SqlExpressionNullability.cs
- nulltextnavigator.cs
- WorkflowMessageEventArgs.cs
- RelationshipFixer.cs
- ISFClipboardData.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- LateBoundBitmapDecoder.cs
- DeflateStreamAsyncResult.cs
- RelationshipWrapper.cs
- XMLSchema.cs
- StorageMappingItemCollection.cs
- StreamGeometry.cs
- LinkedList.cs
- WebPartManagerInternals.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- Button.cs
- DnsPermission.cs
- DynamicDocumentPaginator.cs
- GridViewSortEventArgs.cs
- ConfigurationSectionGroup.cs
- DBDataPermission.cs
- LocationSectionRecord.cs
- RichTextBoxConstants.cs
- DataGridViewAdvancedBorderStyle.cs
- HtmlInputControl.cs
- ListView.cs
- NavigationCommands.cs
- SByteStorage.cs
- validationstate.cs
- AlphabeticalEnumConverter.cs
- NotifyParentPropertyAttribute.cs
- EventWaitHandleSecurity.cs
- COM2Enum.cs
- BuildProvidersCompiler.cs
- EntityKeyElement.cs
- FloaterBaseParaClient.cs