Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- IIS7UserPrincipal.cs
- ResourceDisplayNameAttribute.cs
- CollectionEditorDialog.cs
- BindingValueChangedEventArgs.cs
- ToolStripContentPanelRenderEventArgs.cs
- ExtentCqlBlock.cs
- DeclarativeConditionsCollection.cs
- BamlResourceSerializer.cs
- BitmapSourceSafeMILHandle.cs
- ClientSettingsProvider.cs
- ObjectQueryExecutionPlan.cs
- Italic.cs
- FamilyCollection.cs
- OracleInternalConnection.cs
- Dispatcher.cs
- COM2Enum.cs
- WebException.cs
- PartialList.cs
- SQLResource.cs
- CharEnumerator.cs
- DataGridViewColumnCollectionEditor.cs
- PageParser.cs
- Icon.cs
- TextDecorationCollectionConverter.cs
- SoapServerMessage.cs
- LabelAutomationPeer.cs
- X509Chain.cs
- IncomingWebRequestContext.cs
- FullTextState.cs
- PathSegmentCollection.cs
- IPipelineRuntime.cs
- HttpRuntimeSection.cs
- MulticastIPAddressInformationCollection.cs
- OleDbSchemaGuid.cs
- XmlSchemaExternal.cs
- MatrixAnimationUsingPath.cs
- SortAction.cs
- CustomTrackingQuery.cs
- ListChangedEventArgs.cs
- SessionStateModule.cs
- ToolZoneDesigner.cs
- PropertySourceInfo.cs
- TrackingProfile.cs
- DataGridRow.cs
- ContentPosition.cs
- StrongNameIdentityPermission.cs
- MailAddress.cs
- PrivilegedConfigurationManager.cs
- EncodingDataItem.cs
- AuthenticationModulesSection.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- JapaneseCalendar.cs
- EntitySqlQueryCacheEntry.cs
- StrokeCollectionDefaultValueFactory.cs
- _SSPIWrapper.cs
- KeyEventArgs.cs
- TagPrefixInfo.cs
- SafeRegistryHandle.cs
- JoinElimination.cs
- Parser.cs
- WorkflowDefinitionContext.cs
- SafeRegistryKey.cs
- TextAction.cs
- ManagedFilter.cs
- DesignerSerializerAttribute.cs
- XPathQilFactory.cs
- EmptyElement.cs
- ReferenceEqualityComparer.cs
- XmlSecureResolver.cs
- Soap12FormatExtensions.cs
- ActivityCollectionMarkupSerializer.cs
- WhileDesigner.xaml.cs
- ToolStripContainer.cs
- PowerModeChangedEventArgs.cs
- _AcceptOverlappedAsyncResult.cs
- CustomSignedXml.cs
- DataGridViewToolTip.cs
- TransformDescriptor.cs
- PackageDigitalSignatureManager.cs
- TimeSpanParse.cs
- DataTableCollection.cs
- OciEnlistContext.cs
- SymmetricKeyWrap.cs
- MissingMemberException.cs
- DbProviderFactories.cs
- uribuilder.cs
- ApplicationServiceHelper.cs
- SetStoryboardSpeedRatio.cs
- BulletedList.cs
- TextPattern.cs
- PropertyIDSet.cs
- OrCondition.cs
- CheckPair.cs
- SelfIssuedAuthRSAPKCS1SignatureDeformatter.cs
- StreamMarshaler.cs
- VirtualizingPanel.cs
- DateTimeParse.cs
- GridErrorDlg.cs
- ServiceDebugElement.cs
- UidManager.cs