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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProcessModelInfo.cs
- WindowAutomationPeer.cs
- DbMetaDataCollectionNames.cs
- CombinedHttpChannel.cs
- GridLengthConverter.cs
- GraphicsContainer.cs
- OneToOneMappingSerializer.cs
- SequentialWorkflowRootDesigner.cs
- DoubleStorage.cs
- Query.cs
- ContractUtils.cs
- CharacterBufferReference.cs
- SocketInformation.cs
- EmptyEnumerator.cs
- TypeFieldSchema.cs
- MimeTypeMapper.cs
- RunWorkerCompletedEventArgs.cs
- SecurityElement.cs
- SessionEndedEventArgs.cs
- DataFieldEditor.cs
- Rectangle.cs
- TextRenderer.cs
- SyndicationItemFormatter.cs
- AccessControlEntry.cs
- FragmentNavigationEventArgs.cs
- RectConverter.cs
- EventSourceCreationData.cs
- Enumerable.cs
- ExpressionParser.cs
- MethodBuilder.cs
- LineServicesRun.cs
- MetadataArtifactLoaderCompositeFile.cs
- SecurityTimestamp.cs
- DescriptionAttribute.cs
- TextAdaptor.cs
- PeerNameRegistration.cs
- ValidationErrorInfo.cs
- FileDataSourceCache.cs
- _HelperAsyncResults.cs
- FunctionUpdateCommand.cs
- Preprocessor.cs
- WebPartDisplayModeEventArgs.cs
- ButtonBaseAutomationPeer.cs
- DefaultBindingPropertyAttribute.cs
- XPathDocumentNavigator.cs
- ToolStripItemCollection.cs
- ProviderManager.cs
- ApplicationId.cs
- RijndaelManaged.cs
- Hash.cs
- ParallelQuery.cs
- Completion.cs
- HScrollBar.cs
- FullTextState.cs
- DependentList.cs
- SHA1.cs
- TypographyProperties.cs
- BitmapMetadata.cs
- Helpers.cs
- HtmlInputImage.cs
- DesigntimeLicenseContext.cs
- PropertyItem.cs
- StorageMappingFragment.cs
- ReliableMessagingVersion.cs
- DataTableMappingCollection.cs
- GridEntryCollection.cs
- WindowsAuthenticationEventArgs.cs
- FeatureManager.cs
- SecurityRuntime.cs
- arabicshape.cs
- PackageDigitalSignatureManager.cs
- VariableValue.cs
- ButtonPopupAdapter.cs
- AdjustableArrowCap.cs
- XmlNodeChangedEventArgs.cs
- Timer.cs
- ObjectSelectorEditor.cs
- _OSSOCK.cs
- ResourceProviderFactory.cs
- PrintPageEvent.cs
- DynamicMethod.cs
- URLIdentityPermission.cs
- AttributeExtensions.cs
- OrderedHashRepartitionEnumerator.cs
- BaseProcessor.cs
- PropertyMapper.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- TextTreePropertyUndoUnit.cs
- PropertyDescriptors.cs
- DeclarativeCatalogPart.cs
- XamlNamespaceHelper.cs
- TextElementEnumerator.cs
- DataBindingCollection.cs
- WindowsTab.cs
- XmlExtensionFunction.cs
- TreeNodeMouseHoverEvent.cs
- LazyInitializer.cs
- FactoryGenerator.cs
- ObjectDataSourceFilteringEventArgs.cs
- SimpleTypesSurrogate.cs