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
- SafeArrayRankMismatchException.cs
- CapabilitiesUse.cs
- Timer.cs
- LinqDataSourceStatusEventArgs.cs
- InstanceHandleConflictException.cs
- SinglePageViewer.cs
- PageVisual.cs
- ToolboxItemFilterAttribute.cs
- DirectionalLight.cs
- FlatButtonAppearance.cs
- VariableQuery.cs
- DependencyObject.cs
- XAMLParseException.cs
- DataRowView.cs
- SafeLibraryHandle.cs
- WebServiceResponseDesigner.cs
- MarkupCompilePass1.cs
- CultureInfo.cs
- Emitter.cs
- TextTreeTextNode.cs
- FontResourceCache.cs
- cookiecontainer.cs
- HttpResponse.cs
- DecimalKeyFrameCollection.cs
- ISessionStateStore.cs
- QualificationDataItem.cs
- AesCryptoServiceProvider.cs
- DataBindingHandlerAttribute.cs
- RolePrincipal.cs
- TextServicesProperty.cs
- AdCreatedEventArgs.cs
- EntityExpressionVisitor.cs
- BindingManagerDataErrorEventArgs.cs
- HighContrastHelper.cs
- StringResourceManager.cs
- CodeMemberField.cs
- cookieexception.cs
- DeliveryRequirementsAttribute.cs
- WinInetCache.cs
- CornerRadiusConverter.cs
- CqlErrorHelper.cs
- SHA1Managed.cs
- RepeaterItemCollection.cs
- ContractTypeNameElement.cs
- Predicate.cs
- FrameSecurityDescriptor.cs
- ComponentRenameEvent.cs
- SpotLight.cs
- LinqExpressionNormalizer.cs
- OdbcConnectionPoolProviderInfo.cs
- Models.cs
- SafeNativeMethodsMilCoreApi.cs
- WebPartConnectionCollection.cs
- InkCanvasInnerCanvas.cs
- WebEventCodes.cs
- DeleteMemberBinder.cs
- ReachDocumentReferenceSerializerAsync.cs
- BindingWorker.cs
- TempFiles.cs
- ToolStripCustomTypeDescriptor.cs
- NativeMethods.cs
- Configuration.cs
- WinFormsSecurity.cs
- LoadedOrUnloadedOperation.cs
- PlatformCulture.cs
- PropertyDescriptorCollection.cs
- PermissionRequestEvidence.cs
- ServiceParser.cs
- AuthenticatedStream.cs
- EntityException.cs
- HtmlTernaryTree.cs
- HttpStaticObjectsCollectionWrapper.cs
- XmlIlTypeHelper.cs
- HyperLinkColumn.cs
- AudioDeviceOut.cs
- ObjectAnimationBase.cs
- WebPartAuthorizationEventArgs.cs
- WebCodeGenerator.cs
- DataTableMappingCollection.cs
- FixedSOMLineCollection.cs
- ListView.cs
- ContainerActivationHelper.cs
- SqlSupersetValidator.cs
- FileDialog.cs
- BinaryObjectReader.cs
- FlowPosition.cs
- ImageMap.cs
- EntityStoreSchemaGenerator.cs
- UrlParameterWriter.cs
- AutomationTextAttribute.cs
- ProviderBase.cs
- Hashtable.cs
- Region.cs
- MetaTable.cs
- XmlArrayItemAttribute.cs
- DataStreams.cs
- XXXOnTypeBuilderInstantiation.cs
- ConditionCollection.cs
- ServerIdentity.cs
- DiffuseMaterial.cs