Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Automation / Peers / ScrollBarAutomationPeer.cs / 1 / ScrollBarAutomationPeer.cs
using System; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Automation.Provider; using System.Windows.Controls; using System.Windows.Controls.Primitives; using MS.Internal; using MS.Win32; namespace System.Windows.Automation.Peers { /// public class ScrollBarAutomationPeer : RangeBaseAutomationPeer { /// public ScrollBarAutomationPeer(ScrollBar owner): base(owner) { } /// override protected string GetClassNameCore() { return "ScrollBar"; } /// override protected AutomationControlType GetAutomationControlTypeCore() { return AutomationControlType.ScrollBar; } /// protected override Point GetClickablePointCore() { return new Point(double.NaN, double.NaN); } /// protected override AutomationOrientation GetOrientationCore() { return ((ScrollBar)Owner).Orientation == Orientation.Horizontal ? AutomationOrientation.Horizontal : AutomationOrientation.Vertical; } } } // 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
- CodeSnippetStatement.cs
- ListParaClient.cs
- RuleSet.cs
- EditorAttribute.cs
- IdentifierService.cs
- FixedSchema.cs
- WebPartEditorApplyVerb.cs
- UIElement.cs
- SelectedDatesCollection.cs
- EdmSchemaError.cs
- _UncName.cs
- MetadataItemEmitter.cs
- EntityDataSourceColumn.cs
- ExtensibleClassFactory.cs
- HighlightComponent.cs
- ModulesEntry.cs
- ObjectViewListener.cs
- BamlStream.cs
- TextRangeEdit.cs
- XamlReader.cs
- DbConnectionStringBuilder.cs
- WindowAutomationPeer.cs
- ObjectDataProvider.cs
- CancellationToken.cs
- _LocalDataStoreMgr.cs
- GeneralTransformGroup.cs
- TextServicesProperty.cs
- PartialTrustValidationBehavior.cs
- HtmlSelect.cs
- HGlobalSafeHandle.cs
- ObjRef.cs
- AbandonedMutexException.cs
- CalendarButtonAutomationPeer.cs
- XamlInterfaces.cs
- TextViewBase.cs
- GeometryHitTestParameters.cs
- CompareValidator.cs
- LinkLabelLinkClickedEvent.cs
- InstanceView.cs
- ObjectViewListener.cs
- TreeWalkHelper.cs
- SecurityTokenRequirement.cs
- SvcMapFileLoader.cs
- FlatButtonAppearance.cs
- MergePropertyDescriptor.cs
- StringValueConverter.cs
- ProfilePropertyNameValidator.cs
- SiteMap.cs
- Clause.cs
- RenderData.cs
- SchemaElementDecl.cs
- HtmlInputButton.cs
- ElementHostAutomationPeer.cs
- TokenBasedSetEnumerator.cs
- ScrollBarRenderer.cs
- MemberRelationshipService.cs
- CircleEase.cs
- XslVisitor.cs
- BitVector32.cs
- UpdateTranslator.cs
- DataGridViewRowConverter.cs
- ListViewGroup.cs
- CornerRadius.cs
- DBParameter.cs
- DragDropHelper.cs
- PageAction.cs
- Serializer.cs
- EndPoint.cs
- PolicyException.cs
- CancellationToken.cs
- MarkupProperty.cs
- TagPrefixAttribute.cs
- EFTableProvider.cs
- CounterSample.cs
- RootProfilePropertySettingsCollection.cs
- MenuCommand.cs
- GeneralTransform3DGroup.cs
- TargetInvocationException.cs
- CapabilitiesSection.cs
- RawUIStateInputReport.cs
- EncryptedPackageFilter.cs
- XmlQueryStaticData.cs
- BitConverter.cs
- WebPartsPersonalizationAuthorization.cs
- RealizationDrawingContextWalker.cs
- DataBindingExpressionBuilder.cs
- ParameterCollection.cs
- CompatibleIComparer.cs
- DynamicMetaObjectBinder.cs
- PathSegmentCollection.cs
- DataGridViewCellParsingEventArgs.cs
- DurationConverter.cs
- validation.cs
- PrintPreviewGraphics.cs
- UnmanagedMemoryStreamWrapper.cs
- StorageFunctionMapping.cs
- BaseServiceProvider.cs
- TextInfo.cs
- Encoder.cs
- NavigationHelper.cs