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
- SqlCacheDependencySection.cs
- AssemblyFilter.cs
- Package.cs
- FormViewUpdateEventArgs.cs
- ReadOnlyPropertyMetadata.cs
- PrimaryKeyTypeConverter.cs
- SchemaImporter.cs
- DPTypeDescriptorContext.cs
- ZipQueryOperator.cs
- MimeTypeAttribute.cs
- KerberosSecurityTokenParameters.cs
- DbSourceParameterCollection.cs
- _HeaderInfo.cs
- PackWebResponse.cs
- CachedTypeface.cs
- RawTextInputReport.cs
- ObjectStateFormatter.cs
- ResolveCriteria11.cs
- ImageMetadata.cs
- DataBoundControlAdapter.cs
- SettingsAttributeDictionary.cs
- BindingValueChangedEventArgs.cs
- Journaling.cs
- XmlValidatingReader.cs
- AnimatedTypeHelpers.cs
- EntityDesignerDataSourceView.cs
- SharedDp.cs
- Image.cs
- PropertyTabChangedEvent.cs
- RectConverter.cs
- Walker.cs
- RadioButtonStandardAdapter.cs
- SafeNativeMemoryHandle.cs
- InfoCardTraceRecord.cs
- ConfigXmlText.cs
- ListSourceHelper.cs
- UpWmlMobileTextWriter.cs
- DataGridViewCellValidatingEventArgs.cs
- FactoryGenerator.cs
- Size3DValueSerializer.cs
- TreeViewItem.cs
- SqlBulkCopy.cs
- listitem.cs
- ListBindableAttribute.cs
- UseLicense.cs
- FormsAuthenticationTicket.cs
- ReaderOutput.cs
- Tablet.cs
- PerfCounters.cs
- InternalBufferManager.cs
- SamlSubject.cs
- GridViewUpdatedEventArgs.cs
- PrintDialogDesigner.cs
- FormatterConverter.cs
- RepeatButtonAutomationPeer.cs
- SpotLight.cs
- XmlNamespaceMapping.cs
- TextParagraphView.cs
- MarkupProperty.cs
- XmlReflectionImporter.cs
- DbModificationClause.cs
- UnsafeNativeMethodsCLR.cs
- ConfigurationSchemaErrors.cs
- SponsorHelper.cs
- UmAlQuraCalendar.cs
- Formatter.cs
- WebHttpElement.cs
- IisTraceListener.cs
- CodeTypeOfExpression.cs
- CapacityStreamGeometryContext.cs
- CalendarAutomationPeer.cs
- AuthorizationRule.cs
- DateTimeFormat.cs
- LinkDescriptor.cs
- GeometryHitTestParameters.cs
- KeyboardDevice.cs
- EntityStoreSchemaFilterEntry.cs
- GlyphInfoList.cs
- GCHandleCookieTable.cs
- InternalConfigRoot.cs
- FastEncoderWindow.cs
- TransformerTypeCollection.cs
- COM2IPerPropertyBrowsingHandler.cs
- wgx_commands.cs
- ScrollEventArgs.cs
- XmlObjectSerializer.cs
- selecteditemcollection.cs
- AuthenticationService.cs
- WriterOutput.cs
- Point3DIndependentAnimationStorage.cs
- ButtonFieldBase.cs
- DataBoundControl.cs
- TdsValueSetter.cs
- ModifierKeysValueSerializer.cs
- CodeTypeDeclarationCollection.cs
- WebServicesInteroperability.cs
- ProjectionPruner.cs
- RTLAwareMessageBox.cs
- FormViewModeEventArgs.cs
- Atom10FormatterFactory.cs