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
- PropertyManager.cs
- PartialArray.cs
- QuarticEase.cs
- BitConverter.cs
- Parallel.cs
- OdbcCommandBuilder.cs
- MouseGesture.cs
- HtmlContainerControl.cs
- ButtonField.cs
- DescendentsWalkerBase.cs
- PrinterResolution.cs
- ItemAutomationPeer.cs
- NavigationProperty.cs
- AsyncOperationManager.cs
- SqlPersonalizationProvider.cs
- DBCommandBuilder.cs
- EnumBuilder.cs
- FieldToken.cs
- AtlasWeb.Designer.cs
- Parser.cs
- QueryStringConverter.cs
- DataBindingExpressionBuilder.cs
- Track.cs
- WorkflowRuntimeServicesBehavior.cs
- SecurityVersion.cs
- UIElementCollection.cs
- Padding.cs
- AsymmetricAlgorithm.cs
- BmpBitmapEncoder.cs
- BamlRecords.cs
- HttpFileCollection.cs
- RequestDescription.cs
- ProfileParameter.cs
- EnumBuilder.cs
- SqlAliasesReferenced.cs
- WorkBatch.cs
- DoubleCollectionConverter.cs
- ComboBox.cs
- X509WindowsSecurityToken.cs
- BodyGlyph.cs
- PieceNameHelper.cs
- HtmlMeta.cs
- NativeMethods.cs
- CompilerCollection.cs
- X509RawDataKeyIdentifierClause.cs
- AsyncSerializedWorker.cs
- LinqDataSourceHelper.cs
- ConfigurationSectionGroupCollection.cs
- GorillaCodec.cs
- SharedUtils.cs
- HtmlInputPassword.cs
- KeyPullup.cs
- HuffCodec.cs
- DataServiceProcessingPipelineEventArgs.cs
- WebBrowserNavigatingEventHandler.cs
- WindowsListBox.cs
- RectValueSerializer.cs
- DataGridViewCellEventArgs.cs
- PartialTrustHelpers.cs
- FixedElement.cs
- LogicalExpr.cs
- DataGridItemCollection.cs
- CngKey.cs
- XmlIgnoreAttribute.cs
- Header.cs
- IIS7WorkerRequest.cs
- CreateUserWizardStep.cs
- EncoderParameters.cs
- ScalarOps.cs
- TextTreeTextBlock.cs
- ViewStateModeByIdAttribute.cs
- StorageComplexTypeMapping.cs
- PointConverter.cs
- EntityDataSourceDataSelection.cs
- XXXOnTypeBuilderInstantiation.cs
- TextTreeTextNode.cs
- RequestCachePolicyConverter.cs
- PersonalizationDictionary.cs
- WinInet.cs
- NavigationCommands.cs
- DesignerHierarchicalDataSourceView.cs
- SmiEventSink.cs
- WindowsTab.cs
- DocumentPageViewAutomationPeer.cs
- CodeMemberMethod.cs
- Accessors.cs
- CreateUserWizardStep.cs
- FamilyCollection.cs
- RequestBringIntoViewEventArgs.cs
- JavascriptCallbackBehaviorAttribute.cs
- CodeParameterDeclarationExpression.cs
- Module.cs
- ExpressionConverter.cs
- DocumentGrid.cs
- InternalPermissions.cs
- RelationshipEndCollection.cs
- StoreContentChangedEventArgs.cs
- TaskHelper.cs
- BamlLocalizableResource.cs
- XmlSchemaImport.cs