Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- Preprocessor.cs
- exports.cs
- TypeRestriction.cs
- DataMisalignedException.cs
- SafeNativeMethods.cs
- FunctionDetailsReader.cs
- PolyLineSegment.cs
- ClosableStream.cs
- HyperLinkField.cs
- DrawingState.cs
- ColorMap.cs
- OpenTypeLayoutCache.cs
- _SSPIWrapper.cs
- SpoolingTask.cs
- contentDescriptor.cs
- HttpContext.cs
- SqlClientWrapperSmiStream.cs
- Scene3D.cs
- InlinedAggregationOperator.cs
- ContextMarshalException.cs
- ValueTable.cs
- ClientScriptManagerWrapper.cs
- InternalResources.cs
- PassportAuthenticationEventArgs.cs
- SelectQueryOperator.cs
- ItemCollection.cs
- MailMessage.cs
- basevalidator.cs
- BaseParagraph.cs
- ColumnCollection.cs
- CorrelationService.cs
- EntitySetBase.cs
- WebPartVerbCollection.cs
- Encoder.cs
- Message.cs
- XmlCharacterData.cs
- StringStorage.cs
- QilLiteral.cs
- DataTableCollection.cs
- CommandTreeTypeHelper.cs
- BitmapDecoder.cs
- WebPartCloseVerb.cs
- EventData.cs
- HttpRuntime.cs
- Properties.cs
- NamedElement.cs
- SystemIPGlobalProperties.cs
- LoadedEvent.cs
- HttpListenerContext.cs
- TypeSystem.cs
- InternalPolicyElement.cs
- __TransparentProxy.cs
- ObservableCollection.cs
- AssertSection.cs
- DataChangedEventManager.cs
- BaseParagraph.cs
- ArraySet.cs
- EntityDataSourceContainerNameItem.cs
- DataGridSortCommandEventArgs.cs
- TypedAsyncResult.cs
- QilReference.cs
- Comparer.cs
- PersonalizableAttribute.cs
- EntityKey.cs
- MethodToken.cs
- MatrixStack.cs
- PaginationProgressEventArgs.cs
- Processor.cs
- AmbiguousMatchException.cs
- TextEffect.cs
- Border.cs
- MultitargetUtil.cs
- OdbcConnectionStringbuilder.cs
- EdmProperty.cs
- DesignerProperties.cs
- JsonReaderDelegator.cs
- XmlAtomicValue.cs
- GC.cs
- DrawItemEvent.cs
- UInt32Storage.cs
- IdentityNotMappedException.cs
- EmptyEnumerable.cs
- PeerContact.cs
- RouteParameter.cs
- ValueSerializer.cs
- FontStretch.cs
- LeafCellTreeNode.cs
- UIElementPropertyUndoUnit.cs
- JpegBitmapEncoder.cs
- UnknownBitmapEncoder.cs
- XamlReader.cs
- SliderAutomationPeer.cs
- BrowserDefinitionCollection.cs
- ActionFrame.cs
- TextServicesHost.cs
- CharEntityEncoderFallback.cs
- WebScriptMetadataMessageEncoderFactory.cs
- srgsitem.cs
- TransactionalPackage.cs
- TextViewBase.cs