Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- TextOptionsInternal.cs
- IItemProperties.cs
- BindingExpressionBase.cs
- GraphicsPath.cs
- ListViewItem.cs
- ToolStripLabel.cs
- ConfigurationLocationCollection.cs
- CompModSwitches.cs
- DataGridColumnCollection.cs
- QEncodedStream.cs
- IxmlLineInfo.cs
- DataGridViewColumnEventArgs.cs
- TypeInitializationException.cs
- SmiContext.cs
- ping.cs
- IERequestCache.cs
- RenderingEventArgs.cs
- FunctionImportElement.cs
- ValidationEventArgs.cs
- ModuleBuilderData.cs
- PositiveTimeSpanValidatorAttribute.cs
- X509CertificateRecipientServiceCredential.cs
- SqlCacheDependencyDatabase.cs
- XmlnsDefinitionAttribute.cs
- _FtpControlStream.cs
- GridProviderWrapper.cs
- Util.cs
- ApplicationHost.cs
- InvokeMethodActivityDesigner.cs
- Point3DCollectionConverter.cs
- CodeDirectionExpression.cs
- CoreSwitches.cs
- SchemaNames.cs
- AuthenticationSection.cs
- CompositeDataBoundControl.cs
- X509PeerCertificateElement.cs
- EventTask.cs
- ModifierKeysValueSerializer.cs
- WrappedReader.cs
- XmlAttributes.cs
- XmlSerializer.cs
- WpfSharedXamlSchemaContext.cs
- SessionStateModule.cs
- CodeTypeReferenceExpression.cs
- ProgressChangedEventArgs.cs
- SymDocumentType.cs
- SHA256.cs
- DataControlCommands.cs
- SupportsPreviewControlAttribute.cs
- TextTreeDeleteContentUndoUnit.cs
- WebPartConnectionsConfigureVerb.cs
- ImmutableCollection.cs
- BitVector32.cs
- IndicFontClient.cs
- ScriptReference.cs
- XmlQueryContext.cs
- InkCanvasFeedbackAdorner.cs
- HostedElements.cs
- PathSegmentCollection.cs
- SchemaImporterExtensionElement.cs
- ListViewUpdatedEventArgs.cs
- WebServiceTypeData.cs
- HybridCollection.cs
- AnalyzedTree.cs
- DockProviderWrapper.cs
- Monitor.cs
- GridViewRowCollection.cs
- ToolStripButton.cs
- SpoolingTask.cs
- LicFileLicenseProvider.cs
- ELinqQueryState.cs
- MarginsConverter.cs
- Matrix.cs
- NameValuePair.cs
- DrawingDrawingContext.cs
- IOException.cs
- ColorPalette.cs
- DefaultProxySection.cs
- ReturnValue.cs
- TransactionCache.cs
- ResolveNameEventArgs.cs
- FutureFactory.cs
- ToolConsole.cs
- ResourceDictionary.cs
- DesignBindingValueUIHandler.cs
- ColorMap.cs
- DataDocumentXPathNavigator.cs
- HashSetDebugView.cs
- ToolBarOverflowPanel.cs
- QueueProcessor.cs
- RotateTransform3D.cs
- AffineTransform3D.cs
- XmlDocumentSchema.cs
- VectorCollectionConverter.cs
- DbConnectionPoolCounters.cs
- Registry.cs
- ErrorFormatter.cs
- AttributeProviderAttribute.cs
- GridViewRowPresenterBase.cs
- DataAdapter.cs