Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- HttpGetProtocolImporter.cs
- PrincipalPermissionMode.cs
- DirectoryObjectSecurity.cs
- CollectionViewGroup.cs
- AssociationType.cs
- RelativeSource.cs
- GregorianCalendar.cs
- ColumnBinding.cs
- ToolStripDropTargetManager.cs
- ImportOptions.cs
- ProcessMessagesAsyncResult.cs
- Int16Storage.cs
- NullReferenceException.cs
- UriTemplateCompoundPathSegment.cs
- RootAction.cs
- GridSplitterAutomationPeer.cs
- DPAPIProtectedConfigurationProvider.cs
- EndOfStreamException.cs
- SchemaReference.cs
- URL.cs
- SettingsContext.cs
- DataFormats.cs
- Debug.cs
- TextTreeUndoUnit.cs
- HwndMouseInputProvider.cs
- SafeReversePInvokeHandle.cs
- SupportsEventValidationAttribute.cs
- ExtendLockCommand.cs
- Module.cs
- RewritingValidator.cs
- _KerberosClient.cs
- UpdatePanelTriggerCollection.cs
- MetadataItem_Static.cs
- SrgsRule.cs
- SuppressIldasmAttribute.cs
- UpdatePanelControlTrigger.cs
- SiteMapNodeItem.cs
- SspiSecurityTokenParameters.cs
- AssemblyAttributesGoHere.cs
- ListBoxItemWrapperAutomationPeer.cs
- RewritingPass.cs
- PanelStyle.cs
- DataBinding.cs
- SqlDependency.cs
- Vector3DAnimation.cs
- KeyedHashAlgorithm.cs
- ToolStripItemRenderEventArgs.cs
- EditorBrowsableAttribute.cs
- ClientScriptItem.cs
- Panel.cs
- HttpPostClientProtocol.cs
- ErrorWrapper.cs
- ConfigurationErrorsException.cs
- CharUnicodeInfo.cs
- DataTemplateKey.cs
- Empty.cs
- Image.cs
- StringConcat.cs
- XPathScanner.cs
- PageVisual.cs
- StrongName.cs
- EncryptedData.cs
- ServiceMoniker.cs
- GridPattern.cs
- FtpWebResponse.cs
- ComplexBindingPropertiesAttribute.cs
- CodeTypeParameterCollection.cs
- DirectoryObjectSecurity.cs
- UTF32Encoding.cs
- FixedHighlight.cs
- ResourceContainer.cs
- TextEditorTables.cs
- EdmToObjectNamespaceMap.cs
- SystemIPv4InterfaceProperties.cs
- SplitterDesigner.cs
- EntitySqlQueryState.cs
- NamespaceCollection.cs
- SessionStateUtil.cs
- WaitHandle.cs
- DbConnectionPoolOptions.cs
- PageContentAsyncResult.cs
- PartialCachingAttribute.cs
- HandleCollector.cs
- BaseContextMenu.cs
- ConfigurationElementProperty.cs
- ObjectPersistData.cs
- diagnosticsswitches.cs
- ClientConfigurationSystem.cs
- SectionUpdates.cs
- TreeView.cs
- StringDictionary.cs
- QilInvokeLateBound.cs
- LinqDataSourceEditData.cs
- DataSourceProvider.cs
- ConnectionPoolManager.cs
- IpcManager.cs
- BufferBuilder.cs
- BoundConstants.cs
- PerformanceCounterManager.cs
- DataServiceQueryException.cs