Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Media / Animation / Generated / DiscreteKeyFrames.cs / 1305600 / 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
- ConversionContext.cs
- LogWriteRestartAreaState.cs
- OleDbRowUpdatingEvent.cs
- XmlSchemaAttributeGroupRef.cs
- ProbeDuplexCD1AsyncResult.cs
- HttpGetProtocolImporter.cs
- RuleInfoComparer.cs
- CmsUtils.cs
- ManualResetEvent.cs
- GeometryModel3D.cs
- WindowCollection.cs
- NoneExcludedImageIndexConverter.cs
- LocationSectionRecord.cs
- TileBrush.cs
- PerformanceCounterPermission.cs
- LocalTransaction.cs
- DNS.cs
- WebPartDisplayMode.cs
- SelectionHighlightInfo.cs
- MailAddress.cs
- Size.cs
- ImageMapEventArgs.cs
- PenContext.cs
- AnnotationDocumentPaginator.cs
- ElapsedEventArgs.cs
- TriggerBase.cs
- ToolStripOverflow.cs
- FormCollection.cs
- RoleManagerEventArgs.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- EntityDataSourceEntityTypeFilterItem.cs
- SingleKeyFrameCollection.cs
- IdnElement.cs
- RoutedCommand.cs
- KeyConstraint.cs
- IdentityNotMappedException.cs
- EnumUnknown.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- XMLSyntaxException.cs
- DataGridViewTextBoxEditingControl.cs
- RecognitionEventArgs.cs
- WindowsImpersonationContext.cs
- TextEditorTyping.cs
- NodeFunctions.cs
- FormattedTextSymbols.cs
- WrapPanel.cs
- ObjectSpanRewriter.cs
- QueryCacheKey.cs
- WindowsAuthenticationEventArgs.cs
- XmlSchemaSimpleContentRestriction.cs
- URLAttribute.cs
- DocumentPageHost.cs
- PropertyInformationCollection.cs
- Sequence.cs
- PathGradientBrush.cs
- Splitter.cs
- SafeArrayTypeMismatchException.cs
- Socket.cs
- FolderBrowserDialog.cs
- WebControlAdapter.cs
- DataProtection.cs
- NodeFunctions.cs
- APCustomTypeDescriptor.cs
- RuntimeResourceSet.cs
- SqlDelegatedTransaction.cs
- ImportCatalogPart.cs
- HttpHandler.cs
- EnumerableValidator.cs
- BitmapEffectDrawingContent.cs
- PixelShader.cs
- NumberAction.cs
- PrintDocument.cs
- AnnotationComponentManager.cs
- EventLogStatus.cs
- EditorAttributeInfo.cs
- ProtocolsSection.cs
- SafeRightsManagementEnvironmentHandle.cs
- PropertyContainer.cs
- SafeSecurityHandles.cs
- ProviderConnectionPoint.cs
- ImageButton.cs
- PersonalizationEntry.cs
- Drawing.cs
- EntityDataSourceValidationException.cs
- ReadOnlyPermissionSet.cs
- MSG.cs
- PolicyException.cs
- PixelFormatConverter.cs
- DataServiceCollectionOfT.cs
- HandlerFactoryCache.cs
- PrintPageEvent.cs
- DTCTransactionManager.cs
- XsltFunctions.cs
- QilXmlWriter.cs
- PeerNodeAddress.cs
- MarkupCompiler.cs
- PropertyGridView.cs
- ProcessModelInfo.cs
- PointLightBase.cs
- UserUseLicenseDictionaryLoader.cs