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
- ToggleButtonAutomationPeer.cs
- AsymmetricKeyExchangeDeformatter.cs
- DragCompletedEventArgs.cs
- XmlSchemaGroup.cs
- SmtpMail.cs
- Privilege.cs
- CompilerTypeWithParams.cs
- ProxyFragment.cs
- DataContractJsonSerializerOperationBehavior.cs
- Substitution.cs
- IntranetCredentialPolicy.cs
- ErrorRuntimeConfig.cs
- GotoExpression.cs
- SqlEnums.cs
- TimeSpan.cs
- BufferModeSettings.cs
- ApplicationInfo.cs
- ActionFrame.cs
- ADMembershipProvider.cs
- UnsafeNativeMethodsPenimc.cs
- ISessionStateStore.cs
- TranslateTransform.cs
- XmlElementCollection.cs
- SQLDoubleStorage.cs
- ProcessRequestArgs.cs
- InternalConfigEventArgs.cs
- User.cs
- RpcResponse.cs
- printdlgexmarshaler.cs
- CommandConverter.cs
- StickyNoteContentControl.cs
- PageAsyncTask.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- MediaPlayerState.cs
- DataObjectEventArgs.cs
- Simplifier.cs
- RtfFormatStack.cs
- LineSegment.cs
- BooleanFacetDescriptionElement.cs
- TypeDescriptionProvider.cs
- UdpDiscoveryMessageFilter.cs
- PointLight.cs
- DeclarativeExpressionConditionDeclaration.cs
- DesignTimeTemplateParser.cs
- DateTimeFormatInfo.cs
- SizeConverter.cs
- SourceLineInfo.cs
- FlowDocumentFormatter.cs
- ExtensionQuery.cs
- SimpleFieldTemplateUserControl.cs
- UTF32Encoding.cs
- ApplicationSecurityManager.cs
- WebMessageFormatHelper.cs
- Focus.cs
- TextWriter.cs
- RangeBase.cs
- TopClause.cs
- SelectionUIService.cs
- CatalogPart.cs
- ColumnMap.cs
- TableAdapterManagerHelper.cs
- ToolStripManager.cs
- ProcessInfo.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- ScriptReference.cs
- NestedContainer.cs
- ObjectStateManagerMetadata.cs
- ToolStripManager.cs
- FixedTextPointer.cs
- AppendHelper.cs
- CalendarSelectionChangedEventArgs.cs
- NotifyInputEventArgs.cs
- DependencyObject.cs
- Setter.cs
- XmlSchemaAttribute.cs
- ServiceObjectContainer.cs
- ImmutableObjectAttribute.cs
- WrappedDispatcherException.cs
- altserialization.cs
- HTTPRemotingHandler.cs
- BitArray.cs
- AttributeQuery.cs
- CodeMethodReturnStatement.cs
- User.cs
- DoubleLinkList.cs
- QueryAsyncResult.cs
- WmiEventSink.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ParentControlDesigner.cs
- ObjectParameter.cs
- SoapUnknownHeader.cs
- BinaryUtilClasses.cs
- FormParameter.cs
- SqlSelectStatement.cs
- ControlPropertyNameConverter.cs
- SqlParameter.cs
- XDeferredAxisSource.cs
- SqlDataSourceCache.cs
- ValueType.cs
- SemanticValue.cs