Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- COM2Properties.cs
- SqlVisitor.cs
- Stream.cs
- WebSysDisplayNameAttribute.cs
- StringToken.cs
- SqlDataSourceCache.cs
- Decorator.cs
- ChannelManager.cs
- FastEncoder.cs
- InfoCardMetadataExchangeClient.cs
- Substitution.cs
- AssemblyGen.cs
- FileDialog.cs
- SqlNodeTypeOperators.cs
- _HeaderInfoTable.cs
- LinqDataSourceContextEventArgs.cs
- IsolationInterop.cs
- ObjectFullSpanRewriter.cs
- ProvideValueServiceProvider.cs
- XmlExceptionHelper.cs
- ScriptingProfileServiceSection.cs
- infer.cs
- PasswordPropertyTextAttribute.cs
- Size3D.cs
- TextRenderer.cs
- Opcode.cs
- AuthenticationManager.cs
- IsolatedStorage.cs
- ClassicBorderDecorator.cs
- _ScatterGatherBuffers.cs
- ButtonFieldBase.cs
- EdmType.cs
- JsonStringDataContract.cs
- DetailsViewInsertedEventArgs.cs
- XmlDataCollection.cs
- MainMenu.cs
- securitymgrsite.cs
- DebugInfo.cs
- ParserStreamGeometryContext.cs
- SchemaImporterExtensionsSection.cs
- DeclarativeConditionsCollection.cs
- _NativeSSPI.cs
- ConfigurationStrings.cs
- CodeRegionDirective.cs
- RSAPKCS1SignatureDeformatter.cs
- TextTreeObjectNode.cs
- ToolStripSplitStackLayout.cs
- MultiView.cs
- SettingsPropertyNotFoundException.cs
- CallbackException.cs
- XmlDataSourceNodeDescriptor.cs
- ImmutableCommunicationTimeouts.cs
- Int16AnimationUsingKeyFrames.cs
- SerialPort.cs
- MaskedTextBoxTextEditorDropDown.cs
- CodeSnippetStatement.cs
- LambdaCompiler.Binary.cs
- DbConnectionPoolOptions.cs
- VectorAnimationBase.cs
- ComboBoxItem.cs
- SecurityRequiresReviewAttribute.cs
- NewItemsContextMenuStrip.cs
- WebBrowserProgressChangedEventHandler.cs
- util.cs
- HyperlinkAutomationPeer.cs
- FormViewModeEventArgs.cs
- EditorOptionAttribute.cs
- DispatcherEventArgs.cs
- FocusTracker.cs
- LogicalTreeHelper.cs
- PackUriHelper.cs
- GridViewColumn.cs
- SevenBitStream.cs
- RepeaterItemEventArgs.cs
- SmtpFailedRecipientException.cs
- BamlWriter.cs
- DisposableCollectionWrapper.cs
- MenuItemAutomationPeer.cs
- base64Transforms.cs
- webclient.cs
- OrderedHashRepartitionEnumerator.cs
- XmlSerializationGeneratedCode.cs
- HttpWebRequestElement.cs
- ScriptManager.cs
- Imaging.cs
- HuffmanTree.cs
- SQLInt16Storage.cs
- httpstaticobjectscollection.cs
- ManagedFilter.cs
- WhitespaceRuleLookup.cs
- TreeNodeCollection.cs
- SmiEventStream.cs
- CollectionContainer.cs
- DetailsViewUpdatedEventArgs.cs
- SqlMethodAttribute.cs
- CallSiteHelpers.cs
- HttpCookieCollection.cs
- DesignerSerializationOptionsAttribute.cs
- DataRelation.cs
- ResetableIterator.cs