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
- HandoffBehavior.cs
- LocalValueEnumerator.cs
- PtsPage.cs
- ChameleonKey.cs
- WebPartAddingEventArgs.cs
- PackageProperties.cs
- AppDomainCompilerProxy.cs
- XPathEmptyIterator.cs
- DataRecordInternal.cs
- ManagementOperationWatcher.cs
- SiteMapNode.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- SocketAddress.cs
- ImageSource.cs
- MatrixKeyFrameCollection.cs
- ProviderUtil.cs
- EventItfInfo.cs
- Positioning.cs
- PerformanceCountersBase.cs
- TextMarkerSource.cs
- ImportedNamespaceContextItem.cs
- OpenTypeMethods.cs
- ControlDesignerState.cs
- EncodingInfo.cs
- DiscoveryEndpointElement.cs
- ServiceDeploymentInfo.cs
- TraceHwndHost.cs
- IntegerValidator.cs
- Merger.cs
- PolygonHotSpot.cs
- MailMessage.cs
- EventProperty.cs
- SocketInformation.cs
- MissingMethodException.cs
- HttpConfigurationSystem.cs
- PageSettings.cs
- BuildProvider.cs
- MultiDataTrigger.cs
- LinqDataSourceDisposeEventArgs.cs
- TextSpanModifier.cs
- DependencyPropertyKind.cs
- TemplatePropertyEntry.cs
- EdmComplexTypeAttribute.cs
- DbExpressionVisitor_TResultType.cs
- FormatterServicesNoSerializableCheck.cs
- JpegBitmapDecoder.cs
- AttributeCollection.cs
- TextContainerHelper.cs
- DataGridViewRowsRemovedEventArgs.cs
- DynamicControlParameter.cs
- SessionPageStateSection.cs
- TemplateBindingExpressionConverter.cs
- QuadraticBezierSegment.cs
- SystemColors.cs
- AdapterDictionary.cs
- HotSpotCollection.cs
- PageAsyncTask.cs
- HexParser.cs
- BaseCodePageEncoding.cs
- CompensatableTransactionScopeActivity.cs
- CompiledIdentityConstraint.cs
- RangeContentEnumerator.cs
- BamlRecordReader.cs
- TextEditorTables.cs
- SmiConnection.cs
- AsyncSerializedWorker.cs
- FormParameter.cs
- DateTimeSerializationSection.cs
- HtmlForm.cs
- IgnoreSection.cs
- WrapPanel.cs
- Graph.cs
- RegularExpressionValidator.cs
- AncestorChangedEventArgs.cs
- TreeViewHitTestInfo.cs
- AssemblyContextControlItem.cs
- FieldNameLookup.cs
- LazyTextWriterCreator.cs
- ResourcesGenerator.cs
- TextRange.cs
- Processor.cs
- UriTemplateVariableQueryValue.cs
- PointAnimationUsingKeyFrames.cs
- HandlerFactoryCache.cs
- webclient.cs
- ApplicationFileParser.cs
- LayoutDump.cs
- WebBaseEventKeyComparer.cs
- WebPartTransformer.cs
- HtmlInputCheckBox.cs
- DrawingContextDrawingContextWalker.cs
- XmlWriter.cs
- TabOrder.cs
- TaskFormBase.cs
- DirectoryObjectSecurity.cs
- MailHeaderInfo.cs
- ExpressionNode.cs
- SqlBulkCopyColumnMapping.cs
- MethodBuilder.cs
- MatrixTransform3D.cs