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
- CfgParser.cs
- TemplateControlCodeDomTreeGenerator.cs
- XmlDomTextWriter.cs
- PathGeometry.cs
- DbDataAdapter.cs
- FacetChecker.cs
- DataGridViewCellPaintingEventArgs.cs
- SynchronizationContext.cs
- Conditional.cs
- CategoryEditor.cs
- xsdvalidator.cs
- NetworkAddressChange.cs
- AutomationIdentifierGuids.cs
- SignatureHelper.cs
- DateTime.cs
- _ConnectionGroup.cs
- OdbcConnectionString.cs
- RTLAwareMessageBox.cs
- Int16Converter.cs
- IntranetCredentialPolicy.cs
- GraphicsPath.cs
- SurrogateSelector.cs
- SafeProcessHandle.cs
- PartitionResolver.cs
- TdsParser.cs
- DataGridViewTextBoxEditingControl.cs
- XmlNamespaceMappingCollection.cs
- FunctionDescription.cs
- ListItemCollection.cs
- SecurityChannelFactory.cs
- VisualBasicSettingsHandler.cs
- XmlNode.cs
- PeerTransportBindingElement.cs
- SchemaConstraints.cs
- Operand.cs
- DefaultAsyncDataDispatcher.cs
- ButtonChrome.cs
- Enum.cs
- AddInPipelineAttributes.cs
- GeometryCollection.cs
- ObjectDataSourceDisposingEventArgs.cs
- QueryOpcode.cs
- ToolStripSettings.cs
- ScaleTransform.cs
- NativeMethods.cs
- WorkflowItemPresenter.cs
- LayoutInformation.cs
- RMEnrollmentPage3.cs
- ReadOnlyCollection.cs
- ProtocolViolationException.cs
- SystemUdpStatistics.cs
- IIS7UserPrincipal.cs
- CloseSequenceResponse.cs
- XmlValueConverter.cs
- CaretElement.cs
- GridViewHeaderRowPresenter.cs
- StringInfo.cs
- EncoderFallback.cs
- XmlWriterTraceListener.cs
- EditingCoordinator.cs
- DragCompletedEventArgs.cs
- DetailsView.cs
- RecipientInfo.cs
- AnnouncementDispatcherAsyncResult.cs
- DeclarativeCatalogPart.cs
- SectionRecord.cs
- AggregatePushdown.cs
- Helpers.cs
- StylusPointProperty.cs
- TransformConverter.cs
- ExternalFile.cs
- InternalConfigSettingsFactory.cs
- ResourceReader.cs
- BindableTemplateBuilder.cs
- FunctionMappingTranslator.cs
- ControlTemplate.cs
- WizardStepBase.cs
- CmsInterop.cs
- ListViewPagedDataSource.cs
- PropertyGroupDescription.cs
- TextEditorParagraphs.cs
- ProcessHostMapPath.cs
- References.cs
- HttpClientCertificate.cs
- _OverlappedAsyncResult.cs
- InternalBufferOverflowException.cs
- CannotUnloadAppDomainException.cs
- FieldReference.cs
- BaseAddressPrefixFilterElementCollection.cs
- ScrollProperties.cs
- _NestedSingleAsyncResult.cs
- XPathEmptyIterator.cs
- CompiledAction.cs
- SmiXetterAccessMap.cs
- ToolStripPanelSelectionBehavior.cs
- ToolboxCategoryItems.cs
- EventTask.cs
- DbConvert.cs
- Scene3D.cs
- OrderedDictionary.cs