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 / Automation / Peers / ListBoxAutomationPeer.cs / 1 / ListBoxAutomationPeer.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
using System.Windows;
using System.Windows.Automation.Provider;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Interop;
using System.Windows.Media;
using MS.Internal;
using MS.Win32;
namespace System.Windows.Automation.Peers
{
///
public class ListBoxAutomationPeer: SelectorAutomationPeer
{
///
public ListBoxAutomationPeer(ListBox owner): base(owner)
{}
///
override protected ItemAutomationPeer CreateItemAutomationPeer(object item)
{
return new ListBoxItemAutomationPeer(item, this);
}
///
override protected string GetClassNameCore()
{
return "ListBox";
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
using System.Windows;
using System.Windows.Automation.Provider;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Interop;
using System.Windows.Media;
using MS.Internal;
using MS.Win32;
namespace System.Windows.Automation.Peers
{
///
public class ListBoxAutomationPeer: SelectorAutomationPeer
{
///
public ListBoxAutomationPeer(ListBox owner): base(owner)
{}
///
override protected ItemAutomationPeer CreateItemAutomationPeer(object item)
{
return new ListBoxItemAutomationPeer(item, this);
}
///
override protected string GetClassNameCore()
{
return "ListBox";
}
}
}
// 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
- QilIterator.cs
- ServiceReference.cs
- IncrementalCompileAnalyzer.cs
- DynamicValueConverter.cs
- DrawingDrawingContext.cs
- ClaimSet.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ContextMenu.cs
- ColumnResizeAdorner.cs
- SignatureHelper.cs
- CharacterBufferReference.cs
- DataGridParentRows.cs
- RequestStatusBarUpdateEventArgs.cs
- Transform3DGroup.cs
- PeerTransportListenAddressConverter.cs
- PropertyChangingEventArgs.cs
- Pointer.cs
- SqlDataSourceSelectingEventArgs.cs
- FileUpload.cs
- Int32CollectionValueSerializer.cs
- ImportedNamespaceContextItem.cs
- UpDownBase.cs
- XmlExpressionDumper.cs
- LocalBuilder.cs
- Exceptions.cs
- KeyGestureConverter.cs
- DesignerTransactionCloseEvent.cs
- CopyOfAction.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- Stroke.cs
- AudioFormatConverter.cs
- MergeEnumerator.cs
- XamlBrushSerializer.cs
- WaitForChangedResult.cs
- XPathNodeIterator.cs
- PtsHost.cs
- CodeAttributeArgument.cs
- ToolTipService.cs
- ChannelManager.cs
- TextBox.cs
- SqlConnectionFactory.cs
- SiteMapProvider.cs
- SafeViewOfFileHandle.cs
- Version.cs
- SiteOfOriginPart.cs
- DSASignatureFormatter.cs
- SecurityHelper.cs
- TagMapInfo.cs
- PipelineModuleStepContainer.cs
- EditorPart.cs
- ScrollItemProviderWrapper.cs
- SiteIdentityPermission.cs
- ReachPageContentSerializerAsync.cs
- _NestedSingleAsyncResult.cs
- PointValueSerializer.cs
- MatrixUtil.cs
- DataServiceException.cs
- BinaryEditor.cs
- TemplateParser.cs
- CacheMemory.cs
- HtmlTableRowCollection.cs
- ArrayTypeMismatchException.cs
- HttpListener.cs
- MessageDirection.cs
- ComponentResourceKeyConverter.cs
- Section.cs
- DataServiceOperationContext.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- SpeechUI.cs
- PolyLineSegment.cs
- PrintDocument.cs
- KeyMatchBuilder.cs
- _KerberosClient.cs
- CssStyleCollection.cs
- UriSection.cs
- ServicePoint.cs
- CatchDesigner.xaml.cs
- HostingEnvironmentException.cs
- DbProviderConfigurationHandler.cs
- DoubleStorage.cs
- __FastResourceComparer.cs
- ListBindableAttribute.cs
- RawStylusInput.cs
- EmbeddedMailObjectCollectionEditor.cs
- AppModelKnownContentFactory.cs
- SignatureToken.cs
- IBuiltInEvidence.cs
- PartialList.cs
- ConfigurationValidatorAttribute.cs
- PointIndependentAnimationStorage.cs
- WSDualHttpSecurityMode.cs
- NavigateUrlConverter.cs
- OleDbParameterCollection.cs
- CollectionViewSource.cs
- AuthenticationSection.cs
- BuilderPropertyEntry.cs
- RecordBuilder.cs
- BindStream.cs
- KeyPullup.cs
- BindingGroup.cs