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
- FileSecurity.cs
- SQLMoneyStorage.cs
- WebDisplayNameAttribute.cs
- GeneralTransformGroup.cs
- VirtualPathUtility.cs
- DetailsViewModeEventArgs.cs
- SmtpNtlmAuthenticationModule.cs
- ScrollItemPatternIdentifiers.cs
- VisualTransition.cs
- SBCSCodePageEncoding.cs
- SystemMulticastIPAddressInformation.cs
- Path.cs
- SqlClientPermission.cs
- EventRecordWrittenEventArgs.cs
- DateTimeAutomationPeer.cs
- WpfPayload.cs
- FileDialogCustomPlace.cs
- TableParaClient.cs
- StreamHelper.cs
- ListViewItemSelectionChangedEvent.cs
- SymLanguageVendor.cs
- BamlRecords.cs
- Blend.cs
- FullTextBreakpoint.cs
- PageStatePersister.cs
- SmiTypedGetterSetter.cs
- ValueTable.cs
- SoapAttributeAttribute.cs
- DynamicVirtualDiscoSearcher.cs
- DrawingContext.cs
- WebPartMovingEventArgs.cs
- CellPartitioner.cs
- CheckoutException.cs
- WebPartConnectionsDisconnectVerb.cs
- WebPartDisplayModeCollection.cs
- BitmapCodecInfoInternal.cs
- SynchronizationLockException.cs
- FixedPageProcessor.cs
- Marshal.cs
- PreviewPrintController.cs
- PropertyTab.cs
- ChangePassword.cs
- WindowAutomationPeer.cs
- TypeDelegator.cs
- _NegotiateClient.cs
- CapacityStreamGeometryContext.cs
- MethodImplAttribute.cs
- VerifyHashRequest.cs
- ServiceThrottle.cs
- Point4D.cs
- SetMemberBinder.cs
- SafeEventLogWriteHandle.cs
- CollectionViewGroup.cs
- mda.cs
- ViewValidator.cs
- FreezableCollection.cs
- NativeMethods.cs
- EntityTypeBase.cs
- UndoManager.cs
- TimeSpanValidatorAttribute.cs
- Size3DValueSerializer.cs
- CellRelation.cs
- GeneratedView.cs
- DateTimeConstantAttribute.cs
- Mappings.cs
- ApplicationException.cs
- BitStream.cs
- OdbcConnectionOpen.cs
- CatalogZoneBase.cs
- PrefixHandle.cs
- ButtonPopupAdapter.cs
- SafeProcessHandle.cs
- XamlReader.cs
- Logging.cs
- OleDbParameter.cs
- List.cs
- AuthorizationRuleCollection.cs
- ProviderConnectionPoint.cs
- ImmComposition.cs
- DbConnectionHelper.cs
- CrossContextChannel.cs
- ArcSegment.cs
- StyleSheet.cs
- EdmSchemaAttribute.cs
- PropagatorResult.cs
- BamlRecords.cs
- SR.cs
- XmlRawWriterWrapper.cs
- StylusEditingBehavior.cs
- MultiView.cs
- PageAdapter.cs
- XmlNamespaceMappingCollection.cs
- ProviderConnectionPoint.cs
- HtmlWindowCollection.cs
- FeatureManager.cs
- ApplicationFileParser.cs
- ComboBox.cs
- WebPartTransformerCollection.cs
- EventsTab.cs
- ValidationRule.cs