Code:
/ 4.0 / 4.0 / 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. // 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
- LocatorManager.cs
- SafeProcessHandle.cs
- LockedBorderGlyph.cs
- CopyAttributesAction.cs
- AuthenticationModulesSection.cs
- _SslState.cs
- XmlDataSourceView.cs
- RadioButtonBaseAdapter.cs
- QueryOutputWriter.cs
- SwitchElementsCollection.cs
- QueryOptionExpression.cs
- TextBoxLine.cs
- ManifestResourceInfo.cs
- StreamAsIStream.cs
- FormViewDeleteEventArgs.cs
- CharacterString.cs
- QueryableDataSourceEditData.cs
- SimpleBitVector32.cs
- BindingListCollectionView.cs
- FixedSOMSemanticBox.cs
- MruCache.cs
- ParentUndoUnit.cs
- FileInfo.cs
- TextFormattingConverter.cs
- Int16Animation.cs
- SqlFactory.cs
- GetWinFXPath.cs
- ListViewDataItem.cs
- SectionInput.cs
- WebColorConverter.cs
- DbProviderFactory.cs
- ProjectionCamera.cs
- ComponentSerializationService.cs
- WindowsStartMenu.cs
- CrossSiteScriptingValidation.cs
- Polygon.cs
- DoubleLink.cs
- GenericWebPart.cs
- HttpHostedTransportConfiguration.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ListenDesigner.cs
- UnknownWrapper.cs
- RubberbandSelector.cs
- CompilerLocalReference.cs
- ClusterRegistryConfigurationProvider.cs
- SyndicationItem.cs
- SymLanguageVendor.cs
- X509Certificate2.cs
- NodeFunctions.cs
- OdbcReferenceCollection.cs
- BrowserCapabilitiesCompiler.cs
- GridViewSortEventArgs.cs
- URLEditor.cs
- DbFunctionCommandTree.cs
- OpacityConverter.cs
- PolyLineSegment.cs
- BooleanFunctions.cs
- StringExpressionSet.cs
- DataTableExtensions.cs
- WebPartConnectionsCancelEventArgs.cs
- EntryIndex.cs
- AnimationClockResource.cs
- CommandManager.cs
- ListViewItemSelectionChangedEvent.cs
- ScrollViewerAutomationPeer.cs
- BStrWrapper.cs
- SQLBytes.cs
- UIHelper.cs
- XmlDocument.cs
- InkSerializer.cs
- GeometryConverter.cs
- FontUnit.cs
- IdleTimeoutMonitor.cs
- ActiveXSite.cs
- IndexedSelectQueryOperator.cs
- CompositeCollection.cs
- SiteMapNodeCollection.cs
- InheritanceService.cs
- AnnotationAuthorChangedEventArgs.cs
- PenThreadPool.cs
- RawKeyboardInputReport.cs
- ApplicationCommands.cs
- DefaultExpression.cs
- LineGeometry.cs
- _ConnectStream.cs
- Pens.cs
- ColorConverter.cs
- LinqDataSourceContextEventArgs.cs
- Crc32Helper.cs
- ApplicationServicesHostFactory.cs
- SystemTcpConnection.cs
- SwitchLevelAttribute.cs
- TypedReference.cs
- ContextMenuAutomationPeer.cs
- SafeMILHandle.cs
- compensatingcollection.cs
- XpsLiterals.cs
- MimeTypeAttribute.cs
- XmlSchemaSimpleTypeRestriction.cs
- DtrList.cs