Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / TrustUi / MS / Internal / documents / Application / DocumentApplicationState.cs / 1 / DocumentApplicationState.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: Represents the current UI state of the application. // // History: // 06/24/2005 - [....] created // //--------------------------------------------------------------------------- using MS.Internal.PresentationUI; using System; namespace MS.Internal.Documents.Application { [Serializable] [FriendAccessAllowed] internal struct DocumentApplicationState { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- ////// Constructor /// /// Zoom value /// Horizontal offset within the document /// Vertical offset within the document /// Number of adjacent pages displayed public DocumentApplicationState(double zoom, double horizontalOffset, double verticalOffset, int maxPagesAcross) { // set local values _zoom = zoom; _horizontalOffset = horizontalOffset; _verticalOffset = verticalOffset; _maxPagesAcross = maxPagesAcross; } //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// Zoom value /// public double Zoom { get { return _zoom; } } ////// Horizontal offset within the document /// public double HorizontalOffset { get { return _horizontalOffset; } } ////// Vertical offset within the document /// public double VerticalOffset { get { return _verticalOffset; } } ////// Number of adjacent pages displayed /// public int MaxPagesAcross { get { return _maxPagesAcross; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private double _zoom; private double _horizontalOffset; private double _verticalOffset; private int _maxPagesAcross; #endregion Private 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
- XPathPatternParser.cs
- ConfigurationValue.cs
- AudioDeviceOut.cs
- ManagementOperationWatcher.cs
- DynamicActivity.cs
- DocumentViewer.cs
- TypeSystemHelpers.cs
- OperatingSystemVersionCheck.cs
- COSERVERINFO.cs
- ResourceReader.cs
- PersonalizationProviderCollection.cs
- WinInetCache.cs
- PartitionResolver.cs
- TableDetailsRow.cs
- DataGridComboBoxColumn.cs
- FormViewInsertEventArgs.cs
- RNGCryptoServiceProvider.cs
- BamlStream.cs
- TextBoxBaseDesigner.cs
- XomlDesignerLoader.cs
- ProgressBarRenderer.cs
- GenerateTemporaryTargetAssembly.cs
- CompensatableTransactionScopeActivity.cs
- DotExpr.cs
- PointLightBase.cs
- ProfileSection.cs
- ConfigurationManagerInternalFactory.cs
- FilterUserControlBase.cs
- DisplayNameAttribute.cs
- NullableLongAverageAggregationOperator.cs
- FilterException.cs
- TextTreeExtractElementUndoUnit.cs
- Automation.cs
- RefExpr.cs
- RepeatInfo.cs
- GridViewColumn.cs
- Base64Encoder.cs
- LazyTextWriterCreator.cs
- SqlInternalConnectionSmi.cs
- PseudoWebRequest.cs
- SqlConnectionFactory.cs
- SQLConvert.cs
- ReturnType.cs
- FixedSOMTableRow.cs
- StrongNameIdentityPermission.cs
- Popup.cs
- XamlFilter.cs
- DateTimeValueSerializerContext.cs
- DataGridViewTextBoxEditingControl.cs
- TraceSection.cs
- WebPartChrome.cs
- DataRowIndexBuffer.cs
- Identity.cs
- QilReplaceVisitor.cs
- TypeResolvingOptionsAttribute.cs
- PageAdapter.cs
- RequestSecurityToken.cs
- CacheMode.cs
- RecommendedAsConfigurableAttribute.cs
- HopperCache.cs
- SystemColors.cs
- SQLChars.cs
- DefaultBindingPropertyAttribute.cs
- HitTestWithPointDrawingContextWalker.cs
- DataServiceProviderWrapper.cs
- StretchValidation.cs
- GeneralTransform3DTo2DTo3D.cs
- PropertyTabChangedEvent.cs
- AssemblyNameProxy.cs
- ObjectConverter.cs
- AutomationElementCollection.cs
- DesignerForm.cs
- ProviderSettings.cs
- precedingquery.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- StorageTypeMapping.cs
- AutomationTextAttribute.cs
- SafeSecurityHelper.cs
- DesignTimeVisibleAttribute.cs
- ButtonField.cs
- XsltConvert.cs
- PackagingUtilities.cs
- LassoHelper.cs
- SafeTimerHandle.cs
- FixedSOMTextRun.cs
- CorrelationManager.cs
- DiscreteKeyFrames.cs
- ScriptingProfileServiceSection.cs
- PersonalizationDictionary.cs
- TextAdaptor.cs
- ZipIOCentralDirectoryBlock.cs
- Constraint.cs
- Vars.cs
- ToolBarTray.cs
- KeyValueConfigurationElement.cs
- DoubleLinkList.cs
- OpCodes.cs
- FormsAuthenticationEventArgs.cs
- DataSysAttribute.cs
- DataGridHelper.cs