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
- HtmlDocument.cs
- CodePageUtils.cs
- FormViewRow.cs
- DataProviderNameConverter.cs
- SweepDirectionValidation.cs
- SqlGenerator.cs
- GridViewUpdatedEventArgs.cs
- IPCCacheManager.cs
- HostProtectionException.cs
- DbProviderFactory.cs
- _IPv6Address.cs
- ProxyGenerationError.cs
- ItemCollection.cs
- KeyValuePairs.cs
- EnterpriseServicesHelper.cs
- BamlTreeMap.cs
- WindowsToolbarAsMenu.cs
- ExceptQueryOperator.cs
- IpcClientManager.cs
- CapabilitiesState.cs
- TemplatedMailWebEventProvider.cs
- SqlConnectionString.cs
- LineSegment.cs
- Inflater.cs
- SqlError.cs
- _LoggingObject.cs
- PrintPreviewGraphics.cs
- GregorianCalendarHelper.cs
- QueryMatcher.cs
- InputLanguageCollection.cs
- FieldToken.cs
- __Error.cs
- SqlRecordBuffer.cs
- DSACryptoServiceProvider.cs
- GridView.cs
- DataGridViewTextBoxColumn.cs
- JsonDeserializer.cs
- SQLDoubleStorage.cs
- UpdatePanelTrigger.cs
- SizeKeyFrameCollection.cs
- BaseParagraph.cs
- TreeNodeBindingCollection.cs
- NamespaceInfo.cs
- RestrictedTransactionalPackage.cs
- UIPropertyMetadata.cs
- CacheAxisQuery.cs
- GregorianCalendar.cs
- FixedPageStructure.cs
- LostFocusEventManager.cs
- COM2PropertyPageUITypeConverter.cs
- _NestedSingleAsyncResult.cs
- While.cs
- DataRecordInternal.cs
- ImportContext.cs
- ProcessStartInfo.cs
- TemplateLookupAction.cs
- AutomationPropertyInfo.cs
- SQLRoleProvider.cs
- TimeoutException.cs
- DesignTable.cs
- GcHandle.cs
- XmlNode.cs
- State.cs
- DataGridViewRowCancelEventArgs.cs
- ObjectDataSourceStatusEventArgs.cs
- UInt32.cs
- CompilerErrorCollection.cs
- TextTrailingCharacterEllipsis.cs
- ByteStorage.cs
- FunctionImportMapping.cs
- TrustDriver.cs
- processwaithandle.cs
- BindableTemplateBuilder.cs
- StreamGeometry.cs
- InlineCollection.cs
- TimeSpanSecondsConverter.cs
- SignatureHelper.cs
- HttpModulesInstallComponent.cs
- _ConnectOverlappedAsyncResult.cs
- MSHTMLHostUtil.cs
- TiffBitmapDecoder.cs
- Quad.cs
- WhitespaceSignificantCollectionAttribute.cs
- SingleTagSectionHandler.cs
- ViewValidator.cs
- SqlReorderer.cs
- SetterBase.cs
- BrushConverter.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- ComPlusSynchronizationContext.cs
- ProcessStartInfo.cs
- HttpRequestBase.cs
- oledbmetadatacollectionnames.cs
- UserControlCodeDomTreeGenerator.cs
- SettingsPropertyNotFoundException.cs
- WorkflowInstanceExtensionCollection.cs
- Clock.cs
- CodeParameterDeclarationExpressionCollection.cs
- Rotation3D.cs
- RecognitionEventArgs.cs