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
- LogLogRecord.cs
- EditorBrowsableAttribute.cs
- KeyFrames.cs
- CommandHelper.cs
- ListControl.cs
- DescendantQuery.cs
- ObjectItemCollection.cs
- DataBindingCollection.cs
- XsltInput.cs
- Dictionary.cs
- PaginationProgressEventArgs.cs
- QueryCursorEventArgs.cs
- DataSetUtil.cs
- WebPartCatalogAddVerb.cs
- MediaPlayer.cs
- InvocationExpression.cs
- SettingsPropertyIsReadOnlyException.cs
- XmlSchemaChoice.cs
- clipboard.cs
- TreeViewDesigner.cs
- Rules.cs
- WebPartExportVerb.cs
- SafeCoTaskMem.cs
- DataTable.cs
- SafeLocalMemHandle.cs
- ISO2022Encoding.cs
- HtmlTable.cs
- ScopedKnownTypes.cs
- ControlParameter.cs
- WindowsTreeView.cs
- PrivateFontCollection.cs
- MsmqBindingElementBase.cs
- EllipticalNodeOperations.cs
- TargetException.cs
- LocalizationComments.cs
- DLinqColumnProvider.cs
- ConnectorDragDropGlyph.cs
- KeyFrames.cs
- EnumDataContract.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- ObjRef.cs
- BitmapFrame.cs
- BufferCache.cs
- ByteKeyFrameCollection.cs
- SafeHandles.cs
- ServiceContractListItemList.cs
- OleDbDataReader.cs
- SqlProviderServices.cs
- ChangeBlockUndoRecord.cs
- ThrowHelper.cs
- DataSourceComponent.cs
- BamlRecordHelper.cs
- ProtectedProviderSettings.cs
- Annotation.cs
- Component.cs
- MenuStrip.cs
- LayoutEditorPart.cs
- GPStream.cs
- ExtensionFile.cs
- MetadataItemCollectionFactory.cs
- Transform.cs
- DateTimeUtil.cs
- TimeoutTimer.cs
- SrgsToken.cs
- DictionaryBase.cs
- DataKeyCollection.cs
- X509ThumbprintKeyIdentifierClause.cs
- GeneratedCodeAttribute.cs
- PolyBezierSegment.cs
- StringBuilder.cs
- TimeBoundedCache.cs
- PnrpPermission.cs
- HttpCapabilitiesEvaluator.cs
- StaticExtension.cs
- TypeElement.cs
- ColumnResizeUndoUnit.cs
- ForeignKeyFactory.cs
- ListBoxItemAutomationPeer.cs
- DataGridViewBindingCompleteEventArgs.cs
- CalendarKeyboardHelper.cs
- _FtpControlStream.cs
- SurrogateSelector.cs
- ListViewUpdatedEventArgs.cs
- CompiledXpathExpr.cs
- XmlTextReaderImpl.cs
- RightsManagementProvider.cs
- ListViewGroup.cs
- OlePropertyStructs.cs
- PreservationFileReader.cs
- CustomLineCap.cs
- OleDbDataAdapter.cs
- TextCharacters.cs
- IxmlLineInfo.cs
- WebZone.cs
- Keywords.cs
- RSAPKCS1SignatureDeformatter.cs
- FileStream.cs
- X509Chain.cs
- ToolStripAdornerWindowService.cs
- _CacheStreams.cs