Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / ListViewItem.cs / 1305600 / 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
- TextAnchor.cs
- XamlSerializer.cs
- DataGridParentRows.cs
- DefaultAsyncDataDispatcher.cs
- Timer.cs
- FunctionCommandText.cs
- TableLayoutPanelDesigner.cs
- DataSourceProvider.cs
- SmiGettersStream.cs
- ActiveXHost.cs
- DirectoryObjectSecurity.cs
- ListDictionaryInternal.cs
- WebServiceResponse.cs
- RuleSetDialog.Designer.cs
- ButtonFieldBase.cs
- InputLanguageCollection.cs
- LinkLabelLinkClickedEvent.cs
- FormDocumentDesigner.cs
- AnnotationMap.cs
- WebPartRestoreVerb.cs
- KeyedQueue.cs
- ProgressBarBrushConverter.cs
- TextTreeText.cs
- GridItemCollection.cs
- VirtualizedCellInfoCollection.cs
- CompositeActivityTypeDescriptorProvider.cs
- DefaultPropertyAttribute.cs
- Pair.cs
- SmtpDigestAuthenticationModule.cs
- DesignerAttribute.cs
- UdpDiscoveryMessageFilter.cs
- RbTree.cs
- LocalizationParserHooks.cs
- InternalSafeNativeMethods.cs
- XamlSerializerUtil.cs
- CodeDefaultValueExpression.cs
- __ComObject.cs
- ThreadInterruptedException.cs
- ToolBar.cs
- EmissiveMaterial.cs
- LogEntryHeaderSerializer.cs
- Color.cs
- QilStrConcatenator.cs
- CodeDomDecompiler.cs
- X509Certificate.cs
- InkPresenter.cs
- XmlText.cs
- WorkflowIdleBehavior.cs
- CopyNodeSetAction.cs
- ToolboxItemWrapper.cs
- SessionChannels.cs
- DocumentSequence.cs
- DeploymentSectionCache.cs
- WindowsMenu.cs
- LocalizedNameDescriptionPair.cs
- NameSpaceEvent.cs
- CommandHelper.cs
- PreservationFileWriter.cs
- HtmlTitle.cs
- BitmapEffect.cs
- WeakReference.cs
- XmlSchemaInfo.cs
- altserialization.cs
- CodeDirectionExpression.cs
- SqlConnection.cs
- XmlSerializationGeneratedCode.cs
- HtmlMobileTextWriter.cs
- SQLUtility.cs
- FunctionCommandText.cs
- regiisutil.cs
- SoapHeader.cs
- PenContext.cs
- DSACryptoServiceProvider.cs
- BamlLocalizationDictionary.cs
- _LazyAsyncResult.cs
- DocumentViewer.cs
- GridSplitterAutomationPeer.cs
- InternalBase.cs
- WSDualHttpSecurityMode.cs
- DocumentViewerConstants.cs
- Int32Converter.cs
- ElementsClipboardData.cs
- Enum.cs
- ViewBase.cs
- XPathNavigator.cs
- connectionpool.cs
- XamlPoint3DCollectionSerializer.cs
- PassportAuthenticationModule.cs
- ErrorFormatter.cs
- TabItemAutomationPeer.cs
- ZoomPercentageConverter.cs
- ReadOnlyDictionary.cs
- ResourcePermissionBase.cs
- ContractBase.cs
- DirectionalLight.cs
- ComAdminWrapper.cs
- BitmapEffectrendercontext.cs
- DocumentSchemaValidator.cs
- FontInfo.cs
- Content.cs