Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Automation / Peers / DataGridDetailsPresenterAutomationPeer.cs / 1305600 / DataGridDetailsPresenterAutomationPeer.cs
using System; using System.Collections.Generic; using System.Windows.Automation.Provider; using System.Windows.Controls; using System.Windows.Controls.Primitives; using MS.Internal; namespace System.Windows.Automation.Peers { ////// AutomationPeer for DataGridDetailsPresenter /// public sealed class DataGridDetailsPresenterAutomationPeer : FrameworkElementAutomationPeer { #region Constructors ////// AutomationPeer for DataGridDetailsPresenter /// /// DataGridDetailsPresenter public DataGridDetailsPresenterAutomationPeer(DataGridDetailsPresenter owner) : base(owner) { } #endregion #region AutomationPeer Overrides /// protected override string GetClassNameCore() { return this.Owner.GetType().Name; } /// protected override bool IsContentElementCore() { return false; } /// override protected bool IsOffscreenCore() { if (!Owner.IsVisible) return true; Rect boundingRect = CalculateVisibleBoundingRect(); return DoubleUtil.AreClose(boundingRect, Rect.Empty) || DoubleUtil.AreClose(boundingRect.Height, 0.0) || DoubleUtil.AreClose(boundingRect.Width, 0.0); } #endregion } } // 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
- DispatcherHooks.cs
- Rotation3DAnimation.cs
- log.cs
- DataSourceSelectArguments.cs
- PrivilegeNotHeldException.cs
- DataGridColumnHeaderCollection.cs
- HttpModulesInstallComponent.cs
- Pen.cs
- RadioButtonStandardAdapter.cs
- CodeSnippetCompileUnit.cs
- XmlSchemaSimpleTypeUnion.cs
- ActivityExecutor.cs
- TypeResolvingOptionsAttribute.cs
- OutputChannel.cs
- CatchBlock.cs
- IssuedSecurityTokenProvider.cs
- ControlPropertyNameConverter.cs
- SqlUtil.cs
- GenericTextProperties.cs
- BoolExpressionVisitors.cs
- ClockGroup.cs
- PropertyChangedEventArgs.cs
- FileDataSourceCache.cs
- wpf-etw.cs
- Pkcs9Attribute.cs
- Form.cs
- UserPreferenceChangingEventArgs.cs
- WorkflowWebHostingModule.cs
- OutputCacheSettings.cs
- WebServiceTypeData.cs
- XmlSchemaGroup.cs
- CodeDOMUtility.cs
- SettingsBindableAttribute.cs
- FixedPosition.cs
- LogStore.cs
- KeyInfo.cs
- DataServiceClientException.cs
- TrackBarRenderer.cs
- SortedList.cs
- GridViewUpdateEventArgs.cs
- RectAnimationClockResource.cs
- FrameworkContentElement.cs
- wmiprovider.cs
- SortDescription.cs
- HttpFileCollection.cs
- PropertyValidationContext.cs
- InvokeMethodActivityDesigner.cs
- TableCellCollection.cs
- PathSegmentCollection.cs
- ArrayTypeMismatchException.cs
- RawMouseInputReport.cs
- PreProcessInputEventArgs.cs
- DataControlReference.cs
- EncodingDataItem.cs
- CodeExpressionStatement.cs
- EventItfInfo.cs
- NodeFunctions.cs
- Vector3D.cs
- TextEditorMouse.cs
- PageEventArgs.cs
- DNS.cs
- DataGridViewCellStateChangedEventArgs.cs
- FrameworkObject.cs
- StandardOleMarshalObject.cs
- SchemaContext.cs
- InheritanceAttribute.cs
- ToolStripItem.cs
- _SafeNetHandles.cs
- IriParsingElement.cs
- IndexOutOfRangeException.cs
- SqlRetyper.cs
- ResizingMessageFilter.cs
- ResolvedKeyFrameEntry.cs
- BindingElement.cs
- ToolstripProfessionalRenderer.cs
- XmlSchemaIdentityConstraint.cs
- SqlDataSourceSelectingEventArgs.cs
- ImageIndexConverter.cs
- Serializer.cs
- comcontractssection.cs
- DataGridItemAttachedStorage.cs
- Int16Converter.cs
- Rectangle.cs
- IChannel.cs
- BindingSource.cs
- DataGridViewBand.cs
- ListBox.cs
- StreamSecurityUpgradeProvider.cs
- Parser.cs
- ModulesEntry.cs
- KnowledgeBase.cs
- DataBindingHandlerAttribute.cs
- EventSetter.cs
- SqlMetaData.cs
- StickyNoteHelper.cs
- Variable.cs
- TableLayoutPanelCellPosition.cs
- GeneralTransform3D.cs
- FloatSumAggregationOperator.cs
- Ticks.cs