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
- ControlBuilder.cs
- PeerPresenceInfo.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- DecimalFormatter.cs
- TwoPhaseCommitProxy.cs
- Matrix.cs
- SqlWriter.cs
- QilIterator.cs
- GridViewUpdateEventArgs.cs
- StrokeCollection.cs
- PathFigureCollectionConverter.cs
- path.cs
- DateTimeFormat.cs
- SubpageParaClient.cs
- DataGridPagerStyle.cs
- Condition.cs
- TreeNodeStyleCollection.cs
- ListViewInsertedEventArgs.cs
- ColumnHeader.cs
- AssociationSetMetadata.cs
- RectangleHotSpot.cs
- InstanceDataCollection.cs
- controlskin.cs
- XmlSchemaValidationException.cs
- MenuItemBinding.cs
- TraceFilter.cs
- InputLangChangeRequestEvent.cs
- Substitution.cs
- WebPartPersonalization.cs
- propertyentry.cs
- SupportsEventValidationAttribute.cs
- StdValidatorsAndConverters.cs
- MarkupCompilePass1.cs
- SystemIPInterfaceStatistics.cs
- LingerOption.cs
- WebPartMinimizeVerb.cs
- ButtonField.cs
- GenericTypeParameterBuilder.cs
- ToolTip.cs
- _LocalDataStoreMgr.cs
- WSTransactionSection.cs
- UnsettableComboBox.cs
- hwndwrapper.cs
- NamespaceCollection.cs
- AttributeProviderAttribute.cs
- UseLicense.cs
- EditorServiceContext.cs
- VirtualDirectoryMapping.cs
- WebPartManager.cs
- ExpressionQuoter.cs
- ProfileProvider.cs
- RecordManager.cs
- StickyNoteHelper.cs
- PointLightBase.cs
- CollectionMarkupSerializer.cs
- MethodRental.cs
- StrokeIntersection.cs
- UseLicense.cs
- HttpModuleActionCollection.cs
- AesCryptoServiceProvider.cs
- DynamicResourceExtensionConverter.cs
- CodeAccessSecurityEngine.cs
- PlatformCulture.cs
- DocComment.cs
- GlyphCollection.cs
- SoapProcessingBehavior.cs
- rsa.cs
- FileLevelControlBuilderAttribute.cs
- SectionUpdates.cs
- ConfigurationElementProperty.cs
- HtmlGenericControl.cs
- HostExecutionContextManager.cs
- DrawingGroup.cs
- InvalidOperationException.cs
- IndependentlyAnimatedPropertyMetadata.cs
- WorkflowNamespace.cs
- XpsSerializerWriter.cs
- RegionInfo.cs
- FigureParaClient.cs
- EntityClassGenerator.cs
- VectorAnimation.cs
- Panel.cs
- PropertyGridEditorPart.cs
- SmiMetaData.cs
- DataGridViewColumnCollectionDialog.cs
- ToolboxService.cs
- FixedMaxHeap.cs
- Timer.cs
- DESCryptoServiceProvider.cs
- CodeAttachEventStatement.cs
- TreeNodeConverter.cs
- GridErrorDlg.cs
- ReferenceConverter.cs
- Tuple.cs
- IndentedTextWriter.cs
- DataRecord.cs
- DynamicValidatorEventArgs.cs
- PrintControllerWithStatusDialog.cs
- TranslateTransform.cs
- XmlILAnnotation.cs