Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- TreeNodeConverter.cs
- BaseDataBoundControl.cs
- PrimitiveXmlSerializers.cs
- StrokeNodeData.cs
- SpellerError.cs
- QilLiteral.cs
- TrustLevelCollection.cs
- BinaryObjectWriter.cs
- FilteredDataSetHelper.cs
- _AutoWebProxyScriptEngine.cs
- ArgumentOutOfRangeException.cs
- ConditionCollection.cs
- WebPartMenuStyle.cs
- CodeObjectCreateExpression.cs
- QueryReaderSettings.cs
- KnowledgeBase.cs
- EndOfStreamException.cs
- TrustLevel.cs
- PostBackOptions.cs
- GridViewActionList.cs
- PeerNameRecordCollection.cs
- ObjectDataProvider.cs
- InvalidOleVariantTypeException.cs
- CheckBox.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- MemberHolder.cs
- HandlerBase.cs
- TextEditorSelection.cs
- SuppressIldasmAttribute.cs
- ReferentialConstraint.cs
- InheritanceContextHelper.cs
- ReferenceCountedObject.cs
- CommandLineParser.cs
- BuildResultCache.cs
- WebServiceEndpoint.cs
- SessionEndingEventArgs.cs
- InvalidCommandTreeException.cs
- CompModSwitches.cs
- odbcmetadatafactory.cs
- InvokeProviderWrapper.cs
- ServiceBusyException.cs
- PageThemeBuildProvider.cs
- NavigatorInvalidBodyAccessException.cs
- ContentPresenter.cs
- TabItemAutomationPeer.cs
- Transform3DCollection.cs
- BaseValidator.cs
- SystemParameters.cs
- FontFamily.cs
- FixedHighlight.cs
- DependencySource.cs
- InvalidOleVariantTypeException.cs
- streamingZipPartStream.cs
- ContentIterators.cs
- BitConverter.cs
- FrameworkElementAutomationPeer.cs
- QuaternionAnimationUsingKeyFrames.cs
- SoapProcessingBehavior.cs
- DesignTimeHTMLTextWriter.cs
- SchemaObjectWriter.cs
- CommunicationException.cs
- PackageRelationship.cs
- TextSyndicationContent.cs
- EventLogPermissionEntry.cs
- DefaultTextStoreTextComposition.cs
- UserNameServiceElement.cs
- Menu.cs
- QuaternionAnimation.cs
- SoapMessage.cs
- FormatConvertedBitmap.cs
- NTAccount.cs
- FacetDescriptionElement.cs
- BufferCache.cs
- PartManifestEntry.cs
- CodeDomSerializer.cs
- WSSecurityTokenSerializer.cs
- MultiByteCodec.cs
- LocalBuilder.cs
- XmlArrayItemAttribute.cs
- PersonalizablePropertyEntry.cs
- Pens.cs
- DocumentSequence.cs
- XmlSchemaCollection.cs
- StateValidator.cs
- CopyOfAction.cs
- FacetChecker.cs
- Util.cs
- PrivilegedConfigurationManager.cs
- IssuanceLicense.cs
- _AuthenticationState.cs
- Stopwatch.cs
- MenuBindingsEditor.cs
- RefreshPropertiesAttribute.cs
- UiaCoreProviderApi.cs
- ADConnectionHelper.cs
- XmlNodeComparer.cs
- GroupQuery.cs
- QuadraticBezierSegment.cs
- ListViewUpdateEventArgs.cs
- TextPenaltyModule.cs