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
- ArraySubsetEnumerator.cs
- ComplusEndpointConfigContainer.cs
- ToolStripDropDown.cs
- DisableDpiAwarenessAttribute.cs
- TextChangedEventArgs.cs
- PolyLineSegment.cs
- BufferBuilder.cs
- ListViewInsertEventArgs.cs
- DeflateEmulationStream.cs
- AutomationPatternInfo.cs
- PropertyPathConverter.cs
- GeneralTransform3DGroup.cs
- CompositeKey.cs
- XmlSchemaAttributeGroup.cs
- AutoResetEvent.cs
- DataRowExtensions.cs
- FormatVersion.cs
- Adorner.cs
- ReferentialConstraint.cs
- BaseTemplateCodeDomTreeGenerator.cs
- EngineSiteSapi.cs
- MembershipUser.cs
- CustomPopupPlacement.cs
- ZipIOLocalFileHeader.cs
- __FastResourceComparer.cs
- TagPrefixInfo.cs
- DirectoryObjectSecurity.cs
- EDesignUtil.cs
- ContextMenuStrip.cs
- Padding.cs
- PropertyChangedEventManager.cs
- FrameworkElement.cs
- SmiEventStream.cs
- CustomAssemblyResolver.cs
- DatatypeImplementation.cs
- ParserStreamGeometryContext.cs
- EntityCollection.cs
- DeferredTextReference.cs
- DocumentXmlWriter.cs
- DataObject.cs
- Pen.cs
- TextTreeUndo.cs
- AppDomainShutdownMonitor.cs
- StackOverflowException.cs
- ConfigurationLockCollection.cs
- FlowDecisionDesigner.xaml.cs
- GenericRootAutomationPeer.cs
- LinqMaximalSubtreeNominator.cs
- Button.cs
- TreeBuilderXamlTranslator.cs
- ImageBrush.cs
- StringWriter.cs
- EncryptedType.cs
- TreeNodeCollection.cs
- FixedSOMTableCell.cs
- SqlInternalConnectionSmi.cs
- HtmlToClrEventProxy.cs
- CrossAppDomainChannel.cs
- OrderingInfo.cs
- BamlResourceSerializer.cs
- OutputScopeManager.cs
- ResizeGrip.cs
- AesCryptoServiceProvider.cs
- ContentElement.cs
- IdentityModelDictionary.cs
- BindUriHelper.cs
- NameValuePermission.cs
- PersonalizationProvider.cs
- ScrollData.cs
- CaseInsensitiveHashCodeProvider.cs
- ErrorHandler.cs
- GlyphInfoList.cs
- WindowsImpersonationContext.cs
- RegexWorker.cs
- CrossSiteScriptingValidation.cs
- DesignerVerb.cs
- CacheMemory.cs
- GridViewDeletedEventArgs.cs
- SendActivityEventArgs.cs
- FaultException.cs
- ProjectionCamera.cs
- Nullable.cs
- __ComObject.cs
- StringFreezingAttribute.cs
- HierarchicalDataSourceControl.cs
- TextStore.cs
- SafeFileMappingHandle.cs
- SchemaTableOptionalColumn.cs
- KeyFrames.cs
- TreeViewHitTestInfo.cs
- CardSpacePolicyElement.cs
- CanonicalXml.cs
- ConcatQueryOperator.cs
- Screen.cs
- CalloutQueueItem.cs
- CompositionCommandSet.cs
- GradientStop.cs
- SpnEndpointIdentityExtension.cs
- AsymmetricKeyExchangeFormatter.cs
- InstallerTypeAttribute.cs