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
- PrintDialogException.cs
- GlyphShapingProperties.cs
- RuntimeCompatibilityAttribute.cs
- FrameworkTemplate.cs
- Effect.cs
- IpcManager.cs
- Int32CAMarshaler.cs
- Light.cs
- MultipartContentParser.cs
- PropertyDescriptorComparer.cs
- NameValueConfigurationCollection.cs
- NativeMethods.cs
- CodeGroup.cs
- PathFigure.cs
- TabItemAutomationPeer.cs
- DesignerRegion.cs
- MatrixUtil.cs
- DataErrorValidationRule.cs
- RootProfilePropertySettingsCollection.cs
- SchemaElementLookUpTableEnumerator.cs
- FontWeights.cs
- RevocationPoint.cs
- WebPartUserCapability.cs
- Monitor.cs
- RenderOptions.cs
- UInt16Converter.cs
- ColumnMapVisitor.cs
- SoapCodeExporter.cs
- PageParserFilter.cs
- ToolStripGrip.cs
- HttpCookieCollection.cs
- TreeNodeBinding.cs
- InternalControlCollection.cs
- FeatureSupport.cs
- ClientUrlResolverWrapper.cs
- LinqDataSourceDisposeEventArgs.cs
- VScrollBar.cs
- InputBuffer.cs
- SrgsElementFactoryCompiler.cs
- AuthenticationManager.cs
- RelatedView.cs
- DigestComparer.cs
- TextServicesCompartment.cs
- SqlDataAdapter.cs
- DataGridViewRow.cs
- ColumnTypeConverter.cs
- RoutedEventConverter.cs
- SafeNativeMethods.cs
- SecurityContextSecurityTokenParameters.cs
- CookielessHelper.cs
- EdmComplexTypeAttribute.cs
- CriticalFinalizerObject.cs
- HttpListenerRequest.cs
- NonVisualControlAttribute.cs
- DependsOnAttribute.cs
- VisualStyleInformation.cs
- RuntimeConfig.cs
- ObjectItemCollection.cs
- WeakRefEnumerator.cs
- ToolStripSeparatorRenderEventArgs.cs
- xmlfixedPageInfo.cs
- EdmToObjectNamespaceMap.cs
- ListViewDeletedEventArgs.cs
- ChannelAcceptor.cs
- QuaternionAnimation.cs
- VisualBasicHelper.cs
- ToolStripItemCollection.cs
- MetadataCache.cs
- FlowSwitchDesigner.xaml.cs
- CompiledRegexRunnerFactory.cs
- SchemaCollectionPreprocessor.cs
- PerformanceCountersElement.cs
- GroupBox.cs
- InternalsVisibleToAttribute.cs
- FormsAuthenticationEventArgs.cs
- Directory.cs
- HtmlInputPassword.cs
- MetricEntry.cs
- dbenumerator.cs
- DefaultValidator.cs
- RuntimeTransactionHandle.cs
- ExtensionsSection.cs
- SqlBuilder.cs
- ExpressionVisitor.cs
- InlineUIContainer.cs
- ScriptIgnoreAttribute.cs
- ConfigXmlText.cs
- FontSource.cs
- BitmapCodecInfoInternal.cs
- TypedTableGenerator.cs
- IndexedString.cs
- counter.cs
- TableLayoutStyleCollection.cs
- XpsDocumentEvent.cs
- IsolatedStorage.cs
- ToolStripLabel.cs
- AuthenticationManager.cs
- TreeWalker.cs
- WebResponse.cs
- ArraySet.cs