Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- SelectionGlyphBase.cs
- FileDialog_Vista.cs
- SecurityState.cs
- DataGridHeaderBorder.cs
- ElementsClipboardData.cs
- MultiBindingExpression.cs
- FastPropertyAccessor.cs
- EncoderParameter.cs
- RuntimeUtils.cs
- OutputCacheSettingsSection.cs
- SizeF.cs
- XmlDictionaryReader.cs
- NativeMethodsCLR.cs
- DescendantOverDescendantQuery.cs
- IMembershipProvider.cs
- CodeGenerator.cs
- TypeInfo.cs
- XmlSchemaComplexContentExtension.cs
- OutputCacheModule.cs
- ProviderManager.cs
- PolyLineSegment.cs
- XmlSerializerFactory.cs
- GeometryDrawing.cs
- EntitySqlQueryCacheEntry.cs
- Speller.cs
- DataContractSet.cs
- XmlSchemaAnyAttribute.cs
- BaseDataList.cs
- CompleteWizardStep.cs
- DefinitionBase.cs
- FontDriver.cs
- TypeInitializationException.cs
- PageTrueTypeFont.cs
- EntityObject.cs
- XmlSignificantWhitespace.cs
- ImpersonateTokenRef.cs
- ListDataHelper.cs
- TemplatePropertyEntry.cs
- ConfigurationPropertyAttribute.cs
- SQLStringStorage.cs
- dtdvalidator.cs
- SingleSelectRootGridEntry.cs
- ProjectionQueryOptionExpression.cs
- WebPermission.cs
- XmlAttributeHolder.cs
- HtmlElementErrorEventArgs.cs
- SecurityRuntime.cs
- SR.cs
- wgx_sdk_version.cs
- OrderByQueryOptionExpression.cs
- QilBinary.cs
- StateMachine.cs
- TableCell.cs
- CallbackDebugBehavior.cs
- ToolStripContainerActionList.cs
- AgileSafeNativeMemoryHandle.cs
- GenericTypeParameterBuilder.cs
- PerformanceCounterCategory.cs
- ScriptModule.cs
- XmlTypeAttribute.cs
- EntityStoreSchemaFilterEntry.cs
- MetadataAssemblyHelper.cs
- CreateRefExpr.cs
- ReadOnlyHierarchicalDataSourceView.cs
- EntityDataSourceView.cs
- TextBoxAutomationPeer.cs
- MenuBase.cs
- PassportAuthenticationEventArgs.cs
- PrintDocument.cs
- SspiWrapper.cs
- Collection.cs
- BitmapMetadataEnumerator.cs
- Canvas.cs
- StyleCollection.cs
- ThicknessAnimationBase.cs
- LookupNode.cs
- Directory.cs
- SafeEventLogReadHandle.cs
- DependencyProperty.cs
- DispatchWrapper.cs
- KnownBoxes.cs
- AndCondition.cs
- AbandonedMutexException.cs
- RuntimeConfig.cs
- TrackingAnnotationCollection.cs
- ApplicationFileCodeDomTreeGenerator.cs
- DataBindingList.cs
- BitmapFrameEncode.cs
- AssemblyNameProxy.cs
- StrokeCollection2.cs
- Facet.cs
- TemplateControl.cs
- ExceptionAggregator.cs
- EDesignUtil.cs
- SkipStoryboardToFill.cs
- ObfuscationAttribute.cs
- PersonalizationProviderCollection.cs
- StylusButtonCollection.cs
- InfiniteIntConverter.cs
- TextEditorCharacters.cs