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
- HotSpotCollectionEditor.cs
- PenThreadWorker.cs
- ResourceContainer.cs
- XmlRootAttribute.cs
- Region.cs
- WindowsMenu.cs
- DataGridViewToolTip.cs
- WebPartTransformerCollection.cs
- Subtract.cs
- TextAutomationPeer.cs
- StrongTypingException.cs
- ExceptionUtil.cs
- HttpAsyncResult.cs
- CodeTypeDeclarationCollection.cs
- InvalidDataException.cs
- COM2FontConverter.cs
- BigInt.cs
- ConfigurationUtility.cs
- TypefaceMap.cs
- DecimalStorage.cs
- XPathException.cs
- GlyphsSerializer.cs
- MetadataItem.cs
- ValidationErrorCollection.cs
- SizeAnimationClockResource.cs
- ControllableStoryboardAction.cs
- SafeNativeMethodsCLR.cs
- DragSelectionMessageFilter.cs
- SafeMemoryMappedFileHandle.cs
- CornerRadiusConverter.cs
- CompilationLock.cs
- OrCondition.cs
- AuthenticatingEventArgs.cs
- PersonalizableAttribute.cs
- ExceptQueryOperator.cs
- SchemaEntity.cs
- HtmlUtf8RawTextWriter.cs
- _Events.cs
- TargetControlTypeAttribute.cs
- ListViewItem.cs
- WebExceptionStatus.cs
- ValidatedControlConverter.cs
- SerializationException.cs
- SecurityContext.cs
- ControlOperationBehavior.cs
- ToolStripDropDown.cs
- ColorInterpolationModeValidation.cs
- WindowVisualStateTracker.cs
- DataIdProcessor.cs
- DefaultPropertiesToSend.cs
- HttpDebugHandler.cs
- sqlinternaltransaction.cs
- HtmlGenericControl.cs
- SessionEndingCancelEventArgs.cs
- BitmapEffectGroup.cs
- PropertyDescriptorGridEntry.cs
- connectionpool.cs
- ExecutionEngineException.cs
- MediaPlayer.cs
- ServiceOperationListItemList.cs
- FrameworkObject.cs
- Slider.cs
- DocumentsTrace.cs
- AccessDataSourceView.cs
- CodeDOMProvider.cs
- LinearGradientBrush.cs
- DataGridAddNewRow.cs
- Missing.cs
- XmlSchemaAnyAttribute.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- Reference.cs
- CustomError.cs
- WCFBuildProvider.cs
- ArraySubsetEnumerator.cs
- HtmlTableCellCollection.cs
- RowsCopiedEventArgs.cs
- RenderData.cs
- ping.cs
- HttpResponseHeader.cs
- RelationshipNavigation.cs
- RegexReplacement.cs
- XPathBinder.cs
- DetailsViewRow.cs
- _TransmitFileOverlappedAsyncResult.cs
- GridPattern.cs
- TableLayout.cs
- SQLGuid.cs
- CryptoStream.cs
- RegexCompiler.cs
- SectionRecord.cs
- TouchesCapturedWithinProperty.cs
- HttpWebResponse.cs
- XmlHierarchicalEnumerable.cs
- UrlEncodedParameterWriter.cs
- TimeSpanStorage.cs
- ITextView.cs
- TextBox.cs
- SoapIncludeAttribute.cs
- GridViewCommandEventArgs.cs
- ElementAction.cs