Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / IndependentlyAnimatedPropertyMetadata.cs / 1305600 / IndependentlyAnimatedPropertyMetadata.cs
// IndependentlyAnimatedPropertyMetadata.cs
using System.Windows;
namespace System.Windows.Media.Animation
{
///
/// A class registers this type of Metadata for a property if the property
/// can be independently animated on that class.
///
internal class IndependentlyAnimatedPropertyMetadata : UIPropertyMetadata
{
internal IndependentlyAnimatedPropertyMetadata(object defaultValue) : base(defaultValue) {}
internal IndependentlyAnimatedPropertyMetadata(object defaultValue,
PropertyChangedCallback propertyChangedCallback, CoerceValueCallback coerceValueCallback)
: base(defaultValue, propertyChangedCallback, coerceValueCallback) {}
///
/// Creates a new instance of this property metadata. This method is used
/// when metadata needs to be cloned. After CreateInstance is called the
/// framework will call Merge to merge metadata into the new instance.
/// Deriving classes must override this and return a new instance of
/// themselves.
///
internal override PropertyMetadata CreateInstance() {
return new IndependentlyAnimatedPropertyMetadata(DefaultValue);
}
}
}
// 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
- ImageButton.cs
- Rect3DConverter.cs
- ImplicitInputBrush.cs
- MembershipPasswordException.cs
- EnumMemberAttribute.cs
- CreateParams.cs
- DataStreamFromComStream.cs
- AssertSection.cs
- QueryConverter.cs
- GridViewSortEventArgs.cs
- TimelineCollection.cs
- MobileResource.cs
- WorkflowServiceOperationListItem.cs
- DataGridViewComboBoxEditingControl.cs
- ReadOnlyHierarchicalDataSource.cs
- AutoResetEvent.cs
- DefaultMergeHelper.cs
- TraceSource.cs
- EntityTransaction.cs
- OdbcTransaction.cs
- ServiceHostingEnvironment.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ProtocolsConfigurationHandler.cs
- EmptyEnumerable.cs
- ContentAlignmentEditor.cs
- UInt16Storage.cs
- SspiSafeHandles.cs
- EditBehavior.cs
- MsmqIntegrationProcessProtocolHandler.cs
- HandoffBehavior.cs
- Transform3D.cs
- XamlSerializer.cs
- Enum.cs
- DiscreteKeyFrames.cs
- PropertyTabChangedEvent.cs
- HttpAsyncResult.cs
- Matrix.cs
- Rectangle.cs
- DbException.cs
- PersonalizationProvider.cs
- Block.cs
- TableStyle.cs
- OdbcError.cs
- ElementFactory.cs
- ZipIOExtraFieldElement.cs
- EntityDescriptor.cs
- SiteMapPath.cs
- XPathSelectionIterator.cs
- AccessibleObject.cs
- CompoundFileStorageReference.cs
- InputScopeConverter.cs
- DesignOnlyAttribute.cs
- ActivitySurrogateSelector.cs
- TextReader.cs
- Statements.cs
- XmlSchemas.cs
- AnnotationAdorner.cs
- EventLogPermissionHolder.cs
- ToolboxItemWrapper.cs
- XmlWrappingReader.cs
- InternalBufferOverflowException.cs
- CompilerParameters.cs
- RichTextBoxAutomationPeer.cs
- PieceNameHelper.cs
- ReferentialConstraintRoleElement.cs
- CodeIdentifier.cs
- XmlDataSourceNodeDescriptor.cs
- UnionExpr.cs
- CompatibleComparer.cs
- WinFormsComponentEditor.cs
- DisplayInformation.cs
- Iis7Helper.cs
- PeerNearMe.cs
- SynchronizationValidator.cs
- mediaeventargs.cs
- SchemaSetCompiler.cs
- XmlDocumentType.cs
- OpenTypeLayout.cs
- DataKeyCollection.cs
- InternalTypeHelper.cs
- BitmapImage.cs
- securestring.cs
- Visual3DCollection.cs
- DBCommandBuilder.cs
- MultilineStringConverter.cs
- AssemblyLoader.cs
- PrincipalPermission.cs
- UserControl.cs
- StreamingContext.cs
- XsltLibrary.cs
- NameObjectCollectionBase.cs
- Exception.cs
- SR.Designer.cs
- Imaging.cs
- GlyphsSerializer.cs
- TabRenderer.cs
- TypeUtil.cs
- SEHException.cs
- FrameworkRichTextComposition.cs
- XmlSchemaCollection.cs