Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / System / Windows / Media / Animation / Generated / LinearKeyFrames.cs / 1 / LinearKeyFrames.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using MS.Internal; using System; using System.Collections; using System.ComponentModel; using System.Diagnostics; using System.Windows.Media; using System.Windows.Media.Media3D; using MS.Internal.PresentationFramework; namespace System.Windows.Media.Animation { ////// This class is used as part of a ThicknessKeyFrameCollection in /// conjunction with a KeyFrameThicknessAnimation to animate a /// Thickness property value along a set of key frames. /// /// This ThicknessKeyFrame interpolates the between the Thickness Value of /// the previous key frame and its own Value linearly to produce its output value. /// public partial class LinearThicknessKeyFrame : ThicknessKeyFrame { #region Constructors ////// Creates a new LinearThicknessKeyFrame. /// public LinearThicknessKeyFrame() : base() { } ////// Creates a new LinearThicknessKeyFrame. /// public LinearThicknessKeyFrame(Thickness value) : base(value) { } ////// Creates a new LinearThicknessKeyFrame. /// public LinearThicknessKeyFrame(Thickness value, KeyTime keyTime) : base(value, keyTime) { } #endregion #region Freezable ////// Implementation of ///Freezable.CreateInstanceCore . ///The new Freezable. protected override Freezable CreateInstanceCore() { return new LinearThicknessKeyFrame(); } #endregion #region ThicknessKeyFrame ////// Implemented to linearly interpolate between the baseValue and the /// Value of this KeyFrame using the keyFrameProgress. /// protected override Thickness InterpolateValueCore(Thickness baseValue, double keyFrameProgress) { if (keyFrameProgress == 0.0) { return baseValue; } else if (keyFrameProgress == 1.0) { return Value; } else { return AnimatedTypeHelpers.InterpolateThickness(baseValue, Value, keyFrameProgress); } } #endregion } } // 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. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using MS.Internal; using System; using System.Collections; using System.ComponentModel; using System.Diagnostics; using System.Windows.Media; using System.Windows.Media.Media3D; using MS.Internal.PresentationFramework; namespace System.Windows.Media.Animation { ////// This class is used as part of a ThicknessKeyFrameCollection in /// conjunction with a KeyFrameThicknessAnimation to animate a /// Thickness property value along a set of key frames. /// /// This ThicknessKeyFrame interpolates the between the Thickness Value of /// the previous key frame and its own Value linearly to produce its output value. /// public partial class LinearThicknessKeyFrame : ThicknessKeyFrame { #region Constructors ////// Creates a new LinearThicknessKeyFrame. /// public LinearThicknessKeyFrame() : base() { } ////// Creates a new LinearThicknessKeyFrame. /// public LinearThicknessKeyFrame(Thickness value) : base(value) { } ////// Creates a new LinearThicknessKeyFrame. /// public LinearThicknessKeyFrame(Thickness value, KeyTime keyTime) : base(value, keyTime) { } #endregion #region Freezable ////// Implementation of ///Freezable.CreateInstanceCore . ///The new Freezable. protected override Freezable CreateInstanceCore() { return new LinearThicknessKeyFrame(); } #endregion #region ThicknessKeyFrame ////// Implemented to linearly interpolate between the baseValue and the /// Value of this KeyFrame using the keyFrameProgress. /// protected override Thickness InterpolateValueCore(Thickness baseValue, double keyFrameProgress) { if (keyFrameProgress == 0.0) { return baseValue; } else if (keyFrameProgress == 1.0) { return Value; } else { return AnimatedTypeHelpers.InterpolateThickness(baseValue, Value, keyFrameProgress); } } #endregion } } // 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
- NullReferenceException.cs
- SafeRightsManagementPubHandle.cs
- QilFactory.cs
- AssertFilter.cs
- SecurityTokenException.cs
- BamlRecords.cs
- WindowsListBox.cs
- StructuralObject.cs
- InstanceContextMode.cs
- KeyConverter.cs
- SynchronizationLockException.cs
- SimpleLine.cs
- ResourcesChangeInfo.cs
- DragDrop.cs
- TriggerAction.cs
- UrlMappingsSection.cs
- ListChangedEventArgs.cs
- PathSegmentCollection.cs
- LineServicesCallbacks.cs
- DefaultEventAttribute.cs
- NativeMethods.cs
- PostBackOptions.cs
- Converter.cs
- RemotingClientProxy.cs
- ConfigXmlText.cs
- TcpWorkerProcess.cs
- OdbcFactory.cs
- DbProviderFactory.cs
- SafeNativeMethods.cs
- ContainerCodeDomSerializer.cs
- QilDataSource.cs
- ObjectViewQueryResultData.cs
- PriorityChain.cs
- ReadOnlyAttribute.cs
- CodeTypeDeclarationCollection.cs
- HostingPreferredMapPath.cs
- CellConstant.cs
- SafeNativeMethods.cs
- SqlOuterApplyReducer.cs
- DataServiceQuery.cs
- AttributeConverter.cs
- Int16Storage.cs
- XmlDataImplementation.cs
- ProfileModule.cs
- ElementHost.cs
- _TimerThread.cs
- XmlReaderDelegator.cs
- XmlRawWriter.cs
- HttpAsyncResult.cs
- FontNameEditor.cs
- ExponentialEase.cs
- WebSysDefaultValueAttribute.cs
- GenericXmlSecurityToken.cs
- PackWebRequestFactory.cs
- DataSysAttribute.cs
- CancellationTokenSource.cs
- TextShapeableCharacters.cs
- ListBoxAutomationPeer.cs
- ImportedNamespaceContextItem.cs
- tooltip.cs
- ExpressionBuilderCollection.cs
- Parameter.cs
- RouteItem.cs
- SecurityElement.cs
- WeakReferenceList.cs
- TriggerBase.cs
- BezierSegment.cs
- SiteMap.cs
- PriorityChain.cs
- LinqDataView.cs
- SqlAliaser.cs
- CookielessHelper.cs
- IDReferencePropertyAttribute.cs
- CryptoApi.cs
- XmlSchemaAttributeGroupRef.cs
- PropertyCondition.cs
- DataGridViewCheckBoxCell.cs
- TrueReadOnlyCollection.cs
- ResourcePool.cs
- TabControlEvent.cs
- XmlWhitespace.cs
- HttpCapabilitiesEvaluator.cs
- WebPartEditorCancelVerb.cs
- WorkflowServiceBehavior.cs
- XmlSortKeyAccumulator.cs
- TableAdapterManagerGenerator.cs
- OneOfConst.cs
- _CommandStream.cs
- TokenBasedSet.cs
- ObjectViewEntityCollectionData.cs
- MatrixCamera.cs
- X509CertificateTrustedIssuerElement.cs
- ConditionBrowserDialog.cs
- WebControlAdapter.cs
- PopupRoot.cs
- MeasurementDCInfo.cs
- EventProxy.cs
- MessageSecurityVersion.cs
- SEHException.cs
- GACIdentityPermission.cs