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
- HostingEnvironmentSection.cs
- SrgsElementFactory.cs
- CookielessHelper.cs
- ThicknessKeyFrameCollection.cs
- WebControlsSection.cs
- ContextInformation.cs
- CodeNamespaceImport.cs
- PLINQETWProvider.cs
- SpotLight.cs
- ParsedAttributeCollection.cs
- RemoteHelper.cs
- TargetPerspective.cs
- TokenizerHelper.cs
- ViewCellSlot.cs
- XmlBindingWorker.cs
- mediapermission.cs
- EventRouteFactory.cs
- ReturnType.cs
- CountAggregationOperator.cs
- XmlSchemaParticle.cs
- DbDataSourceEnumerator.cs
- LocalIdCollection.cs
- WindowsSlider.cs
- TreeNodeStyle.cs
- COSERVERINFO.cs
- CommonGetThemePartSize.cs
- SortQuery.cs
- WindowsProgressbar.cs
- FontFamilyValueSerializer.cs
- ClientApiGenerator.cs
- SqlVersion.cs
- DefaultEventAttribute.cs
- UserControlDocumentDesigner.cs
- DateTimeFormatInfo.cs
- DispatchChannelSink.cs
- WorkflowDesignerMessageFilter.cs
- LambdaReference.cs
- BindingParameterCollection.cs
- CatalogZone.cs
- LogLogRecord.cs
- CreateUserErrorEventArgs.cs
- NonBatchDirectoryCompiler.cs
- GC.cs
- DateTimeValueSerializerContext.cs
- ChangesetResponse.cs
- CreateUserWizardStep.cs
- DefaultHttpHandler.cs
- XmlSchemaSimpleContent.cs
- AssemblyAssociatedContentFileAttribute.cs
- PageContent.cs
- RegexParser.cs
- PropertyTab.cs
- CheckBoxFlatAdapter.cs
- DefaultEventAttribute.cs
- MemberHolder.cs
- XmlEncoding.cs
- SslStream.cs
- COSERVERINFO.cs
- DictionaryMarkupSerializer.cs
- DefaultTraceListener.cs
- HtmlElement.cs
- HMACSHA1.cs
- SkewTransform.cs
- CollectionViewGroupRoot.cs
- TextViewSelectionProcessor.cs
- WebPartConnectionsCancelVerb.cs
- Misc.cs
- AnnotationObservableCollection.cs
- ObjectDesignerDataSourceView.cs
- TraceInternal.cs
- Focus.cs
- ParameterCollection.cs
- AnimatedTypeHelpers.cs
- ComplexBindingPropertiesAttribute.cs
- WpfWebRequestHelper.cs
- DataGridViewLinkColumn.cs
- ProtocolsSection.cs
- typedescriptorpermissionattribute.cs
- ObjectHandle.cs
- RegistryPermission.cs
- Executor.cs
- CrossAppDomainChannel.cs
- FaultDescription.cs
- XsdCachingReader.cs
- CompilationUnit.cs
- XmlDataCollection.cs
- MimeTypeMapper.cs
- SingleAnimationUsingKeyFrames.cs
- MachineKeyValidationConverter.cs
- SoapFault.cs
- HasCopySemanticsAttribute.cs
- EdmFunction.cs
- designeractionlistschangedeventargs.cs
- CheckBoxAutomationPeer.cs
- TypeToStringValueConverter.cs
- BatchStream.cs
- ApplicationHost.cs
- UnrecognizedPolicyAssertionElement.cs
- ProfileManager.cs
- Configuration.cs