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
- WebBrowserHelper.cs
- CatalogPartCollection.cs
- TreeSet.cs
- WizardSideBarListControlItem.cs
- BitmapEffectState.cs
- TextDecoration.cs
- ResXBuildProvider.cs
- LayoutUtils.cs
- TokenBasedSetEnumerator.cs
- RMEnrollmentPage1.cs
- BaseAutoFormat.cs
- CharStorage.cs
- FlowDocumentPageViewerAutomationPeer.cs
- NavigationProperty.cs
- StreamingContext.cs
- RelationshipDetailsRow.cs
- ChangePasswordDesigner.cs
- DescriptionAttribute.cs
- ToolStripPanel.cs
- _NestedSingleAsyncResult.cs
- CoreSwitches.cs
- FixedDocument.cs
- BitmapFrameEncode.cs
- CancellationState.cs
- ImageListUtils.cs
- OrderByBuilder.cs
- MarkedHighlightComponent.cs
- HitTestWithPointDrawingContextWalker.cs
- BuildResultCache.cs
- SmtpCommands.cs
- GroupBox.cs
- DesignerSerializerAttribute.cs
- SystemUdpStatistics.cs
- DataGridViewRow.cs
- DbDataReader.cs
- ListCollectionView.cs
- ExtensionWindowResizeGrip.cs
- WhitespaceSignificantCollectionAttribute.cs
- ScrollViewer.cs
- HttpRequest.cs
- WorkflowEventArgs.cs
- CommonRemoteMemoryBlock.cs
- QueryPageSettingsEventArgs.cs
- Pair.cs
- SecureUICommand.cs
- DuplicateDetector.cs
- XmlSchemaSimpleContent.cs
- Int32.cs
- XmlReader.cs
- NavigationProperty.cs
- VirtualizedItemPattern.cs
- FunctionImportElement.cs
- MethodToken.cs
- TcpProcessProtocolHandler.cs
- EncryptedKey.cs
- CombinedGeometry.cs
- XpsManager.cs
- TextEvent.cs
- DefaultWorkflowTransactionService.cs
- CodeMemberMethod.cs
- ObjectSet.cs
- COM2PictureConverter.cs
- RolePrincipal.cs
- ClrProviderManifest.cs
- DesignerVerbCollection.cs
- RegisteredExpandoAttribute.cs
- DocumentPageTextView.cs
- ListViewCancelEventArgs.cs
- ManipulationInertiaStartingEventArgs.cs
- SHA384.cs
- DateTimeConstantAttribute.cs
- Processor.cs
- ActivatedMessageQueue.cs
- CustomErrorsSection.cs
- SpecularMaterial.cs
- __Filters.cs
- COM2IProvidePropertyBuilderHandler.cs
- path.cs
- Compiler.cs
- AddInServer.cs
- FeatureSupport.cs
- RegisteredArrayDeclaration.cs
- ArgumentsParser.cs
- XmlDataLoader.cs
- TypeElement.cs
- ExpressionNode.cs
- TemplateControl.cs
- DetailsViewModeEventArgs.cs
- HwndStylusInputProvider.cs
- BooleanAnimationBase.cs
- PersistenceException.cs
- StrokeNodeOperations2.cs
- HostDesigntimeLicenseContext.cs
- SettingsAttributes.cs
- PerfCounters.cs
- SQLDoubleStorage.cs
- ParseElementCollection.cs
- _AutoWebProxyScriptWrapper.cs
- HttpWrapper.cs
- XmlDictionary.cs