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
- DataGridViewColumn.cs
- XmlSchemaException.cs
- CroppedBitmap.cs
- XmlArrayItemAttributes.cs
- SchemaHelper.cs
- FtpCachePolicyElement.cs
- TextFindEngine.cs
- TimeoutValidationAttribute.cs
- TabletDevice.cs
- FullTextLine.cs
- ClientProxyGenerator.cs
- SafeFindHandle.cs
- UndoManager.cs
- IISMapPath.cs
- TimeSpanValidator.cs
- SystemIcons.cs
- UserValidatedEventArgs.cs
- SignedPkcs7.cs
- TextBoxAutoCompleteSourceConverter.cs
- PointUtil.cs
- TextCompositionEventArgs.cs
- StructureChangedEventArgs.cs
- VScrollBar.cs
- CapiNative.cs
- Material.cs
- PropertyOrder.cs
- DataGridTextBoxColumn.cs
- CodeMemberField.cs
- BooleanStorage.cs
- NonClientArea.cs
- Operand.cs
- ResetableIterator.cs
- OptimizedTemplateContentHelper.cs
- _SecureChannel.cs
- DeadCharTextComposition.cs
- ValidationSummary.cs
- SecurityManager.cs
- WindowVisualStateTracker.cs
- ObjectQueryState.cs
- PenContext.cs
- VoiceChangeEventArgs.cs
- XmlSignatureManifest.cs
- TreeSet.cs
- ImageConverter.cs
- XmlSchemaNotation.cs
- ThreadPool.cs
- SqlSelectClauseBuilder.cs
- DataSourceControlBuilder.cs
- AssignDesigner.xaml.cs
- FontStretches.cs
- SqlCommandSet.cs
- DataTablePropertyDescriptor.cs
- ListItemParagraph.cs
- SystemInformation.cs
- MailMessageEventArgs.cs
- SchemaImporterExtensionElementCollection.cs
- DataGridViewSelectedColumnCollection.cs
- ContextInformation.cs
- UInt64Converter.cs
- ToolStripHighContrastRenderer.cs
- SoapExtensionStream.cs
- _DisconnectOverlappedAsyncResult.cs
- OpenTypeLayout.cs
- ElementMarkupObject.cs
- SeparatorAutomationPeer.cs
- SafeIUnknown.cs
- TextProperties.cs
- CollectionView.cs
- TextTreeInsertElementUndoUnit.cs
- ContentPlaceHolderDesigner.cs
- ObjectQueryProvider.cs
- OracleParameter.cs
- COSERVERINFO.cs
- ConfigurationFileMap.cs
- ValidatedControlConverter.cs
- input.cs
- SourceLineInfo.cs
- StreamResourceInfo.cs
- NumberSubstitution.cs
- AxHostDesigner.cs
- ApplicationId.cs
- HttpCapabilitiesBase.cs
- WorkflowViewElement.cs
- XamlClipboardData.cs
- RadioButton.cs
- ActivityDelegate.cs
- SchemaImporterExtensionElement.cs
- HasCopySemanticsAttribute.cs
- ToolStripSplitButton.cs
- ServiceActivationException.cs
- SplayTreeNode.cs
- PageVisual.cs
- WebColorConverter.cs
- GuidelineCollection.cs
- StylusPointProperties.cs
- SectionInput.cs
- DetailsViewUpdatedEventArgs.cs
- SchemaElement.cs
- Control.cs
- PaintValueEventArgs.cs