Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / 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. 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
- _ShellExpression.cs
- UnauthorizedWebPart.cs
- ExpandoObject.cs
- SqlDependencyListener.cs
- Identity.cs
- TrustManagerPromptUI.cs
- PrtCap_Base.cs
- NativeMethodsCLR.cs
- SqlVersion.cs
- MissingSatelliteAssemblyException.cs
- DecimalConverter.cs
- CqlQuery.cs
- GroupStyle.cs
- WebEvents.cs
- Point4DConverter.cs
- glyphs.cs
- StaticDataManager.cs
- HelpKeywordAttribute.cs
- IndexedEnumerable.cs
- ApplicationGesture.cs
- Mutex.cs
- FactoryGenerator.cs
- SmtpFailedRecipientException.cs
- ClientSideQueueItem.cs
- CompatibleComparer.cs
- SendKeys.cs
- ObjectDataSourceDesigner.cs
- SizeAnimation.cs
- MobileComponentEditorPage.cs
- List.cs
- Thumb.cs
- TransactionTraceIdentifier.cs
- MultipleViewProviderWrapper.cs
- ByteRangeDownloader.cs
- WebSysDisplayNameAttribute.cs
- EntityDesignerUtils.cs
- ADConnectionHelper.cs
- ContractAdapter.cs
- WindowCollection.cs
- AsymmetricSignatureDeformatter.cs
- ToolboxItemFilterAttribute.cs
- InvalidCastException.cs
- Rules.cs
- GenericUriParser.cs
- LogAppendAsyncResult.cs
- ByteStorage.cs
- VisualBrush.cs
- LogReserveAndAppendState.cs
- DefinitionBase.cs
- ListViewInsertedEventArgs.cs
- Slider.cs
- CaseInsensitiveHashCodeProvider.cs
- RoleGroup.cs
- DecimalFormatter.cs
- MasterPageParser.cs
- DisplayClaim.cs
- InputBinder.cs
- Propagator.Evaluator.cs
- CultureMapper.cs
- util.cs
- StandardBindingOptionalReliableSessionElement.cs
- QueryableDataSourceView.cs
- GridViewRow.cs
- UInt64Converter.cs
- WasHostedComPlusFactory.cs
- TraceSection.cs
- XPathQueryGenerator.cs
- BinaryWriter.cs
- SessionSwitchEventArgs.cs
- BitConverter.cs
- AttributeAction.cs
- ActiveXSite.cs
- RegistrationServices.cs
- FileBasedResourceGroveler.cs
- MonthChangedEventArgs.cs
- Odbc32.cs
- RuleConditionDialog.cs
- HttpBindingExtension.cs
- ProviderConnectionPointCollection.cs
- ApplicationGesture.cs
- GridItemProviderWrapper.cs
- OleDbErrorCollection.cs
- PageHandlerFactory.cs
- CompiledRegexRunner.cs
- NumberFormatInfo.cs
- WorkflowEnvironment.cs
- DispatcherOperation.cs
- BuilderPropertyEntry.cs
- ConfigXmlWhitespace.cs
- GridViewDeleteEventArgs.cs
- FileDialog.cs
- SignatureHelper.cs
- DataGridAutoFormat.cs
- TransformedBitmap.cs
- CoTaskMemHandle.cs
- CommonRemoteMemoryBlock.cs
- SkinBuilder.cs
- ISFClipboardData.cs
- SmiConnection.cs
- AliasGenerator.cs