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
- WmlControlAdapter.cs
- ProxyGenerator.cs
- IDispatchConstantAttribute.cs
- DynamicResourceExtension.cs
- OracleParameter.cs
- RoleManagerEventArgs.cs
- ViewCellRelation.cs
- FastEncoderWindow.cs
- ToolStripItemCollection.cs
- RootBuilder.cs
- CustomValidator.cs
- BrowserCapabilitiesFactory.cs
- ContextMarshalException.cs
- ReflectionPermission.cs
- RangeValueProviderWrapper.cs
- TabletDevice.cs
- CellLabel.cs
- CultureData.cs
- InputLangChangeEvent.cs
- IDQuery.cs
- ZipIOLocalFileDataDescriptor.cs
- Debug.cs
- CodeTypeMember.cs
- Screen.cs
- OrderingExpression.cs
- Subset.cs
- newitemfactory.cs
- DynamicObjectAccessor.cs
- MsmqIntegrationBindingElement.cs
- shaperfactoryquerycachekey.cs
- TextEndOfParagraph.cs
- IResourceProvider.cs
- RecommendedAsConfigurableAttribute.cs
- ConcurrentDictionary.cs
- SQLInt16Storage.cs
- COAUTHIDENTITY.cs
- RuntimeWrappedException.cs
- Transform3D.cs
- HasCopySemanticsAttribute.cs
- TemplateControlCodeDomTreeGenerator.cs
- FieldToken.cs
- FontInfo.cs
- Error.cs
- ChtmlPageAdapter.cs
- RepeatButtonAutomationPeer.cs
- SiteMapProvider.cs
- SecurityResources.cs
- NTAccount.cs
- SolidBrush.cs
- CustomCategoryAttribute.cs
- FullTextBreakpoint.cs
- MultiPropertyDescriptorGridEntry.cs
- StatusCommandUI.cs
- SequentialUshortCollection.cs
- SqlDataReaderSmi.cs
- TableLayoutColumnStyleCollection.cs
- TextChangedEventArgs.cs
- SecUtil.cs
- Light.cs
- LiteralControl.cs
- WebPartsPersonalizationAuthorization.cs
- QueryableDataSourceView.cs
- FixUpCollection.cs
- RelOps.cs
- CommandHelper.cs
- PreviewControlDesigner.cs
- EditorPartCollection.cs
- Graphics.cs
- StreamGeometry.cs
- InstanceKeyView.cs
- Condition.cs
- MessageSecurityException.cs
- MissingMemberException.cs
- CompiledQueryCacheKey.cs
- CompositeActivityTypeDescriptorProvider.cs
- TreeViewImageIndexConverter.cs
- ListViewPagedDataSource.cs
- VisualCollection.cs
- InternalPermissions.cs
- TypefaceMap.cs
- XmlTypeAttribute.cs
- EntityContainerEmitter.cs
- EditorZoneAutoFormat.cs
- DeferredTextReference.cs
- IxmlLineInfo.cs
- WorkflowMarkupSerializationManager.cs
- SortQuery.cs
- StructuredProperty.cs
- AnimatedTypeHelpers.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- HasCopySemanticsAttribute.cs
- EnumerableWrapperWeakToStrong.cs
- Publisher.cs
- MessageEncoder.cs
- PartEditor.cs
- ChunkedMemoryStream.cs
- CLSCompliantAttribute.cs
- RewritingSimplifier.cs
- SocketConnection.cs
- RootDesignerSerializerAttribute.cs