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
- EditingCommands.cs
- HTTPRemotingHandler.cs
- EllipticalNodeOperations.cs
- DiscoveryEndpointValidator.cs
- TextEffect.cs
- ChannelFactory.cs
- AttributeCollection.cs
- InteropAutomationProvider.cs
- FixedSOMPageElement.cs
- Qualifier.cs
- SpeechRecognizer.cs
- XmlSchemaFacet.cs
- ProfileService.cs
- WebDescriptionAttribute.cs
- DragSelectionMessageFilter.cs
- DataGridHeaderBorder.cs
- ListViewHitTestInfo.cs
- AutomationProperty.cs
- EntityDataSourceMemberPath.cs
- GridViewRowCollection.cs
- Bits.cs
- SessionParameter.cs
- LayoutDump.cs
- StringHandle.cs
- AccessDataSource.cs
- SerializationObjectManager.cs
- TextFormatterHost.cs
- Container.cs
- RadioButtonStandardAdapter.cs
- DesignTimeParseData.cs
- NavigationWindowAutomationPeer.cs
- ConnectionPoint.cs
- ButtonColumn.cs
- XmlDataSourceView.cs
- IconBitmapDecoder.cs
- Parser.cs
- Crypto.cs
- Utils.cs
- ResourceContainer.cs
- DesignerInterfaces.cs
- PngBitmapEncoder.cs
- DeflateStream.cs
- PropertyMapper.cs
- SByteConverter.cs
- HttpRequest.cs
- RewritingSimplifier.cs
- InkCanvasInnerCanvas.cs
- AsyncResult.cs
- PermissionListSet.cs
- XmlValidatingReaderImpl.cs
- PhoneCallDesigner.cs
- StrongNameUtility.cs
- BackgroundWorker.cs
- NativeMethods.cs
- Trustee.cs
- Psha1DerivedKeyGenerator.cs
- WindowsTokenRoleProvider.cs
- RijndaelManaged.cs
- NavigationProgressEventArgs.cs
- HttpPostedFileBase.cs
- FormatSettings.cs
- WindowsScrollBarBits.cs
- SecurityUtils.cs
- XD.cs
- ThreadStaticAttribute.cs
- DesignerLinkAdapter.cs
- EFTableProvider.cs
- EnumBuilder.cs
- UpdateTracker.cs
- CollectionConverter.cs
- Processor.cs
- StructuredType.cs
- PenContexts.cs
- BadImageFormatException.cs
- XmlSchemaComplexContentRestriction.cs
- MouseButton.cs
- OdbcFactory.cs
- SafeBitVector32.cs
- KeyValueSerializer.cs
- odbcmetadatafactory.cs
- EventWaitHandle.cs
- UpdateCompiler.cs
- FragmentNavigationEventArgs.cs
- RedistVersionInfo.cs
- JsonObjectDataContract.cs
- AuthorizationContext.cs
- GenericPrincipal.cs
- SettingsPropertyNotFoundException.cs
- EntityTypeBase.cs
- XPathQilFactory.cs
- XsdBuildProvider.cs
- TraceRecords.cs
- SelectedDatesCollection.cs
- InkPresenter.cs
- DateTimeValueSerializerContext.cs
- _SecureChannel.cs
- DataControlCommands.cs
- ExpressionConverter.cs
- XmlCharCheckingWriter.cs
- InfoCardCryptoHelper.cs