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
- SharedMemory.cs
- AudioBase.cs
- TriggerBase.cs
- ClientFormsIdentity.cs
- TrackingRecord.cs
- AsyncCompletedEventArgs.cs
- SpecialFolderEnumConverter.cs
- WinFormsSpinner.cs
- VersionConverter.cs
- WebPartDisplayModeCancelEventArgs.cs
- BaseCodeDomTreeGenerator.cs
- ReachBasicContext.cs
- SqlDependencyUtils.cs
- FormsAuthenticationModule.cs
- ByteStorage.cs
- MethodCallExpression.cs
- ProxyHelper.cs
- GenericArgumentsUpdater.cs
- IERequestCache.cs
- DtdParser.cs
- Pen.cs
- DataSet.cs
- Point4D.cs
- RuleSettingsCollection.cs
- SHA256CryptoServiceProvider.cs
- XmlStrings.cs
- XmlBinaryReader.cs
- Tuple.cs
- TextChangedEventArgs.cs
- ContextMenu.cs
- _Events.cs
- ObjectSpanRewriter.cs
- SystemUdpStatistics.cs
- SqlXmlStorage.cs
- HtmlEmptyTagControlBuilder.cs
- OperationInvokerBehavior.cs
- CancelEventArgs.cs
- NavigateEvent.cs
- ScriptingScriptResourceHandlerSection.cs
- ArcSegment.cs
- AudioBase.cs
- HttpPostedFile.cs
- RequestTimeoutManager.cs
- XmlNamespaceManager.cs
- GradientStopCollection.cs
- StylusSystemGestureEventArgs.cs
- DesignerActionMethodItem.cs
- util.cs
- InputGestureCollection.cs
- TailPinnedEventArgs.cs
- ListViewItemMouseHoverEvent.cs
- WebSysDescriptionAttribute.cs
- ResumeStoryboard.cs
- DBSchemaTable.cs
- DataKey.cs
- DllNotFoundException.cs
- MessagePropertyDescription.cs
- Rijndael.cs
- SessionEndingCancelEventArgs.cs
- SolidColorBrush.cs
- AutomationElement.cs
- PathSegment.cs
- BindingElement.cs
- TdsParser.cs
- ScriptingSectionGroup.cs
- RequestCacheEntry.cs
- GeometryDrawing.cs
- CurrentTimeZone.cs
- WebPartConnectionCollection.cs
- DispatchChannelSink.cs
- InfoCard.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- WindowsGraphics2.cs
- SqlDeflator.cs
- StateFinalizationDesigner.cs
- ToolStripItemEventArgs.cs
- ScalarType.cs
- ReadOnlyDataSource.cs
- ScalarType.cs
- Transform3D.cs
- DocumentCollection.cs
- Underline.cs
- CachedFontFace.cs
- HostingEnvironmentException.cs
- WebReference.cs
- HierarchicalDataBoundControl.cs
- HtmlUtf8RawTextWriter.cs
- SelectionPattern.cs
- PeerApplication.cs
- AssemblyBuilderData.cs
- CanonicalizationDriver.cs
- AstTree.cs
- MenuItemBinding.cs
- HostingPreferredMapPath.cs
- RolePrincipal.cs
- CqlBlock.cs
- TextBoxBase.cs
- RepeaterItem.cs
- _DisconnectOverlappedAsyncResult.cs
- SettingsSavedEventArgs.cs