Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Automation / Peers / ListBoxItemWrapperAutomationPeer.cs / 1305600 / ListBoxItemWrapperAutomationPeer.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.Input; using System.Windows.Interop; using System.Windows.Media; using MS.Internal; using MS.Win32; namespace System.Windows.Automation.Peers { /// public class ListBoxItemWrapperAutomationPeer: FrameworkElementAutomationPeer { /// public ListBoxItemWrapperAutomationPeer(ListBoxItem owner): base(owner) {} /// override protected string GetClassNameCore() { return "ListBoxItem"; } /// override protected AutomationControlType GetAutomationControlTypeCore() { return AutomationControlType.ListItem; } /// override protected bool IsOffscreenCore() { if (!Owner.IsVisible) return true; Rect boundingRect = CalculateVisibleBoundingRect(); return (boundingRect == Rect.Empty || boundingRect.Height == 0 || boundingRect.Width == 0); } } } // 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
- Matrix3D.cs
- BooleanFunctions.cs
- WebPartDescriptionCollection.cs
- CompensationHandlingFilter.cs
- XmlToDatasetMap.cs
- SupportingTokenSpecification.cs
- PerformanceCounterManager.cs
- LineMetrics.cs
- DrawingContext.cs
- DSASignatureFormatter.cs
- AsyncOperationContext.cs
- SharedUtils.cs
- DbBuffer.cs
- XmlSchemaCollection.cs
- TypeUsageBuilder.cs
- SafeIUnknown.cs
- AdornerLayer.cs
- contentDescriptor.cs
- LifetimeServices.cs
- RadioButtonStandardAdapter.cs
- CheckBoxBaseAdapter.cs
- RecipientInfo.cs
- EmptyStringExpandableObjectConverter.cs
- ExponentialEase.cs
- GeneralTransform2DTo3D.cs
- NotFiniteNumberException.cs
- RSAProtectedConfigurationProvider.cs
- HitTestParameters3D.cs
- DataGridViewCellPaintingEventArgs.cs
- NullRuntimeConfig.cs
- XsdSchemaFileEditor.cs
- CompilerTypeWithParams.cs
- ConditionalAttribute.cs
- ProcessDesigner.cs
- TypeResolver.cs
- ToolStripArrowRenderEventArgs.cs
- SiteMembershipCondition.cs
- OrderPreservingSpoolingTask.cs
- Figure.cs
- MutexSecurity.cs
- ViewBox.cs
- X509Certificate2Collection.cs
- ObjectConverter.cs
- OleDbConnectionInternal.cs
- XmlProcessingInstruction.cs
- SqlNodeAnnotation.cs
- SendActivityValidator.cs
- XmlSchemaIdentityConstraint.cs
- HttpCookiesSection.cs
- ResourceExpressionBuilder.cs
- HandlerWithFactory.cs
- DataColumn.cs
- TransformerInfo.cs
- ToolStripOverflow.cs
- ScrollProviderWrapper.cs
- WindowsTreeView.cs
- ScopeCollection.cs
- AnonymousIdentificationSection.cs
- EncoderParameters.cs
- PrePrepareMethodAttribute.cs
- SiteMap.cs
- ConfigurationStrings.cs
- KeyValuePairs.cs
- VideoDrawing.cs
- StorageFunctionMapping.cs
- SystemThemeKey.cs
- ConnectionsZone.cs
- SelectedDatesCollection.cs
- FontEmbeddingManager.cs
- UrlAuthorizationModule.cs
- DataGridAutoFormatDialog.cs
- ColorEditor.cs
- GridView.cs
- ClientSideQueueItem.cs
- DrawTreeNodeEventArgs.cs
- util.cs
- wmiprovider.cs
- RemotingAttributes.cs
- TextServicesDisplayAttributePropertyRanges.cs
- TableCellCollection.cs
- BitmapMetadataBlob.cs
- DES.cs
- DesignerGeometryHelper.cs
- RuntimeConfig.cs
- HttpStreamMessage.cs
- CatchBlock.cs
- DbConnectionPoolIdentity.cs
- OdbcEnvironmentHandle.cs
- SocketCache.cs
- FontCollection.cs
- PropertyGeneratedEventArgs.cs
- WindowsFormsEditorServiceHelper.cs
- ChannelServices.cs
- TimeSpanConverter.cs
- XmlSchemaComplexContent.cs
- DescendantBaseQuery.cs
- TemplatingOptionsDialog.cs
- HelpInfo.cs
- MultiPropertyDescriptorGridEntry.cs
- LinkArea.cs