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
- ProviderMetadataCachedInformation.cs
- XmlSchemaImporter.cs
- EventRoute.cs
- ConstructorNeedsTagAttribute.cs
- DataGridColumnCollection.cs
- DesignerDeviceConfig.cs
- IntSecurity.cs
- Property.cs
- InvokeMemberBinder.cs
- NetPeerTcpBindingElement.cs
- WebPartTransformer.cs
- HtmlElement.cs
- NamedPermissionSet.cs
- JapaneseCalendar.cs
- Shape.cs
- FunctionUpdateCommand.cs
- BamlLocalizer.cs
- NonSerializedAttribute.cs
- AsyncDataRequest.cs
- ComEventsHelper.cs
- XamlHostingConfiguration.cs
- TreeNodeEventArgs.cs
- IProvider.cs
- UserControl.cs
- WebResourceAttribute.cs
- TypeBuilder.cs
- BinarySerializer.cs
- SimpleApplicationHost.cs
- SqlProfileProvider.cs
- RequestQueue.cs
- CategoryValueConverter.cs
- ProcessHostConfigUtils.cs
- ILGenerator.cs
- XamlSerializationHelper.cs
- PropertiesTab.cs
- RealProxy.cs
- UpDownEvent.cs
- QilChoice.cs
- DiscoveryClientChannelBase.cs
- RoutedCommand.cs
- Focus.cs
- CharacterMetricsDictionary.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- ArrayTypeMismatchException.cs
- InitializationEventAttribute.cs
- ExceptionUtil.cs
- TaiwanCalendar.cs
- DataAdapter.cs
- SchemaCollectionPreprocessor.cs
- FixedElement.cs
- ItemCollectionEditor.cs
- ListItemConverter.cs
- SQLStringStorage.cs
- TaiwanCalendar.cs
- SpotLight.cs
- Utils.cs
- InitializeCorrelation.cs
- XmlSerializerAssemblyAttribute.cs
- ConnectionProviderAttribute.cs
- GroupItemAutomationPeer.cs
- InfoCardClaimCollection.cs
- IndependentlyAnimatedPropertyMetadata.cs
- Int32KeyFrameCollection.cs
- AlignmentXValidation.cs
- DeclaredTypeValidator.cs
- _OSSOCK.cs
- FileLevelControlBuilderAttribute.cs
- RowParagraph.cs
- SearchForVirtualItemEventArgs.cs
- XPathQilFactory.cs
- ObjectDataSource.cs
- CellTreeNode.cs
- GifBitmapDecoder.cs
- DataServiceQueryContinuation.cs
- ParameterDataSourceExpression.cs
- SqlWebEventProvider.cs
- UrlPath.cs
- HashJoinQueryOperatorEnumerator.cs
- SortKey.cs
- MediaElement.cs
- PackageRelationshipCollection.cs
- Hash.cs
- EntityClassGenerator.cs
- CodeConditionStatement.cs
- FileRecordSequenceHelper.cs
- MediaScriptCommandRoutedEventArgs.cs
- _OSSOCK.cs
- HandlerBase.cs
- Int16AnimationBase.cs
- ObjectListField.cs
- SerializationException.cs
- EntityCommand.cs
- StyleModeStack.cs
- TextBoxView.cs
- DependencyPropertyKey.cs
- IntSecurity.cs
- Tokenizer.cs
- BamlRecordReader.cs
- SupportsEventValidationAttribute.cs
- TextTabProperties.cs