Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- FlowDocumentScrollViewerAutomationPeer.cs
- BindingNavigator.cs
- DescendantQuery.cs
- DefaultSection.cs
- IPipelineRuntime.cs
- TraceLevelStore.cs
- CombinedGeometry.cs
- TableStyle.cs
- SuspendDesigner.cs
- TraceFilter.cs
- DataTableReaderListener.cs
- elementinformation.cs
- PermissionListSet.cs
- DataSourceView.cs
- InternalSafeNativeMethods.cs
- XmlDataSourceNodeDescriptor.cs
- DigestTraceRecordHelper.cs
- RoutedPropertyChangedEventArgs.cs
- XPathSingletonIterator.cs
- DodSequenceMerge.cs
- MachineKeySection.cs
- DecoderExceptionFallback.cs
- FragmentNavigationEventArgs.cs
- ClientUtils.cs
- BitmapEffectInput.cs
- EventSinkActivity.cs
- VirtualPath.cs
- CopyOfAction.cs
- TransformPatternIdentifiers.cs
- RawStylusActions.cs
- EnumerableCollectionView.cs
- OneOfTypeConst.cs
- Set.cs
- XmlConvert.cs
- ListControlBoundActionList.cs
- GradientStop.cs
- CommandDevice.cs
- DownloadProgressEventArgs.cs
- MimeMultiPart.cs
- TraceHwndHost.cs
- RepeaterItem.cs
- ElementProxy.cs
- BamlMapTable.cs
- CompositeFontInfo.cs
- DiagnosticsConfigurationHandler.cs
- EditorAttribute.cs
- Function.cs
- cookiecontainer.cs
- SchemaImporter.cs
- ModelFunction.cs
- RemotingConfigParser.cs
- TextPointerBase.cs
- DataGridViewColumnTypeEditor.cs
- IntPtr.cs
- MethodAccessException.cs
- ControlValuePropertyAttribute.cs
- Soap12ProtocolReflector.cs
- DropShadowBitmapEffect.cs
- InvokeMethodActivityDesigner.cs
- AddDataControlFieldDialog.cs
- CodeTypeConstructor.cs
- SynchronizationScope.cs
- ObjectHandle.cs
- CodeMemberProperty.cs
- WaitingCursor.cs
- ContextInformation.cs
- SpStreamWrapper.cs
- TableLayoutPanelCodeDomSerializer.cs
- ContentFilePart.cs
- LinearGradientBrush.cs
- ReturnEventArgs.cs
- CompositeTypefaceMetrics.cs
- BevelBitmapEffect.cs
- FormsIdentity.cs
- HttpEncoder.cs
- XmlNodeChangedEventManager.cs
- nulltextcontainer.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- CachedTypeface.cs
- Instrumentation.cs
- SqlXmlStorage.cs
- _RequestCacheProtocol.cs
- CfgSemanticTag.cs
- DesignerActionPropertyItem.cs
- ProcessModuleDesigner.cs
- HttpListenerPrefixCollection.cs
- ConfigurationManagerInternalFactory.cs
- AspNetSynchronizationContext.cs
- DispatchChannelSink.cs
- DiscreteKeyFrames.cs
- ProxyWebPartManagerDesigner.cs
- SizeAnimationBase.cs
- CollectionView.cs
- XmlCharacterData.cs
- SystemGatewayIPAddressInformation.cs
- DataColumnMappingCollection.cs
- ForeignKeyConstraint.cs
- TextEditor.cs
- TrustLevel.cs
- Stopwatch.cs