Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / ScrollPatternIdentifiers.cs / 1 / ScrollPatternIdentifiers.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Automation Identifiers for Scroll Pattern // // History: // 04/15/2005 : MKarr Added // //--------------------------------------------------------------------------- using System; using MS.Internal.Automation; using System.Runtime.InteropServices; namespace System.Windows.Automation { ////// Used by ScrollPattern to indicate how much to scroll by /// [ComVisible(true)] [Guid("bd52d3c7-f990-4c52-9ae3-5c377e9eb772")] #if (NO_INTERNAL_COMPILE_BUG1080665) internal enum ScrollAmount #else public enum ScrollAmount #endif { ////// Scroll back by a large value typically the amount equal to PageUp /// or invoking a scrollbar between the up arrow and the thumb. /// If PageUp is not a relevant amount for the control and no scrollbar /// exists, LargeValue represents an amount equal to the /// current visible window. /// LargeDecrement, ////// Scroll back by a small value typically the amount equal to the /// Up or left arrow or invoking the arrow buttons on a scrollbar. /// SmallDecrement, ////// used to allow for no movement is a given direction. /// NoAmount, ////// Scroll forward by a large value typically the amount equal to PageDown /// or invoking a scrollbar between the down arrow and the thumb. /// If PageDown is not a relevant amount for the control and no scrollbar /// exists, LargeValue represents an amount equal to the /// current visible window. /// LargeIncrement, ////// Scroll forwards by a small value typically the amount equal to the /// Down or right arrow or invoking the arrow buttons on a scrollbar. /// SmallIncrement } ////// Represents UI elements that are expressing a value /// #if (INTERNAL_COMPILE) internal static class ScrollPatternIdentifiers #else public static class ScrollPatternIdentifiers #endif { //----------------------------------------------------- // // Public Constants / Readonly Fields // //----------------------------------------------------- #region Public Constants and Readonly Fields ///Value used by SetSCrollPercent to indicate that no scrolling should take place in the specified direction public const double NoScroll = -1.0; ///Scroll pattern public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.Scroll_Pattern, "ScrollPatternIdentifiers.Pattern"); ///Property ID: HorizontalScrollPercent - Current horizontal scroll position public static readonly AutomationProperty HorizontalScrollPercentProperty = AutomationProperty.Register(AutomationIdentifierGuids.Scroll_HorizontalScrollPercent_Property, "ScrollPatternIdentifiers.HorizontalScrollPercentProperty"); ///Property ID: HorizontalViewSize - Minimum possible horizontal scroll position public static readonly AutomationProperty HorizontalViewSizeProperty = AutomationProperty.Register(AutomationIdentifierGuids.Scroll_HorizontalViewSize_Property, "ScrollPatternIdentifiers.HorizontalViewSizeProperty"); ///Property ID: VerticalScrollPercent - Current vertical scroll position public static readonly AutomationProperty VerticalScrollPercentProperty = AutomationProperty.Register(AutomationIdentifierGuids.Scroll_VerticalScrollPercent_Property, "ScrollPatternIdentifiers.VerticalScrollPercentProperty"); ///Property ID: VerticalViewSize public static readonly AutomationProperty VerticalViewSizeProperty = AutomationProperty.Register(AutomationIdentifierGuids.Scroll_VerticalViewSize_Property, "ScrollPatternIdentifiers.VerticalViewSizeProperty"); ///Property ID: HorizontallyScrollable public static readonly AutomationProperty HorizontallyScrollableProperty = AutomationProperty.Register(AutomationIdentifierGuids.Scroll_HorizontallyScrollable_Property, "ScrollPatternIdentifiers.HorizontallyScrollableProperty"); ///Property ID: VerticallyScrollable public static readonly AutomationProperty VerticallyScrollableProperty = AutomationProperty.Register(AutomationIdentifierGuids.Scroll_VerticallyScrollable_Property, "ScrollPatternIdentifiers.VerticallyScrollableProperty"); #endregion Public Constants and Readonly Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Automation Identifiers for Scroll Pattern // // History: // 04/15/2005 : MKarr Added // //--------------------------------------------------------------------------- using System; using MS.Internal.Automation; using System.Runtime.InteropServices; namespace System.Windows.Automation { ////// Used by ScrollPattern to indicate how much to scroll by /// [ComVisible(true)] [Guid("bd52d3c7-f990-4c52-9ae3-5c377e9eb772")] #if (NO_INTERNAL_COMPILE_BUG1080665) internal enum ScrollAmount #else public enum ScrollAmount #endif { ////// Scroll back by a large value typically the amount equal to PageUp /// or invoking a scrollbar between the up arrow and the thumb. /// If PageUp is not a relevant amount for the control and no scrollbar /// exists, LargeValue represents an amount equal to the /// current visible window. /// LargeDecrement, ////// Scroll back by a small value typically the amount equal to the /// Up or left arrow or invoking the arrow buttons on a scrollbar. /// SmallDecrement, ////// used to allow for no movement is a given direction. /// NoAmount, ////// Scroll forward by a large value typically the amount equal to PageDown /// or invoking a scrollbar between the down arrow and the thumb. /// If PageDown is not a relevant amount for the control and no scrollbar /// exists, LargeValue represents an amount equal to the /// current visible window. /// LargeIncrement, ////// Scroll forwards by a small value typically the amount equal to the /// Down or right arrow or invoking the arrow buttons on a scrollbar. /// SmallIncrement } ////// Represents UI elements that are expressing a value /// #if (INTERNAL_COMPILE) internal static class ScrollPatternIdentifiers #else public static class ScrollPatternIdentifiers #endif { //----------------------------------------------------- // // Public Constants / Readonly Fields // //----------------------------------------------------- #region Public Constants and Readonly Fields ///Value used by SetSCrollPercent to indicate that no scrolling should take place in the specified direction public const double NoScroll = -1.0; ///Scroll pattern public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.Scroll_Pattern, "ScrollPatternIdentifiers.Pattern"); ///Property ID: HorizontalScrollPercent - Current horizontal scroll position public static readonly AutomationProperty HorizontalScrollPercentProperty = AutomationProperty.Register(AutomationIdentifierGuids.Scroll_HorizontalScrollPercent_Property, "ScrollPatternIdentifiers.HorizontalScrollPercentProperty"); ///Property ID: HorizontalViewSize - Minimum possible horizontal scroll position public static readonly AutomationProperty HorizontalViewSizeProperty = AutomationProperty.Register(AutomationIdentifierGuids.Scroll_HorizontalViewSize_Property, "ScrollPatternIdentifiers.HorizontalViewSizeProperty"); ///Property ID: VerticalScrollPercent - Current vertical scroll position public static readonly AutomationProperty VerticalScrollPercentProperty = AutomationProperty.Register(AutomationIdentifierGuids.Scroll_VerticalScrollPercent_Property, "ScrollPatternIdentifiers.VerticalScrollPercentProperty"); ///Property ID: VerticalViewSize public static readonly AutomationProperty VerticalViewSizeProperty = AutomationProperty.Register(AutomationIdentifierGuids.Scroll_VerticalViewSize_Property, "ScrollPatternIdentifiers.VerticalViewSizeProperty"); ///Property ID: HorizontallyScrollable public static readonly AutomationProperty HorizontallyScrollableProperty = AutomationProperty.Register(AutomationIdentifierGuids.Scroll_HorizontallyScrollable_Property, "ScrollPatternIdentifiers.HorizontallyScrollableProperty"); ///Property ID: VerticallyScrollable public static readonly AutomationProperty VerticallyScrollableProperty = AutomationProperty.Register(AutomationIdentifierGuids.Scroll_VerticallyScrollable_Property, "ScrollPatternIdentifiers.VerticallyScrollableProperty"); #endregion Public Constants and Readonly Fields } } // 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
- XPathDocument.cs
- WindowsIdentity.cs
- Configuration.cs
- EndpointDiscoveryMetadata11.cs
- Application.cs
- SecurityPolicyVersion.cs
- HostProtectionPermission.cs
- ForeignKeyConstraint.cs
- SystemWebCachingSectionGroup.cs
- PenLineJoinValidation.cs
- PathFigureCollection.cs
- FontWeightConverter.cs
- ThicknessAnimationUsingKeyFrames.cs
- storepermissionattribute.cs
- EntityKeyElement.cs
- WindowInteropHelper.cs
- AxisAngleRotation3D.cs
- DataPagerCommandEventArgs.cs
- UrlMappingsSection.cs
- ImageCollectionCodeDomSerializer.cs
- wmiprovider.cs
- documentsequencetextview.cs
- SqlCacheDependencyDatabaseCollection.cs
- Resources.Designer.cs
- HtmlWindow.cs
- OdbcUtils.cs
- _SingleItemRequestCache.cs
- RuntimeArgumentHandle.cs
- ManipulationDevice.cs
- TextEditorCharacters.cs
- DefaultHttpHandler.cs
- FocusManager.cs
- DoubleLink.cs
- SrgsElementList.cs
- SplineKeyFrames.cs
- MessageUtil.cs
- TimeoutException.cs
- RoleGroup.cs
- FilteredSchemaElementLookUpTable.cs
- RuntimeCompatibilityAttribute.cs
- EncoderBestFitFallback.cs
- XmlLangPropertyAttribute.cs
- HandledEventArgs.cs
- DataGridColumnHeaderAutomationPeer.cs
- TableLayoutSettings.cs
- SqlException.cs
- IsolatedStorageFile.cs
- DriveNotFoundException.cs
- DBSchemaTable.cs
- SafeNativeMethods.cs
- BaseUriHelper.cs
- StylusTip.cs
- DynamicResourceExtensionConverter.cs
- FixedDocumentSequencePaginator.cs
- WebReferenceCollection.cs
- precedingquery.cs
- Attributes.cs
- SelectedGridItemChangedEvent.cs
- RenderData.cs
- NameValueConfigurationCollection.cs
- CodeExporter.cs
- MarginsConverter.cs
- ReverseInheritProperty.cs
- VectorValueSerializer.cs
- Effect.cs
- PolicyValidator.cs
- RoutedUICommand.cs
- TextEndOfSegment.cs
- RestClientProxyHandler.cs
- WebConfigurationManager.cs
- BaseUriHelper.cs
- FileLogRecordEnumerator.cs
- TemplateControlParser.cs
- BindValidator.cs
- MILUtilities.cs
- LocatorPart.cs
- ListControl.cs
- DataSourceExpressionCollection.cs
- NumericUpDownAccelerationCollection.cs
- XamlBuildTaskServices.cs
- EventPrivateKey.cs
- TextDecorationLocationValidation.cs
- Geometry.cs
- String.cs
- ManagementExtension.cs
- XmlNamespaceDeclarationsAttribute.cs
- AttributeQuery.cs
- Msec.cs
- WebContentFormatHelper.cs
- MenuItemStyle.cs
- OleDbConnectionFactory.cs
- Pool.cs
- HttpWebResponse.cs
- ReplyChannel.cs
- GridItem.cs
- IsolatedStoragePermission.cs
- TextTreeTextBlock.cs
- SchemaImporter.cs
- ClassHandlersStore.cs
- Binding.cs