Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- SecurityCriticalDataForSet.cs
- SqlDependency.cs
- PassportAuthenticationEventArgs.cs
- TimerElapsedEvenArgs.cs
- DiscoveryViaBehavior.cs
- CacheEntry.cs
- TypeExtension.cs
- AssemblySettingAttributes.cs
- ComboBoxItem.cs
- WinEventWrap.cs
- XsdBuilder.cs
- Util.cs
- PhysicalOps.cs
- AnnotationHighlightLayer.cs
- DrawingCollection.cs
- CustomValidator.cs
- WSDualHttpSecurityElement.cs
- Effect.cs
- XamlTreeBuilderBamlRecordWriter.cs
- DbConvert.cs
- AggregateNode.cs
- ListViewItemEventArgs.cs
- streamingZipPartStream.cs
- SerTrace.cs
- HttpListenerPrefixCollection.cs
- AvtEvent.cs
- _ListenerAsyncResult.cs
- MetadataFile.cs
- TextChange.cs
- ChtmlLinkAdapter.cs
- SqlDataSourceView.cs
- PrimaryKeyTypeConverter.cs
- PolicyManager.cs
- CompiledQueryCacheKey.cs
- AuthenticationServiceManager.cs
- ListItemConverter.cs
- FormParameter.cs
- ColorKeyFrameCollection.cs
- Models.cs
- updateconfighost.cs
- XmlComment.cs
- PartManifestEntry.cs
- TextViewDesigner.cs
- TypeToken.cs
- SecureEnvironment.cs
- ButtonFlatAdapter.cs
- FileBasedResourceGroveler.cs
- ReferenceConverter.cs
- AstTree.cs
- QueuePathEditor.cs
- DataContractSet.cs
- SpellerHighlightLayer.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- FormsIdentity.cs
- DataBindingExpressionBuilder.cs
- MultiTrigger.cs
- DefaultValidator.cs
- SafeRightsManagementSessionHandle.cs
- ResXBuildProvider.cs
- RenderData.cs
- OleDbSchemaGuid.cs
- XmlSchemaFacet.cs
- TrackingSection.cs
- FormatterConverter.cs
- ControllableStoryboardAction.cs
- DataPagerCommandEventArgs.cs
- EntityDataSourceQueryBuilder.cs
- ExtendedPropertyDescriptor.cs
- ValidationErrorInfo.cs
- CompatibleIComparer.cs
- UnsafeNativeMethods.cs
- EnumerableCollectionView.cs
- WebPartAddingEventArgs.cs
- DesignerUtils.cs
- CodeSnippetStatement.cs
- Resources.Designer.cs
- DesignerActionItem.cs
- WinFormsSecurity.cs
- AppDomain.cs
- DataGridRowHeaderAutomationPeer.cs
- IntegrationExceptionEventArgs.cs
- UserControlAutomationPeer.cs
- AssociationTypeEmitter.cs
- InputLanguage.cs
- PEFileEvidenceFactory.cs
- PackWebRequestFactory.cs
- TextDecorationUnitValidation.cs
- IndentTextWriter.cs
- Compiler.cs
- VSWCFServiceContractGenerator.cs
- TextParagraph.cs
- StringUtil.cs
- BooleanToVisibilityConverter.cs
- CustomTypeDescriptor.cs
- XmlSchemaChoice.cs
- ConstraintEnumerator.cs
- RichTextBox.cs
- LocalizableResourceBuilder.cs
- LifetimeManager.cs
- PostBackTrigger.cs