Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HostProtectionPermission.cs
- ChameleonKey.cs
- SmiEventSink_DeferedProcessing.cs
- Pair.cs
- Char.cs
- StylusPointPropertyInfoDefaults.cs
- ExpressionBuilderCollection.cs
- MtomMessageEncoder.cs
- TcpServerChannel.cs
- XmlElement.cs
- Canvas.cs
- ModulesEntry.cs
- TreeNodeSelectionProcessor.cs
- WebPartVerb.cs
- CodePrimitiveExpression.cs
- MembershipPasswordException.cs
- MaterialGroup.cs
- login.cs
- TabItemWrapperAutomationPeer.cs
- SimpleFieldTemplateFactory.cs
- COAUTHINFO.cs
- InternalControlCollection.cs
- MouseCaptureWithinProperty.cs
- RuntimeHelpers.cs
- DocumentPage.cs
- RequestCachePolicy.cs
- WebBrowserHelper.cs
- SubMenuStyleCollectionEditor.cs
- StorageEntityContainerMapping.cs
- Socket.cs
- NotSupportedException.cs
- BindingManagerDataErrorEventArgs.cs
- HasCopySemanticsAttribute.cs
- InlineObject.cs
- Config.cs
- CustomAssemblyResolver.cs
- ContainsRowNumberChecker.cs
- ProvidePropertyAttribute.cs
- OdbcPermission.cs
- ListControlDesigner.cs
- SchemaElementLookUpTable.cs
- ClientScriptItemCollection.cs
- ListGeneralPage.cs
- WindowsGraphics2.cs
- ObjectQueryState.cs
- GradientStop.cs
- SessionIDManager.cs
- BlockUIContainer.cs
- Int32Collection.cs
- ComponentCollection.cs
- RootBrowserWindowAutomationPeer.cs
- LoaderAllocator.cs
- PeerToPeerException.cs
- WindowsListViewScroll.cs
- CompositeDuplexElement.cs
- BufferedGraphicsManager.cs
- ResXDataNode.cs
- BrowserDefinition.cs
- InputProcessorProfilesLoader.cs
- TypeConverterHelper.cs
- Polyline.cs
- CallbackValidator.cs
- PasswordTextContainer.cs
- MouseGesture.cs
- ThumbAutomationPeer.cs
- TableCell.cs
- TransactionOptions.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Misc.cs
- AssemblyAttributes.cs
- SafeRightsManagementPubHandle.cs
- ObjectPersistData.cs
- Monitor.cs
- RefreshPropertiesAttribute.cs
- PerfCounters.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- SimpleApplicationHost.cs
- StringToken.cs
- WebZone.cs
- ReadWriteSpinLock.cs
- DragEvent.cs
- PathStreamGeometryContext.cs
- TreeNodeClickEventArgs.cs
- BrowserCapabilitiesFactory35.cs
- ToolConsole.cs
- UIntPtr.cs
- NavigationPropertyEmitter.cs
- XhtmlBasicValidatorAdapter.cs
- CultureMapper.cs
- TextBox.cs
- SqlBulkCopy.cs
- SQLBinary.cs
- LinkDesigner.cs
- documentsequencetextcontainer.cs
- XmlSerializationReader.cs
- DataGridTextBoxColumn.cs
- UrlMappingsSection.cs
- ObjectCloneHelper.cs
- WizardStepBase.cs
- ContentFileHelper.cs