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
- TypeSystemProvider.cs
- ReachDocumentSequenceSerializer.cs
- BitmapEffectInput.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- MultitargetUtil.cs
- TextSelectionProcessor.cs
- ParseChildrenAsPropertiesAttribute.cs
- GridViewPageEventArgs.cs
- RouteData.cs
- UnsafeNativeMethods.cs
- StreamUpgradeProvider.cs
- BevelBitmapEffect.cs
- MimeParameters.cs
- ClientCultureInfo.cs
- CollaborationHelperFunctions.cs
- DesignerTransactionCloseEvent.cs
- EntityContainerAssociationSetEnd.cs
- ClientFormsIdentity.cs
- ObjectDataSourceChooseMethodsPanel.cs
- ObjectDataSourceDisposingEventArgs.cs
- Inflater.cs
- EventManager.cs
- EntityTransaction.cs
- RegexStringValidator.cs
- VSWCFServiceContractGenerator.cs
- FileChangesMonitor.cs
- XmlChildNodes.cs
- OleStrCAMarshaler.cs
- IndexerNameAttribute.cs
- XmlBinaryWriterSession.cs
- NamespaceCollection.cs
- Quaternion.cs
- DataGridRowHeaderAutomationPeer.cs
- SQLString.cs
- __Filters.cs
- PerformanceCounterPermissionEntry.cs
- XmlIlVisitor.cs
- RepeatInfo.cs
- XmlEntity.cs
- Panel.cs
- DefaultAsyncDataDispatcher.cs
- XmlSerializationWriter.cs
- SafeNativeMethodsOther.cs
- LicenseException.cs
- SafeArchiveContext.cs
- OdbcInfoMessageEvent.cs
- SecurityUniqueId.cs
- SqlServices.cs
- ListCollectionView.cs
- ConstraintEnumerator.cs
- SqlWebEventProvider.cs
- XmlNodeList.cs
- TypedDatasetGenerator.cs
- Error.cs
- SchemaTypeEmitter.cs
- OneOfConst.cs
- ThemeableAttribute.cs
- Dump.cs
- AnonymousIdentificationSection.cs
- SoapTransportImporter.cs
- HtmlButton.cs
- HttpHandlerActionCollection.cs
- SkewTransform.cs
- MobileRedirect.cs
- MenuItemBinding.cs
- WmpBitmapDecoder.cs
- BitSet.cs
- SQLString.cs
- BufferModesCollection.cs
- CodeTypeDeclarationCollection.cs
- BehaviorEditorPart.cs
- SqlDataReaderSmi.cs
- Psha1DerivedKeyGenerator.cs
- BindToObject.cs
- WhereQueryOperator.cs
- AuthorizationRuleCollection.cs
- ObjectDataSourceFilteringEventArgs.cs
- Operand.cs
- PropertyValue.cs
- AspCompat.cs
- AsyncOperation.cs
- DesignerLinkAdapter.cs
- Boolean.cs
- ControlBuilderAttribute.cs
- TransactionTraceIdentifier.cs
- RemoteCryptoRsaServiceProvider.cs
- HelpInfo.cs
- ExpressionEditorAttribute.cs
- PropertyTabAttribute.cs
- LocalBuilder.cs
- StatusBarPanelClickEvent.cs
- CatalogZone.cs
- Message.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- RuntimeVariablesExpression.cs
- Size.cs
- Int32Animation.cs
- MappingItemCollection.cs
- RawStylusSystemGestureInputReport.cs
- UnknownWrapper.cs