Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- TextTreeUndo.cs
- HatchBrush.cs
- QilLiteral.cs
- MetafileHeaderWmf.cs
- BitVec.cs
- FlowLayoutSettings.cs
- ProxyWebPartManager.cs
- DateTimeOffsetStorage.cs
- NoPersistHandle.cs
- RepeaterItem.cs
- TableLayoutStyleCollection.cs
- UnsafeNativeMethods.cs
- InitializationEventAttribute.cs
- DataBoundControl.cs
- assertwrapper.cs
- ForceCopyBuildProvider.cs
- DetailsViewRow.cs
- EntryIndex.cs
- AsymmetricCryptoHandle.cs
- StylusPointProperties.cs
- SourceInterpreter.cs
- TdsParserSessionPool.cs
- HttpCookiesSection.cs
- Executor.cs
- BindUriHelper.cs
- FileSystemInfo.cs
- WebPartAddingEventArgs.cs
- EntitySet.cs
- Rotation3DAnimationBase.cs
- HttpCookieCollection.cs
- StrongName.cs
- CompositeDispatchFormatter.cs
- StatusStrip.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ObjectDataSourceFilteringEventArgs.cs
- webproxy.cs
- HtmlWindowCollection.cs
- HostSecurityManager.cs
- AdRotator.cs
- EncryptedData.cs
- CodeBlockBuilder.cs
- SecurityKeyIdentifierClause.cs
- FunctionQuery.cs
- WmlListAdapter.cs
- UIntPtr.cs
- NameValuePermission.cs
- OverrideMode.cs
- DialogResultConverter.cs
- XmlDataLoader.cs
- ExpressionBindingsDialog.cs
- InvokeMethodActivityDesigner.cs
- SettingsProviderCollection.cs
- MetafileHeaderEmf.cs
- WebServiceReceive.cs
- HttpGetProtocolReflector.cs
- VectorConverter.cs
- ProviderCommandInfoUtils.cs
- BaseTreeIterator.cs
- HiddenFieldPageStatePersister.cs
- MultiAsyncResult.cs
- MultiByteCodec.cs
- FormattedText.cs
- SchemaMapping.cs
- MessageSmuggler.cs
- UnsafeMethods.cs
- ToolStripContentPanel.cs
- SchemaImporterExtension.cs
- DependencyObjectType.cs
- ControlHelper.cs
- WebControlsSection.cs
- XPathMultyIterator.cs
- RelationshipConverter.cs
- DrawingImage.cs
- AssemblyHash.cs
- InputScopeManager.cs
- DataPointer.cs
- ObjectStateManager.cs
- OneOfTypeConst.cs
- Crc32Helper.cs
- DmlSqlGenerator.cs
- SafeThreadHandle.cs
- ToggleButtonAutomationPeer.cs
- LogicalExpr.cs
- MulticastDelegate.cs
- OracleRowUpdatedEventArgs.cs
- ScriptingSectionGroup.cs
- XmlSchemas.cs
- SafeFileMappingHandle.cs
- MarkupExtensionParser.cs
- MoveSizeWinEventHandler.cs
- ListControl.cs
- SQLInt16.cs
- MenuItemCollectionEditorDialog.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- DataBindingCollectionConverter.cs
- StaticTextPointer.cs
- ColumnHeaderConverter.cs
- SqlDataSourceCustomCommandEditor.cs
- UpDownEvent.cs
- DataGridViewLinkColumn.cs