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
- DebugView.cs
- CompiledRegexRunner.cs
- StateRuntime.cs
- Int64KeyFrameCollection.cs
- XmlProcessingInstruction.cs
- HtmlInputText.cs
- nulltextcontainer.cs
- SqlNode.cs
- CodeDomLoader.cs
- CodeFieldReferenceExpression.cs
- RightsManagementEncryptionTransform.cs
- ComContractElement.cs
- DataServiceKeyAttribute.cs
- X509CertificateValidator.cs
- BindingBase.cs
- UrlAuthFailedErrorFormatter.cs
- ColumnBinding.cs
- ParentQuery.cs
- ListItem.cs
- Axis.cs
- InvokeBinder.cs
- EntitySetBaseCollection.cs
- FindCriteria11.cs
- FormView.cs
- CodeAccessPermission.cs
- TypedElement.cs
- QilReplaceVisitor.cs
- hresults.cs
- Rotation3D.cs
- Transform.cs
- Screen.cs
- DebugView.cs
- MailDefinition.cs
- RegisterInfo.cs
- NTAccount.cs
- Regex.cs
- EdmFunctionAttribute.cs
- InplaceBitmapMetadataWriter.cs
- webbrowsersite.cs
- xmlsaver.cs
- ComboBoxItem.cs
- ScriptManagerProxy.cs
- FixedTextView.cs
- EdmSchemaAttribute.cs
- _AuthenticationState.cs
- CursorConverter.cs
- AbstractExpressions.cs
- XPathScanner.cs
- IsolatedStorageFile.cs
- TypeSystem.cs
- StickyNoteAnnotations.cs
- ModifierKeysConverter.cs
- OleDbParameterCollection.cs
- SafeCoTaskMem.cs
- MetadataException.cs
- ItemChangedEventArgs.cs
- CompiledQueryCacheKey.cs
- SqlDependencyUtils.cs
- StoreUtilities.cs
- ExpandedWrapper.cs
- ProxyHelper.cs
- Ports.cs
- TreeViewImageIndexConverter.cs
- User.cs
- MemoryPressure.cs
- SequenceDesigner.cs
- UnsafeNativeMethods.cs
- TypeConverter.cs
- ProgressBar.cs
- FilterException.cs
- CompiledRegexRunnerFactory.cs
- RootContext.cs
- SQLDoubleStorage.cs
- _FixedSizeReader.cs
- SoapMessage.cs
- WebControlsSection.cs
- TabRenderer.cs
- ConfigXmlReader.cs
- DoubleAnimationUsingKeyFrames.cs
- XmlSignatureProperties.cs
- WindowsFormsLinkLabel.cs
- LZCodec.cs
- SQLUtility.cs
- TypeDefinition.cs
- SqlCommandSet.cs
- OutgoingWebResponseContext.cs
- Bezier.cs
- CalendarDayButton.cs
- ResourceManager.cs
- URLString.cs
- HelloOperation11AsyncResult.cs
- ScriptMethodAttribute.cs
- ProcessThread.cs
- HandleRef.cs
- IssuedTokenClientCredential.cs
- CachedRequestParams.cs
- DtrList.cs
- DataServiceQueryException.cs
- ListControlBuilder.cs
- RootAction.cs