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
- OletxEnlistment.cs
- WindowsListViewItemCheckBox.cs
- RangeBase.cs
- SchemaObjectWriter.cs
- RuntimeConfigurationRecord.cs
- DbConnectionInternal.cs
- Binding.cs
- ConfigXmlDocument.cs
- StyleCollection.cs
- PriorityBinding.cs
- mactripleDES.cs
- DragEvent.cs
- RelatedImageListAttribute.cs
- RuntimeCompatibilityAttribute.cs
- UnitySerializationHolder.cs
- ServiceDescriptionData.cs
- X509Certificate.cs
- AssemblyResourceLoader.cs
- CacheChildrenQuery.cs
- OleDbParameterCollection.cs
- ComponentCollection.cs
- QueryCacheEntry.cs
- MultiBinding.cs
- JapaneseCalendar.cs
- Connection.cs
- HealthMonitoringSectionHelper.cs
- DataGridViewSelectedColumnCollection.cs
- LineInfo.cs
- SQLBytes.cs
- TimeManager.cs
- ExpressionCopier.cs
- Evidence.cs
- ObjectResult.cs
- SqlCacheDependencySection.cs
- IdnMapping.cs
- ColorConverter.cs
- SafeNativeMethods.cs
- HtmlControlPersistable.cs
- CodeAccessPermission.cs
- SharedConnectionListener.cs
- SqlDataSourceCache.cs
- BitmapFrameEncode.cs
- DesignSurfaceCollection.cs
- ProgressBarRenderer.cs
- HttpCachePolicy.cs
- Menu.cs
- TextParagraphProperties.cs
- SQLUtility.cs
- XmlBinaryWriter.cs
- BitmapEncoder.cs
- Condition.cs
- HttpRequest.cs
- XPathConvert.cs
- ObjectQueryExecutionPlan.cs
- ConfigurationValue.cs
- ControlPropertyNameConverter.cs
- DateTimeAutomationPeer.cs
- ConfigUtil.cs
- ElapsedEventArgs.cs
- GridItemPatternIdentifiers.cs
- InstanceData.cs
- KeyEventArgs.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- PeerInvitationResponse.cs
- MarshalByRefObject.cs
- CodeCommentStatementCollection.cs
- GenerateTemporaryTargetAssembly.cs
- TimeStampChecker.cs
- Window.cs
- GenericsInstances.cs
- WindowsFormsSectionHandler.cs
- ResourceReferenceExpression.cs
- RegexCapture.cs
- _UncName.cs
- _SecureChannel.cs
- _emptywebproxy.cs
- HtmlDocument.cs
- RegexInterpreter.cs
- SortedDictionary.cs
- SmiEventStream.cs
- PointLight.cs
- ChildDocumentBlock.cs
- DrawingBrush.cs
- InvokeWebService.cs
- RadioButtonBaseAdapter.cs
- UTF8Encoding.cs
- WindowInteractionStateTracker.cs
- JsonEncodingStreamWrapper.cs
- Model3DCollection.cs
- ImageFormatConverter.cs
- TextRunTypographyProperties.cs
- ToolboxCategoryItems.cs
- XPathParser.cs
- CodeGen.cs
- _SSPIWrapper.cs
- EntityContainerAssociationSet.cs
- InputScope.cs
- ECDsaCng.cs
- ExpressionTextBox.xaml.cs
- PointValueSerializer.cs