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
- ProcessDesigner.cs
- FlowDecision.cs
- HtmlTableCell.cs
- Margins.cs
- ProjectionQueryOptionExpression.cs
- BlurBitmapEffect.cs
- BooleanExpr.cs
- ContainerParagraph.cs
- TableItemPattern.cs
- EmptyReadOnlyDictionaryInternal.cs
- NameTable.cs
- ForAllOperator.cs
- StylusPlugInCollection.cs
- BaseAutoFormat.cs
- NetNamedPipeBinding.cs
- EntityKeyElement.cs
- XPathDescendantIterator.cs
- EntityProviderFactory.cs
- Calendar.cs
- NotFiniteNumberException.cs
- DesignerForm.cs
- RetrieveVirtualItemEventArgs.cs
- HandlerBase.cs
- BidOverLoads.cs
- ECDsaCng.cs
- ArgIterator.cs
- ValueQuery.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- WebPartAddingEventArgs.cs
- PrinterResolution.cs
- ParallelEnumerableWrapper.cs
- HMACRIPEMD160.cs
- AsyncOperationLifetimeManager.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- BigIntegerStorage.cs
- DataGridItemEventArgs.cs
- GeometryGroup.cs
- TemplateField.cs
- securitymgrsite.cs
- ConfigurationManagerHelper.cs
- OleDbSchemaGuid.cs
- ILGenerator.cs
- UpDownBase.cs
- SchemaTypeEmitter.cs
- ImageClickEventArgs.cs
- ObjectSpanRewriter.cs
- InvokeProviderWrapper.cs
- StoreItemCollection.cs
- _AutoWebProxyScriptWrapper.cs
- RichTextBoxConstants.cs
- ThreadInterruptedException.cs
- initElementDictionary.cs
- DbReferenceCollection.cs
- DesignTimeTemplateParser.cs
- SparseMemoryStream.cs
- Point3DAnimation.cs
- AsymmetricCryptoHandle.cs
- IApplicationTrustManager.cs
- Literal.cs
- BaseCAMarshaler.cs
- HtmlElementCollection.cs
- PaintEvent.cs
- VisualTreeHelper.cs
- ReplacementText.cs
- LayoutEvent.cs
- TextOptions.cs
- DropDownList.cs
- CompilerHelpers.cs
- CodeMethodInvokeExpression.cs
- GridViewRowPresenterBase.cs
- DataGridViewToolTip.cs
- DynamicQueryableWrapper.cs
- NetSectionGroup.cs
- Header.cs
- GifBitmapDecoder.cs
- CorrelationManager.cs
- GeneralTransform3DCollection.cs
- PreloadedPackages.cs
- AnimationLayer.cs
- DbQueryCommandTree.cs
- TextModifier.cs
- FontWeights.cs
- ReferenceCountedObject.cs
- RecipientInfo.cs
- Privilege.cs
- DataGridViewRowEventArgs.cs
- DataShape.cs
- SecurityDescriptor.cs
- MenuCommands.cs
- AssemblyCollection.cs
- TagPrefixInfo.cs
- TextLine.cs
- CommandField.cs
- EventProviderWriter.cs
- TextWriterEngine.cs
- TdsParserSafeHandles.cs
- MenuCommand.cs
- RecognizedAudio.cs
- WindowsAuthenticationEventArgs.cs
- ToolBarDesigner.cs