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
- SingleKeyFrameCollection.cs
- WebBrowser.cs
- SessionEndingCancelEventArgs.cs
- WebPermission.cs
- ISFTagAndGuidCache.cs
- MediaPlayerState.cs
- UnicastIPAddressInformationCollection.cs
- InvokeMethodActivity.cs
- GroupStyle.cs
- Visual3DCollection.cs
- EntityModelBuildProvider.cs
- FlowDocument.cs
- PageParser.cs
- ObjectStorage.cs
- HGlobalSafeHandle.cs
- BrowserCapabilitiesFactory35.cs
- MultiSelector.cs
- Compiler.cs
- StringCollection.cs
- RegionData.cs
- TypeEnumerableViewSchema.cs
- SqlUtils.cs
- MetadataItem_Static.cs
- ItemCollectionEditor.cs
- DragEventArgs.cs
- SqlProvider.cs
- StandardCommandToolStripMenuItem.cs
- PersonalizablePropertyEntry.cs
- FontFamilyIdentifier.cs
- HelpProvider.cs
- HttpChannelHelper.cs
- ToolStripPanelRenderEventArgs.cs
- EventRecordWrittenEventArgs.cs
- PerformanceCounterPermissionEntry.cs
- xdrvalidator.cs
- DataServiceConfiguration.cs
- RemotingSurrogateSelector.cs
- DebugView.cs
- DmlSqlGenerator.cs
- MonitoringDescriptionAttribute.cs
- WebPartsPersonalization.cs
- MultiAsyncResult.cs
- ClonableStack.cs
- TextUtf8RawTextWriter.cs
- ServiceChannelProxy.cs
- WindowsFormsLinkLabel.cs
- _NativeSSPI.cs
- Scene3D.cs
- SystemIcmpV4Statistics.cs
- Span.cs
- ChineseLunisolarCalendar.cs
- WsatServiceAddress.cs
- DrawTreeNodeEventArgs.cs
- UnsafeNativeMethods.cs
- XmlSchemaInclude.cs
- PropertyPathWorker.cs
- WebCategoryAttribute.cs
- BitmapSizeOptions.cs
- GatewayDefinition.cs
- CookieHandler.cs
- RegistrationServices.cs
- QueryOutputWriter.cs
- ProfileInfo.cs
- TreeViewDesigner.cs
- HttpListenerResponse.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- Queue.cs
- DataGridItemAutomationPeer.cs
- Expander.cs
- ProtocolsConfigurationEntry.cs
- PrePrepareMethodAttribute.cs
- SymbolType.cs
- messageonlyhwndwrapper.cs
- SetIterators.cs
- DataControlPagerLinkButton.cs
- DetailsViewCommandEventArgs.cs
- TextDecorationUnitValidation.cs
- Subtree.cs
- CqlGenerator.cs
- ClientSettingsProvider.cs
- AccessKeyManager.cs
- Assert.cs
- CommandValueSerializer.cs
- Int16Storage.cs
- PeerApplication.cs
- X509CertificateTrustedIssuerElementCollection.cs
- DrawingBrush.cs
- ThreadPool.cs
- ICollection.cs
- CustomDictionarySources.cs
- EventLogPermissionAttribute.cs
- SlipBehavior.cs
- XmlSchemaExporter.cs
- SystemIPv6InterfaceProperties.cs
- DataSourceXmlSubItemAttribute.cs
- EndpointIdentity.cs
- OutputCacheProfileCollection.cs
- PageBreakRecord.cs
- TemplateControlCodeDomTreeGenerator.cs
- OLEDB_Util.cs