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
- ScriptComponentDescriptor.cs
- Interlocked.cs
- AnonymousIdentificationSection.cs
- SqlRecordBuffer.cs
- DecoderBestFitFallback.cs
- EndPoint.cs
- ParseChildrenAsPropertiesAttribute.cs
- MDIClient.cs
- SafeNativeMethods.cs
- ClientSettingsSection.cs
- FlowLayout.cs
- PrimitiveCodeDomSerializer.cs
- EntityKeyElement.cs
- ViewLoader.cs
- ClosureBinding.cs
- cookieexception.cs
- PopOutPanel.cs
- XmlWrappingWriter.cs
- TemplateBamlRecordReader.cs
- BrushValueSerializer.cs
- ValueCollectionParameterReader.cs
- XmlTextEncoder.cs
- ExpressionBindingCollection.cs
- RealizationContext.cs
- ComponentEvent.cs
- XmlSchemaGroup.cs
- OracleInternalConnection.cs
- WebBrowserNavigatedEventHandler.cs
- NamespaceList.cs
- GenericTextProperties.cs
- ComUdtElement.cs
- ColorConvertedBitmap.cs
- XmlSchemaAttributeGroupRef.cs
- XpsFont.cs
- ComboBoxItem.cs
- AuthorizationRule.cs
- sqlpipe.cs
- documentation.cs
- CodeObjectCreateExpression.cs
- SkipQueryOptionExpression.cs
- SweepDirectionValidation.cs
- SqlSupersetValidator.cs
- SqlCommandBuilder.cs
- CustomAttribute.cs
- ScriptComponentDescriptor.cs
- Token.cs
- PasswordRecovery.cs
- ViewLoader.cs
- BuildResult.cs
- PersistChildrenAttribute.cs
- ListView.cs
- XmlUtf8RawTextWriter.cs
- TemplateParser.cs
- SafeSecurityHandles.cs
- ToolStripItemDesigner.cs
- DbParameterHelper.cs
- LocatorPartList.cs
- DataSourceComponent.cs
- FileStream.cs
- SqlCaseSimplifier.cs
- Workspace.cs
- ResourceIDHelper.cs
- WebPartConnectionsDisconnectVerb.cs
- WindowInteractionStateTracker.cs
- TdsParserStaticMethods.cs
- DateTimeConstantAttribute.cs
- CommandPlan.cs
- ColumnClickEvent.cs
- DataDocumentXPathNavigator.cs
- QueryFunctions.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- OdbcEnvironmentHandle.cs
- WebBrowserHelper.cs
- XD.cs
- ToolStripPanelRenderEventArgs.cs
- NativeMethods.cs
- ValidatingPropertiesEventArgs.cs
- CollectionChangedEventManager.cs
- PersonalizableAttribute.cs
- PlatformCulture.cs
- ImageCodecInfoPrivate.cs
- TagPrefixInfo.cs
- UserControlCodeDomTreeGenerator.cs
- ServiceOperationParameter.cs
- CodeDomConfigurationHandler.cs
- RuntimeIdentifierPropertyAttribute.cs
- PointLightBase.cs
- GroupDescription.cs
- StrongTypingException.cs
- CancellableEnumerable.cs
- RecipientInfo.cs
- TimelineClockCollection.cs
- SQLBinaryStorage.cs
- PageThemeCodeDomTreeGenerator.cs
- PlanCompiler.cs
- ReferencedAssembly.cs
- RuleValidation.cs
- Switch.cs
- Camera.cs
- datacache.cs