Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- DriveNotFoundException.cs
- TextAdaptor.cs
- LifetimeServices.cs
- ComponentTray.cs
- PageHandlerFactory.cs
- TraceXPathNavigator.cs
- InputMethod.cs
- PolygonHotSpot.cs
- XmlKeywords.cs
- InkPresenterAutomationPeer.cs
- SrgsGrammar.cs
- ActivityBindForm.cs
- CodePropertyReferenceExpression.cs
- LifetimeServices.cs
- BaseContextMenu.cs
- SerializationSectionGroup.cs
- NTAccount.cs
- EntityReference.cs
- Type.cs
- OutputWindow.cs
- OdbcReferenceCollection.cs
- DataKey.cs
- SortExpressionBuilder.cs
- BitmapCodecInfo.cs
- JsonFormatReaderGenerator.cs
- Math.cs
- WCFBuildProvider.cs
- SystemIcmpV4Statistics.cs
- FormViewInsertEventArgs.cs
- CompilerState.cs
- XmlReflectionMember.cs
- OleDbInfoMessageEvent.cs
- SqlGenerator.cs
- Util.cs
- CodeTypeReference.cs
- EventData.cs
- CellLabel.cs
- InvalidWorkflowException.cs
- SpecialFolderEnumConverter.cs
- Message.cs
- ParameterExpression.cs
- JoinCqlBlock.cs
- MetadataUtilsSmi.cs
- HttpDebugHandler.cs
- NetTcpSectionData.cs
- UseLicense.cs
- DrawingServices.cs
- InvalidPropValue.cs
- HttpHeaderCollection.cs
- SourceFileBuildProvider.cs
- RenamedEventArgs.cs
- QuaternionAnimation.cs
- CalendarDay.cs
- StreamInfo.cs
- DynamicRendererThreadManager.cs
- HtmlEncodedRawTextWriter.cs
- SyndicationDeserializer.cs
- UnhandledExceptionEventArgs.cs
- ValidationHelper.cs
- TraceSwitch.cs
- PageWrapper.cs
- RewritingSimplifier.cs
- TypeDescriptionProvider.cs
- BindingSource.cs
- ProcessHost.cs
- NamespaceList.cs
- Substitution.cs
- LoopExpression.cs
- RowBinding.cs
- ExpressionBindingCollection.cs
- _IPv4Address.cs
- DeferredRunTextReference.cs
- COM2FontConverter.cs
- ChtmlPhoneCallAdapter.cs
- Types.cs
- BookmarkManager.cs
- FlowDocumentPaginator.cs
- PartialCachingAttribute.cs
- EntityContainerRelationshipSetEnd.cs
- HttpCacheVaryByContentEncodings.cs
- Track.cs
- WindowAutomationPeer.cs
- WpfWebRequestHelper.cs
- SurrogateDataContract.cs
- PersonalizationStateInfo.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- OperandQuery.cs
- KeyValuePair.cs
- LocalValueEnumerator.cs
- safelink.cs
- HotSpot.cs
- DataSourceDescriptorCollection.cs
- LayeredChannelFactory.cs
- TiffBitmapDecoder.cs
- SemanticBasicElement.cs
- ImageFormatConverter.cs
- BevelBitmapEffect.cs
- SessionStateModule.cs
- HttpProtocolImporter.cs
- CannotUnloadAppDomainException.cs