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
- ListBoxItem.cs
- SrgsNameValueTag.cs
- EdmScalarPropertyAttribute.cs
- CompositeFontParser.cs
- ProcessExitedException.cs
- _KerberosClient.cs
- GenericWebPart.cs
- HostedTransportConfigurationBase.cs
- HybridDictionary.cs
- BuiltInExpr.cs
- ServiceContractListItemList.cs
- XPathMultyIterator.cs
- WinEventTracker.cs
- OlePropertyStructs.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ImageClickEventArgs.cs
- MetadataPropertyvalue.cs
- DomainConstraint.cs
- GlyphRunDrawing.cs
- XmlSchemaCollection.cs
- ListDictionaryInternal.cs
- MessageQueuePermissionEntry.cs
- AggregateNode.cs
- UriWriter.cs
- XPathMultyIterator.cs
- XmlSchemaAnyAttribute.cs
- AuthenticationModuleElementCollection.cs
- WsdlInspector.cs
- XmlQueryRuntime.cs
- Lasso.cs
- WebPartDescription.cs
- MessageAction.cs
- DocumentSchemaValidator.cs
- webclient.cs
- CompositeDispatchFormatter.cs
- XamlTemplateSerializer.cs
- ApplicationProxyInternal.cs
- DataGridViewRowPostPaintEventArgs.cs
- GZipDecoder.cs
- LayoutInformation.cs
- TypeCodeDomSerializer.cs
- JavaScriptSerializer.cs
- WinEventWrap.cs
- TextElement.cs
- AsyncPostBackTrigger.cs
- altserialization.cs
- AnchorEditor.cs
- TemplateControlCodeDomTreeGenerator.cs
- BufferedGraphicsManager.cs
- Matrix.cs
- HttpRequestCacheValidator.cs
- BlockUIContainer.cs
- Partitioner.cs
- ErrorFormatterPage.cs
- DataTableNewRowEvent.cs
- EditorBrowsableAttribute.cs
- TabControlAutomationPeer.cs
- SendKeys.cs
- RuntimeConfigLKG.cs
- MetadataPropertyAttribute.cs
- AttachedAnnotationChangedEventArgs.cs
- DetailsViewDeleteEventArgs.cs
- SHA1Managed.cs
- XPathDocumentIterator.cs
- DataGridViewRowPostPaintEventArgs.cs
- ColumnReorderedEventArgs.cs
- LinkLabelLinkClickedEvent.cs
- DbModificationClause.cs
- WebSysDescriptionAttribute.cs
- MSHTMLHost.cs
- brushes.cs
- TypeUtil.cs
- ReadOnlyState.cs
- _ChunkParse.cs
- QilStrConcatenator.cs
- SchemaHelper.cs
- InkCanvasSelection.cs
- Utilities.cs
- SchemaTypeEmitter.cs
- XmlSchemaComplexType.cs
- DataObject.cs
- ServiceDescriptionReflector.cs
- TreeWalkHelper.cs
- XmlDataLoader.cs
- VisualProxy.cs
- ProviderMetadata.cs
- PriorityQueue.cs
- PointCollection.cs
- SectionXmlInfo.cs
- SystemResourceKey.cs
- ClickablePoint.cs
- DtdParser.cs
- Context.cs
- QilPatternFactory.cs
- DataRow.cs
- BaseComponentEditor.cs
- ZipIOExtraField.cs
- CodeMethodMap.cs
- CounterCreationDataConverter.cs
- FieldInfo.cs