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 / ListViewItem.cs / 1 / ListViewItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Collections; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Web; using System.Web.UI; namespace System.Web.UI.WebControls { [AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] [ ToolboxItem(false) ] public class ListViewItem : Control, INamingContainer { private ListViewItemType _itemType; public ListViewItem(ListViewItemType itemType) { _itemType = itemType; } public ListViewItemType ItemType { get { return _itemType; } } [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers", MessageId = "1#")] protected override bool OnBubbleEvent(object source, EventArgs e) { if (e is CommandEventArgs) { ListViewCommandEventArgs args = new ListViewCommandEventArgs(this, 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.Collections; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Web; using System.Web.UI; namespace System.Web.UI.WebControls { [AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] [ ToolboxItem(false) ] public class ListViewItem : Control, INamingContainer { private ListViewItemType _itemType; public ListViewItem(ListViewItemType itemType) { _itemType = itemType; } public ListViewItemType ItemType { get { return _itemType; } } [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers", MessageId = "1#")] protected override bool OnBubbleEvent(object source, EventArgs e) { if (e is CommandEventArgs) { ListViewCommandEventArgs args = new ListViewCommandEventArgs(this, 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
- Brush.cs
- loginstatus.cs
- CheckBoxStandardAdapter.cs
- filewebresponse.cs
- BooleanFacetDescriptionElement.cs
- SecurityContextTokenValidationException.cs
- XmlSchemaParticle.cs
- OpCellTreeNode.cs
- IconConverter.cs
- ReaderWriterLock.cs
- HuffCodec.cs
- remotingproxy.cs
- NamedPipeProcessProtocolHandler.cs
- SelectionProviderWrapper.cs
- XamlTypeMapperSchemaContext.cs
- MetabaseServerConfig.cs
- UpdateCommandGenerator.cs
- DiscoveryMessageProperty.cs
- TextBoxBase.cs
- GPPOINTF.cs
- TextServicesCompartment.cs
- TreeViewImageGenerator.cs
- IncrementalReadDecoders.cs
- UpdateManifestForBrowserApplication.cs
- MetadataUtil.cs
- HighContrastHelper.cs
- FixUp.cs
- _BufferOffsetSize.cs
- ContentPosition.cs
- HwndHostAutomationPeer.cs
- DataKey.cs
- PropertyFilterAttribute.cs
- HotSpot.cs
- path.cs
- FactoryGenerator.cs
- COM2ExtendedTypeConverter.cs
- EpmContentSerializer.cs
- Comparer.cs
- NonDualMessageSecurityOverHttp.cs
- Metafile.cs
- HttpHandlerAction.cs
- InnerItemCollectionView.cs
- PerformanceCounterScope.cs
- IItemProperties.cs
- RunInstallerAttribute.cs
- FontFamily.cs
- MulticastDelegate.cs
- SequentialUshortCollection.cs
- ConnectionsZoneAutoFormat.cs
- OdbcException.cs
- CacheVirtualItemsEvent.cs
- XamlFigureLengthSerializer.cs
- PerfCounters.cs
- CallSiteBinder.cs
- PropertyChangingEventArgs.cs
- HandleTable.cs
- SmiConnection.cs
- CodeLabeledStatement.cs
- InfiniteTimeSpanConverter.cs
- BinaryConverter.cs
- __FastResourceComparer.cs
- MediaTimeline.cs
- XPathNavigator.cs
- ExpressionVisitorHelpers.cs
- EmissiveMaterial.cs
- XPathBuilder.cs
- DriveInfo.cs
- TableCell.cs
- EncryptionUtility.cs
- TreeSet.cs
- ToolStripDropDownItem.cs
- LocalIdKeyIdentifierClause.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- AxHost.cs
- GridViewDeletedEventArgs.cs
- NewItemsContextMenuStrip.cs
- GACIdentityPermission.cs
- XPathPatternBuilder.cs
- SystemSounds.cs
- Qualifier.cs
- X509Certificate2.cs
- XmlWhitespace.cs
- TextEndOfLine.cs
- SelectedDatesCollection.cs
- ExeConfigurationFileMap.cs
- EFDataModelProvider.cs
- SafeNativeMethods.cs
- DebugViewWriter.cs
- NavigationProperty.cs
- TraceLevelHelper.cs
- DataGridViewRowsAddedEventArgs.cs
- TraceXPathNavigator.cs
- basevalidator.cs
- ProjectedSlot.cs
- TextTreeFixupNode.cs
- Point3DAnimationUsingKeyFrames.cs
- ExpressionPrinter.cs
- TypeExtension.cs
- StreamWithDictionary.cs
- LayoutDump.cs