Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Framework / System / Windows / Controls / ListViewItem.cs / 1 / ListViewItem.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System.Windows.Automation.Provider; namespace System.Windows.Controls { ////// Control that implements a selectable item inside a ListView. /// #if OLD_AUTOMATION [Automation(AccessibilityControlType = "ListItem")] #endif public class ListViewItem : ListBoxItem { // NOTE: ListViewItem has no default theme style. It uses ThemeStyleKey // to find default style for different view. // helper to set DefaultStyleKey of ListViewItem internal void SetDefaultStyleKey(object key) { DefaultStyleKey = key; } // helper to clear DefaultStyleKey of ListViewItem internal void ClearDefaultStyleKey() { ClearValue(DefaultStyleKeyProperty); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System.Windows.Automation.Provider; namespace System.Windows.Controls { ////// Control that implements a selectable item inside a ListView. /// #if OLD_AUTOMATION [Automation(AccessibilityControlType = "ListItem")] #endif public class ListViewItem : ListBoxItem { // NOTE: ListViewItem has no default theme style. It uses ThemeStyleKey // to find default style for different view. // helper to set DefaultStyleKey of ListViewItem internal void SetDefaultStyleKey(object key) { DefaultStyleKey = key; } // helper to clear DefaultStyleKey of ListViewItem internal void ClearDefaultStyleKey() { ClearValue(DefaultStyleKeyProperty); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlNotation.cs
- PointConverter.cs
- DataServiceContext.cs
- KeyValuePair.cs
- DomainLiteralReader.cs
- Hyperlink.cs
- BitmapMetadata.cs
- XslNumber.cs
- Operator.cs
- PrintDialog.cs
- RequestCacheEntry.cs
- Help.cs
- ShaderEffect.cs
- ObjectQueryProvider.cs
- InvalidEnumArgumentException.cs
- PenThreadWorker.cs
- ClientProxyGenerator.cs
- VirtualPathUtility.cs
- DataControlPagerLinkButton.cs
- MemberInfoSerializationHolder.cs
- MultiAsyncResult.cs
- DesignParameter.cs
- PathSegment.cs
- FixedSOMFixedBlock.cs
- XpsPackagingException.cs
- FrameAutomationPeer.cs
- Light.cs
- FrameworkElement.cs
- EncodingDataItem.cs
- ErrorsHelper.cs
- GlyphRunDrawing.cs
- COM2Properties.cs
- WmfPlaceableFileHeader.cs
- BuildManager.cs
- Regex.cs
- CLSCompliantAttribute.cs
- EnumerableWrapperWeakToStrong.cs
- FormViewPagerRow.cs
- ModelFunction.cs
- DecoratedNameAttribute.cs
- NotifyIcon.cs
- CommandValueSerializer.cs
- OleDbWrapper.cs
- DriveNotFoundException.cs
- EntityDataSourceUtil.cs
- DesignTimeXamlWriter.cs
- ServiceDescriptionSerializer.cs
- X509CertificateRecipientClientCredential.cs
- SymmetricKeyWrap.cs
- ButtonBaseAdapter.cs
- ControlIdConverter.cs
- GridLengthConverter.cs
- StorageAssociationSetMapping.cs
- PathSegmentCollection.cs
- DrawingBrush.cs
- SatelliteContractVersionAttribute.cs
- TableLayoutSettings.cs
- TextEditor.cs
- StatusBarItem.cs
- XmlSerializationWriter.cs
- MessageHeader.cs
- CodeBlockBuilder.cs
- ToolStripCustomTypeDescriptor.cs
- FontWeights.cs
- FramingChannels.cs
- WebServiceClientProxyGenerator.cs
- TranslateTransform3D.cs
- EndOfStreamException.cs
- AnnotationResource.cs
- SelectiveScrollingGrid.cs
- HierarchicalDataSourceControl.cs
- DependsOnAttribute.cs
- PtsContext.cs
- CharUnicodeInfo.cs
- _LoggingObject.cs
- ArithmeticLiteral.cs
- ITreeGenerator.cs
- MultipartContentParser.cs
- TextEndOfSegment.cs
- OrderByLifter.cs
- WrapPanel.cs
- AuthStoreRoleProvider.cs
- EvidenceBase.cs
- SoapAttributes.cs
- Accessors.cs
- WebPartDisplayMode.cs
- UserUseLicenseDictionaryLoader.cs
- AnonymousIdentificationSection.cs
- DocumentAutomationPeer.cs
- ButtonField.cs
- OleDbDataReader.cs
- Stylus.cs
- WebBrowserDocumentCompletedEventHandler.cs
- Codec.cs
- TextServicesHost.cs
- NavigateUrlConverter.cs
- DBConnectionString.cs
- processwaithandle.cs
- SiteMapProvider.cs
- ValidationPropertyAttribute.cs