Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / 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. //------------------------------------------------------------------------------ //// 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
- SymbolEqualComparer.cs
- BitmapEffectInputConnector.cs
- StickyNoteContentControl.cs
- BigInt.cs
- UnsafeNativeMethods.cs
- iisPickupDirectory.cs
- SmtpFailedRecipientsException.cs
- BrowserTree.cs
- Matrix3D.cs
- TraceLevelStore.cs
- HandleRef.cs
- SrgsRule.cs
- NetCodeGroup.cs
- MsmqInputChannelBase.cs
- CellIdBoolean.cs
- MissingSatelliteAssemblyException.cs
- Button.cs
- Metadata.cs
- DataGridTextBox.cs
- PerformanceCounterPermissionEntryCollection.cs
- Privilege.cs
- LogicalExpr.cs
- Table.cs
- PeerNameRecordCollection.cs
- HandlerWithFactory.cs
- GridViewColumnHeaderAutomationPeer.cs
- TextClipboardData.cs
- XsltArgumentList.cs
- CryptoKeySecurity.cs
- InkPresenter.cs
- ListItemConverter.cs
- BitmapEffectInput.cs
- TypeDelegator.cs
- SqlProviderServices.cs
- Root.cs
- ListenerSessionConnectionReader.cs
- BoolExpr.cs
- StrokeCollectionDefaultValueFactory.cs
- Model3DGroup.cs
- TrustExchangeException.cs
- GridSplitter.cs
- WebPartEditorCancelVerb.cs
- HyperLinkDesigner.cs
- BitmapEditor.cs
- oledbconnectionstring.cs
- OleStrCAMarshaler.cs
- TdsParserHelperClasses.cs
- OracleSqlParser.cs
- CommentEmitter.cs
- SwitchElementsCollection.cs
- LogStore.cs
- UnsafeNativeMethods.cs
- RadioButtonList.cs
- DataBindingList.cs
- EncryptedData.cs
- EUCJPEncoding.cs
- SharedPersonalizationStateInfo.cs
- StatusBarDesigner.cs
- ContainerControl.cs
- NGCPageContentCollectionSerializerAsync.cs
- FollowerQueueCreator.cs
- WhitespaceRuleLookup.cs
- ControlDesigner.cs
- FontWeights.cs
- HitTestWithPointDrawingContextWalker.cs
- BaseValidator.cs
- PageThemeCodeDomTreeGenerator.cs
- DirtyTextRange.cs
- WorkflowServiceHostFactory.cs
- ToolStripPanelRenderEventArgs.cs
- ListBoxItem.cs
- GCHandleCookieTable.cs
- DecimalConverter.cs
- _Rfc2616CacheValidators.cs
- FormsAuthenticationUserCollection.cs
- Helper.cs
- MutexSecurity.cs
- TableAdapterManagerMethodGenerator.cs
- Int32Rect.cs
- Socket.cs
- FilterQuery.cs
- MultipartIdentifier.cs
- LightweightCodeGenerator.cs
- TreeViewHitTestInfo.cs
- ErrorEventArgs.cs
- UseLicense.cs
- xml.cs
- FigureHelper.cs
- DataTableNewRowEvent.cs
- BaseDataBoundControl.cs
- Identity.cs
- Publisher.cs
- CodeComment.cs
- NativeMethods.cs
- DebugHandleTracker.cs
- ParameterModifier.cs
- FilterEventArgs.cs
- Pkcs7Signer.cs
- ConfigurationException.cs
- ServerValidateEventArgs.cs