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 / DiscreteKeyFrames.cs / 1 / DiscreteKeyFrames.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 changes from the Thickness Value of /// the previous key frame to its own Value without interpolation. The /// change occurs at the KeyTime. /// public class DiscreteThicknessKeyFrame : ThicknessKeyFrame { #region Constructors ////// Creates a new DiscreteThicknessKeyFrame. /// public DiscreteThicknessKeyFrame() : base() { } ////// Creates a new DiscreteThicknessKeyFrame. /// public DiscreteThicknessKeyFrame(Thickness value) : base(value) { } ////// Creates a new DiscreteThicknessKeyFrame. /// public DiscreteThicknessKeyFrame(Thickness value, KeyTime keyTime) : base(value, keyTime) { } #endregion #region Freezable ////// Implementation of ///Freezable.CreateInstanceCore . ///The new Freezable. protected override Freezable CreateInstanceCore() { return new DiscreteThicknessKeyFrame(); } // We don't need to override CloneCore because it won't do anything #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 < 1.0) { return baseValue; } else { return Value; } } #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 changes from the Thickness Value of /// the previous key frame to its own Value without interpolation. The /// change occurs at the KeyTime. /// public class DiscreteThicknessKeyFrame : ThicknessKeyFrame { #region Constructors ////// Creates a new DiscreteThicknessKeyFrame. /// public DiscreteThicknessKeyFrame() : base() { } ////// Creates a new DiscreteThicknessKeyFrame. /// public DiscreteThicknessKeyFrame(Thickness value) : base(value) { } ////// Creates a new DiscreteThicknessKeyFrame. /// public DiscreteThicknessKeyFrame(Thickness value, KeyTime keyTime) : base(value, keyTime) { } #endregion #region Freezable ////// Implementation of ///Freezable.CreateInstanceCore . ///The new Freezable. protected override Freezable CreateInstanceCore() { return new DiscreteThicknessKeyFrame(); } // We don't need to override CloneCore because it won't do anything #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 < 1.0) { return baseValue; } else { return Value; } } #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
- TextFindEngine.cs
- NotFiniteNumberException.cs
- OletxEnlistment.cs
- InstanceNotReadyException.cs
- ControlDesigner.cs
- Fault.cs
- TextElement.cs
- SizeAnimationClockResource.cs
- DtdParser.cs
- EndpointBehaviorElementCollection.cs
- WindowsScrollBarBits.cs
- RightsManagementInformation.cs
- XPathNodeHelper.cs
- Cell.cs
- ContextQuery.cs
- Soap12ProtocolReflector.cs
- WorkflowElementDialogWindow.xaml.cs
- OperandQuery.cs
- CompositeClientFormatter.cs
- FocusWithinProperty.cs
- TextEncodedRawTextWriter.cs
- LockCookie.cs
- SHA256.cs
- Number.cs
- DataSysAttribute.cs
- FolderBrowserDialog.cs
- xmlfixedPageInfo.cs
- UITypeEditor.cs
- TheQuery.cs
- ChineseLunisolarCalendar.cs
- CharAnimationBase.cs
- CatalogZone.cs
- MexHttpsBindingCollectionElement.cs
- NullRuntimeConfig.cs
- OraclePermission.cs
- EntityObject.cs
- Symbol.cs
- BindingBase.cs
- CodeLinePragma.cs
- SerializableTypeCodeDomSerializer.cs
- Geometry3D.cs
- OpCodes.cs
- AttachedAnnotation.cs
- UnsafeNativeMethodsCLR.cs
- ElementAtQueryOperator.cs
- ExpressionCopier.cs
- FtpCachePolicyElement.cs
- XmlNamespaceMapping.cs
- CustomDictionarySources.cs
- ContentFileHelper.cs
- BoundColumn.cs
- DataBinder.cs
- DllNotFoundException.cs
- UntypedNullExpression.cs
- SimpleHandlerFactory.cs
- Expression.cs
- Multiply.cs
- ConstraintManager.cs
- StringUtil.cs
- ASCIIEncoding.cs
- ListSourceHelper.cs
- PersistenceProviderFactory.cs
- CopyAction.cs
- Style.cs
- ErrorEventArgs.cs
- CodeTypeReferenceCollection.cs
- RefExpr.cs
- RewritingSimplifier.cs
- Exception.cs
- ObjectSet.cs
- SafeFileHandle.cs
- TypeBuilder.cs
- LowerCaseStringConverter.cs
- DesignerSerializationVisibilityAttribute.cs
- embossbitmapeffect.cs
- PropertyMetadata.cs
- documentsequencetextpointer.cs
- ViewBase.cs
- TableCell.cs
- MultiView.cs
- Root.cs
- ContainsSearchOperator.cs
- EntityObject.cs
- AbandonedMutexException.cs
- DataSourceNameHandler.cs
- SystemEvents.cs
- TailPinnedEventArgs.cs
- ListViewUpdatedEventArgs.cs
- ExtensionSimplifierMarkupObject.cs
- AbandonedMutexException.cs
- TransactionInterop.cs
- JsonMessageEncoderFactory.cs
- InvalidTimeZoneException.cs
- TextServicesDisplayAttributePropertyRanges.cs
- MbpInfo.cs
- ExtentKey.cs
- UrlPath.cs
- ElementAction.cs
- WebConfigurationHost.cs
- Line.cs