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
- HttpResponseMessageProperty.cs
- NavigatingCancelEventArgs.cs
- NativeCppClassAttribute.cs
- RelatedCurrencyManager.cs
- ValueOfAction.cs
- MaskedTextBox.cs
- SqlParameter.cs
- MergePropertyDescriptor.cs
- SynchronizationHandlesCodeDomSerializer.cs
- RegistrationProxy.cs
- SafeUserTokenHandle.cs
- Metadata.cs
- SplineKeyFrames.cs
- ProtectedConfigurationProviderCollection.cs
- TextRunProperties.cs
- SimpleMailWebEventProvider.cs
- TypeConverterHelper.cs
- ActionItem.cs
- HeaderedContentControl.cs
- initElementDictionary.cs
- ImportCatalogPart.cs
- MouseGesture.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- SystemDiagnosticsSection.cs
- FunctionDescription.cs
- DoubleCollectionValueSerializer.cs
- IgnoreFileBuildProvider.cs
- DocumentCollection.cs
- _AcceptOverlappedAsyncResult.cs
- ToolStripButton.cs
- TimeManager.cs
- FileVersion.cs
- OSFeature.cs
- EndpointIdentity.cs
- OperationInvokerBehavior.cs
- WmiEventSink.cs
- UserValidatedEventArgs.cs
- ProcessModelInfo.cs
- DefaultProxySection.cs
- AuthorizationRule.cs
- VerticalAlignConverter.cs
- CodeTryCatchFinallyStatement.cs
- DockEditor.cs
- PropertyCollection.cs
- RadialGradientBrush.cs
- Trace.cs
- UInt16.cs
- PolicyException.cs
- GridItemProviderWrapper.cs
- WindowsContainer.cs
- webproxy.cs
- RegexCharClass.cs
- SoapCodeExporter.cs
- X509ChainElement.cs
- PerformanceCounter.cs
- TrackingValidationObjectDictionary.cs
- MultiSelectRootGridEntry.cs
- XmlElementAttribute.cs
- TextBlock.cs
- SafeMemoryMappedViewHandle.cs
- _SecureChannel.cs
- OrderedDictionaryStateHelper.cs
- PeerDuplexChannelListener.cs
- PassportPrincipal.cs
- CapabilitiesPattern.cs
- GACIdentityPermission.cs
- AsynchronousChannelMergeEnumerator.cs
- AppDomainProtocolHandler.cs
- ApplicationException.cs
- FillErrorEventArgs.cs
- WindowProviderWrapper.cs
- ThreadStartException.cs
- ConfigsHelper.cs
- BaseDataBoundControl.cs
- PerspectiveCamera.cs
- ImageDrawing.cs
- LingerOption.cs
- TextEncodedRawTextWriter.cs
- XmlDictionary.cs
- PathTooLongException.cs
- VerificationAttribute.cs
- FlowDecisionDesigner.xaml.cs
- MethodImplAttribute.cs
- Transform3DGroup.cs
- ScriptingSectionGroup.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- SQLSingleStorage.cs
- SymDocumentType.cs
- DataGridViewRowsRemovedEventArgs.cs
- Size3D.cs
- NamespaceCollection.cs
- PageTheme.cs
- SynchronizationContext.cs
- StoreItemCollection.Loader.cs
- CacheManager.cs
- OdbcParameter.cs
- ReadOnlyCollectionBase.cs
- MatrixAnimationUsingKeyFrames.cs
- AncillaryOps.cs
- File.cs