Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- SecUtil.cs
- DocumentSequenceHighlightLayer.cs
- HandoffBehavior.cs
- SqlConnection.cs
- TextViewElement.cs
- StringDictionaryWithComparer.cs
- CheckBoxFlatAdapter.cs
- LoginName.cs
- SecuritySessionServerSettings.cs
- EncodingInfo.cs
- ControlCachePolicy.cs
- Selector.cs
- FixedSOMImage.cs
- InputMethod.cs
- mansign.cs
- BufferAllocator.cs
- DeleteIndexBinder.cs
- Attributes.cs
- CompressEmulationStream.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- SynchronizedInputPattern.cs
- PtsHelper.cs
- DiscoveryMessageSequence11.cs
- Registry.cs
- FunctionGenerator.cs
- TypeNameHelper.cs
- DoubleLinkList.cs
- XmlNodeChangedEventManager.cs
- LambdaCompiler.Address.cs
- ParallelTimeline.cs
- ExpandedWrapper.cs
- StateDesignerConnector.cs
- FormsAuthenticationUser.cs
- BamlRecordReader.cs
- EventLogLink.cs
- EmptyStringExpandableObjectConverter.cs
- StructuralType.cs
- XPathDescendantIterator.cs
- PerfCounterSection.cs
- BaseComponentEditor.cs
- ToolStripSplitButton.cs
- UnknownBitmapEncoder.cs
- EnumUnknown.cs
- EdgeModeValidation.cs
- CodeBlockBuilder.cs
- RemoteX509AsymmetricSecurityKey.cs
- _TransmitFileOverlappedAsyncResult.cs
- XmlWrappingWriter.cs
- smtppermission.cs
- ResXResourceReader.cs
- Bookmark.cs
- DragDropManager.cs
- PageThemeBuildProvider.cs
- LiteralLink.cs
- SqlRowUpdatedEvent.cs
- XmlAttributeAttribute.cs
- SQLCharsStorage.cs
- BufferModeSettings.cs
- SqlDataSourceFilteringEventArgs.cs
- EventDescriptorCollection.cs
- CodeDomLocalizationProvider.cs
- BinaryCommonClasses.cs
- XPathPatternBuilder.cs
- DataGridViewSelectedCellCollection.cs
- ColorDialog.cs
- SqlNode.cs
- DescriptionCreator.cs
- _FtpControlStream.cs
- ConstructorExpr.cs
- WindowsListViewItemCheckBox.cs
- ValidationPropertyAttribute.cs
- TypeSystem.cs
- ZoomPercentageConverter.cs
- CodeAttributeDeclarationCollection.cs
- SystemResourceKey.cs
- AlphaSortedEnumConverter.cs
- TransactionState.cs
- PageStatePersister.cs
- ProxyGenerator.cs
- SQLConvert.cs
- ICspAsymmetricAlgorithm.cs
- WindowHelperService.cs
- CursorConverter.cs
- RequestQueue.cs
- GraphicsContainer.cs
- Int32Rect.cs
- FixedSOMPageConstructor.cs
- AssociationSetMetadata.cs
- SettingsPropertyValueCollection.cs
- ServiceNotStartedException.cs
- NumericUpDown.cs
- XmlWriter.cs
- BuildManager.cs
- ScriptReferenceEventArgs.cs
- Int32Collection.cs
- PerformanceCounterCategory.cs
- XmlnsCache.cs
- UnmanagedMarshal.cs
- RefreshEventArgs.cs
- ServiceDesigner.cs