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
- ExpressionBuilder.cs
- BindableAttribute.cs
- Keywords.cs
- itemelement.cs
- CompileXomlTask.cs
- EntityModelBuildProvider.cs
- HuffmanTree.cs
- SchemaImporter.cs
- ValueType.cs
- ThicknessAnimationUsingKeyFrames.cs
- AnnotationDocumentPaginator.cs
- CodeGenerator.cs
- Screen.cs
- _BasicClient.cs
- OLEDB_Util.cs
- CatalogZoneBase.cs
- CalendarTable.cs
- DocumentApplicationJournalEntry.cs
- FontUnitConverter.cs
- EventSourceCreationData.cs
- SQLRoleProvider.cs
- ColorEditor.cs
- SafeLibraryHandle.cs
- TreeViewDataItemAutomationPeer.cs
- SiteMapSection.cs
- MethodBuilder.cs
- compensatingcollection.cs
- XmlChildNodes.cs
- MarkupCompilePass2.cs
- InertiaExpansionBehavior.cs
- TheQuery.cs
- FieldDescriptor.cs
- SchemaElementLookUpTable.cs
- HTMLTextWriter.cs
- SiteMapPath.cs
- ZeroOpNode.cs
- FloatUtil.cs
- VirtualizedItemProviderWrapper.cs
- UpDownBase.cs
- DocumentViewerConstants.cs
- AssociationSet.cs
- WebDisplayNameAttribute.cs
- DesignerActionService.cs
- XmlNamespaceManager.cs
- Matrix3DStack.cs
- TimeEnumHelper.cs
- XmlProcessingInstruction.cs
- NativeCppClassAttribute.cs
- ProviderSettingsCollection.cs
- OracleDataReader.cs
- Win32PrintDialog.cs
- NativeMethods.cs
- CharacterMetricsDictionary.cs
- ProfileGroupSettings.cs
- WebConfigurationHostFileChange.cs
- StreamGeometry.cs
- BamlTreeNode.cs
- DescendentsWalkerBase.cs
- LinkLabel.cs
- returneventsaver.cs
- AncillaryOps.cs
- TextEditorSpelling.cs
- ConfigurationPropertyAttribute.cs
- MemberMemberBinding.cs
- URLString.cs
- VBIdentifierTrimConverter.cs
- ConstrainedDataObject.cs
- ToolStripItemRenderEventArgs.cs
- BindingMemberInfo.cs
- SizeLimitedCache.cs
- SQLMoney.cs
- MetroSerializationManager.cs
- CodeDirectoryCompiler.cs
- PipeStream.cs
- OdbcDataAdapter.cs
- TextServicesPropertyRanges.cs
- Border.cs
- SrgsItemList.cs
- SafeCryptoKeyHandle.cs
- StringUtil.cs
- XMLDiffLoader.cs
- WebBrowserDocumentCompletedEventHandler.cs
- Int32Rect.cs
- DoubleLink.cs
- TableLayoutRowStyleCollection.cs
- StreamBodyWriter.cs
- XmlSignificantWhitespace.cs
- TextMessageEncoder.cs
- InstanceValue.cs
- PageAdapter.cs
- RawStylusSystemGestureInputReport.cs
- IdleTimeoutMonitor.cs
- ExclusiveCanonicalizationTransform.cs
- DbgCompiler.cs
- NodeInfo.cs
- Models.cs
- LeaseManager.cs
- HtmlGenericControl.cs
- FixedSOMLineCollection.cs
- AuthorizationSection.cs