Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Automation / Peers / TabItemWrapperAutomationPeer.cs / 1305600 / TabItemWrapperAutomationPeer.cs
using System; using System.Windows; using System.Windows.Controls; namespace System.Windows.Automation.Peers { /// public class TabItemWrapperAutomationPeer: FrameworkElementAutomationPeer { /// public TabItemWrapperAutomationPeer(TabItem owner): base(owner) {} /// 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. using System; using System.Windows; using System.Windows.Controls; namespace System.Windows.Automation.Peers { /// public class TabItemWrapperAutomationPeer: FrameworkElementAutomationPeer { /// public TabItemWrapperAutomationPeer(TabItem owner): base(owner) {} /// 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
- unitconverter.cs
- Rules.cs
- QueryInterceptorAttribute.cs
- HtmlTableCell.cs
- DrawingContextDrawingContextWalker.cs
- DATA_BLOB.cs
- BrowserCapabilitiesFactory.cs
- MachineKeySection.cs
- AnnotationHelper.cs
- CurrentChangingEventManager.cs
- CompilerLocalReference.cs
- TcpHostedTransportConfiguration.cs
- NavigationHelper.cs
- RoutedPropertyChangedEventArgs.cs
- TypefaceMetricsCache.cs
- TransformerTypeCollection.cs
- QuerySubExprEliminator.cs
- Deflater.cs
- IgnoreFileBuildProvider.cs
- CatalogPartChrome.cs
- ActivityStateRecord.cs
- EditCommandColumn.cs
- SoapElementAttribute.cs
- TextMetrics.cs
- WsdlImporter.cs
- EditingCoordinator.cs
- MenuCommandService.cs
- SimpleLine.cs
- VScrollBar.cs
- HtmlTextBoxAdapter.cs
- Compensate.cs
- JsonMessageEncoderFactory.cs
- GridViewSortEventArgs.cs
- TableHeaderCell.cs
- PersonalizationStateQuery.cs
- ClientUtils.cs
- PropertyConverter.cs
- ActivityInstanceReference.cs
- EntityCollectionChangedParams.cs
- WebConfigurationFileMap.cs
- FixedTextView.cs
- InstanceLockLostException.cs
- SecureConversationServiceElement.cs
- TableProvider.cs
- OleDbException.cs
- AssemblyGen.cs
- XPathSingletonIterator.cs
- MenuItemAutomationPeer.cs
- GroupQuery.cs
- EntityDataSourceReferenceGroup.cs
- IPAddress.cs
- PathData.cs
- TdsParserSafeHandles.cs
- RangeValidator.cs
- complextypematerializer.cs
- WorkflowFileItem.cs
- RadioButtonRenderer.cs
- TypefaceCollection.cs
- ManagementObjectSearcher.cs
- SiteMapNode.cs
- DataGridViewTopRowAccessibleObject.cs
- AddInContractAttribute.cs
- IsolatedStorageFile.cs
- EventLogQuery.cs
- _RegBlobWebProxyDataBuilder.cs
- Rect.cs
- Oid.cs
- TableParagraph.cs
- CodeExporter.cs
- SoapInteropTypes.cs
- EventLogPermissionHolder.cs
- GenericAuthenticationEventArgs.cs
- ServerValidateEventArgs.cs
- Wizard.cs
- ConcurrentDictionary.cs
- ProfileModule.cs
- ToolStripScrollButton.cs
- XamlFilter.cs
- Debug.cs
- AsymmetricAlgorithm.cs
- XmlSerializerFactory.cs
- RegistryKey.cs
- ArithmeticLiteral.cs
- ByteConverter.cs
- NamespaceMapping.cs
- SelectionItemProviderWrapper.cs
- CodeIdentifiers.cs
- RevocationPoint.cs
- EventData.cs
- XmlIncludeAttribute.cs
- Encoding.cs
- ColorMap.cs
- UnaryOperationBinder.cs
- AuthenticationModuleElementCollection.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- XPathNodeList.cs
- SizeValueSerializer.cs
- ObjectSecurity.cs
- IndexOutOfRangeException.cs
- SerializationBinder.cs