Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / ListViewContainer.cs / 1 / ListViewContainer.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Web.UI; namespace System.Web.UI.WebControls { internal class ListViewContainer : Control, INamingContainer { [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers", MessageId = "1#")] protected override bool OnBubbleEvent(object source, EventArgs e) { if (e is ListViewCommandEventArgs) { RaiseBubbleEvent(source, e); return true; } if (e is CommandEventArgs) { // todo: should we bubble events from non-item containers? ListViewCommandEventArgs args = new ListViewCommandEventArgs(null, source, (CommandEventArgs)e); RaiseBubbleEvent(this, args); return true; } return false; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Web.UI; namespace System.Web.UI.WebControls { internal class ListViewContainer : Control, INamingContainer { [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers", MessageId = "1#")] protected override bool OnBubbleEvent(object source, EventArgs e) { if (e is ListViewCommandEventArgs) { RaiseBubbleEvent(source, e); return true; } if (e is CommandEventArgs) { // todo: should we bubble events from non-item containers? ListViewCommandEventArgs args = new ListViewCommandEventArgs(null, source, (CommandEventArgs)e); RaiseBubbleEvent(this, args); return true; } return false; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ColorTransformHelper.cs
- ProfileProvider.cs
- MethodSet.cs
- ClientBuildManagerCallback.cs
- Preprocessor.cs
- DataContractAttribute.cs
- SequentialUshortCollection.cs
- Matrix.cs
- DesignerActionHeaderItem.cs
- BooleanFacetDescriptionElement.cs
- GenericQueueSurrogate.cs
- IIS7WorkerRequest.cs
- GregorianCalendarHelper.cs
- FastPropertyAccessor.cs
- Predicate.cs
- EntitySet.cs
- HitTestFilterBehavior.cs
- InvokeCompletedEventArgs.cs
- RewritingPass.cs
- HelpInfo.cs
- DoWorkEventArgs.cs
- Win32.cs
- ReadOnlyAttribute.cs
- XmlSchema.cs
- EntityDataSourceContainerNameItem.cs
- SecurityDocument.cs
- AuthenticodeSignatureInformation.cs
- Errors.cs
- DataListItemCollection.cs
- NetworkAddressChange.cs
- AliasExpr.cs
- XmlCollation.cs
- ScrollChrome.cs
- Models.cs
- MatrixKeyFrameCollection.cs
- WindowsTokenRoleProvider.cs
- SqlDataSourceTableQuery.cs
- StorageTypeMapping.cs
- TextPatternIdentifiers.cs
- PropertyMetadata.cs
- StoragePropertyMapping.cs
- TextBlockAutomationPeer.cs
- GeneralTransform3DTo2DTo3D.cs
- DataGridViewComboBoxEditingControl.cs
- ManagedCodeMarkers.cs
- ResourceWriter.cs
- ListCommandEventArgs.cs
- SequentialOutput.cs
- AffineTransform3D.cs
- PersistChildrenAttribute.cs
- DebugView.cs
- PreservationFileReader.cs
- AsymmetricSecurityProtocolFactory.cs
- ValidationResults.cs
- XmlSchemaParticle.cs
- ProcessModuleDesigner.cs
- Scene3D.cs
- mongolianshape.cs
- WinFormsComponentEditor.cs
- DesignTimeParseData.cs
- WebServiceData.cs
- ObjectAssociationEndMapping.cs
- XmlObjectSerializerReadContextComplex.cs
- VerificationAttribute.cs
- WCFServiceClientProxyGenerator.cs
- ReachFixedDocumentSerializerAsync.cs
- SecureUICommand.cs
- ISAPIRuntime.cs
- ContainerParagraph.cs
- TextEditorThreadLocalStore.cs
- DeleteHelper.cs
- PLINQETWProvider.cs
- DispatcherSynchronizationContext.cs
- DbgUtil.cs
- DataGridViewColumnStateChangedEventArgs.cs
- SqlAliaser.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- Function.cs
- GatewayDefinition.cs
- StorageRoot.cs
- ResourcePermissionBaseEntry.cs
- SHA256Managed.cs
- TextServicesDisplayAttribute.cs
- KeyBinding.cs
- HandleValueEditor.cs
- LocatorPart.cs
- ConstraintEnumerator.cs
- ReadOnlyNameValueCollection.cs
- CategoryGridEntry.cs
- Memoizer.cs
- DocumentDesigner.cs
- ResourceCategoryAttribute.cs
- RangeBase.cs
- MapPathBasedVirtualPathProvider.cs
- WorkflowOperationInvoker.cs
- Rect3D.cs
- PathSegmentCollection.cs
- WmiInstallComponent.cs
- ComponentTray.cs
- OracleParameter.cs