Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / VisualTransition.cs / 1305600 / VisualTransition.cs
// -------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All Rights Reserved. // ------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Windows; using System.Windows.Markup; using System.Windows.Media.Animation; namespace System.Windows { ////// Defines a transition between VisualStates. /// [ContentProperty("Storyboard")] public class VisualTransition : DependencyObject { public VisualTransition() { DynamicStoryboardCompleted = true; ExplicitStoryboardCompleted = true; } ////// Name of the state to transition from. /// public string From { get; set; } ////// Name of the state to transition to. /// public string To { get; set; } ////// Storyboard providing fine grained control of the transition. /// public Storyboard Storyboard { get; set; } ////// Duration of the transition. /// [TypeConverter(typeof(System.Windows.DurationConverter))] public Duration GeneratedDuration { get { return _generatedDuration; } set { _generatedDuration = value; } } ////// Easing Function for the transition /// public IEasingFunction GeneratedEasingFunction { get; set; } internal bool IsDefault { get { return From == null && To == null; } } internal bool DynamicStoryboardCompleted { get; set; } internal bool ExplicitStoryboardCompleted { get; set; } private Duration _generatedDuration = new Duration(new TimeSpan()); } } // 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
- DeviceFilterDictionary.cs
- SourceElementsCollection.cs
- IPAddressCollection.cs
- WebMessageFormatHelper.cs
- SystemIPGlobalStatistics.cs
- DiagnosticTrace.cs
- ExceptionHelpers.cs
- InputLanguage.cs
- StyleSheetComponentEditor.cs
- SpellerError.cs
- AppliedDeviceFiltersEditor.cs
- Panel.cs
- URI.cs
- FontDriver.cs
- DefaultObjectSerializer.cs
- Padding.cs
- MediaScriptCommandRoutedEventArgs.cs
- ConfigsHelper.cs
- HostedTransportConfigurationBase.cs
- ArrayWithOffset.cs
- BitSet.cs
- SecurityUniqueId.cs
- CodeTypeDelegate.cs
- Int32KeyFrameCollection.cs
- OutputCacheProfileCollection.cs
- OleAutBinder.cs
- RuntimeIdentifierPropertyAttribute.cs
- XmlSchemaExporter.cs
- GroupBox.cs
- List.cs
- SqlRowUpdatedEvent.cs
- HtmlInputPassword.cs
- ToolboxComponentsCreatedEventArgs.cs
- FlowSwitchDesigner.xaml.cs
- RegularExpressionValidator.cs
- HitTestFilterBehavior.cs
- ServiceNameCollection.cs
- SqlMethodTransformer.cs
- BitmapImage.cs
- IgnorePropertiesAttribute.cs
- BindableAttribute.cs
- DiscoveryDocumentSearchPattern.cs
- Renderer.cs
- MemberHolder.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- UIElementParagraph.cs
- DefaultTextStore.cs
- Filter.cs
- TextParaClient.cs
- XmlSchemaSimpleTypeList.cs
- ControlCollection.cs
- BypassElementCollection.cs
- QilPatternFactory.cs
- WinCategoryAttribute.cs
- ConnectionAcceptor.cs
- Serializer.cs
- HtmlTableRow.cs
- MemoryMappedFile.cs
- AssemblyBuilderData.cs
- MouseGesture.cs
- AsymmetricSignatureDeformatter.cs
- DescendentsWalkerBase.cs
- WorkflowMarkupSerializer.cs
- DoubleCollection.cs
- UriParserTemplates.cs
- CharacterMetrics.cs
- ExtensibleClassFactory.cs
- FullTextBreakpoint.cs
- HostingPreferredMapPath.cs
- QilTernary.cs
- RoamingStoreFileUtility.cs
- SafeWaitHandle.cs
- ControlBuilderAttribute.cs
- DBAsyncResult.cs
- SectionUpdates.cs
- BamlRecordHelper.cs
- GridViewCancelEditEventArgs.cs
- EntityContainer.cs
- SoapSchemaExporter.cs
- HttpCacheVaryByContentEncodings.cs
- OdbcCommandBuilder.cs
- BmpBitmapEncoder.cs
- ExpandableObjectConverter.cs
- DesignerAdapterUtil.cs
- ProcessModuleCollection.cs
- CanExecuteRoutedEventArgs.cs
- versioninfo.cs
- PropertyChange.cs
- WebFaultClientMessageInspector.cs
- Storyboard.cs
- LinqDataSourceDeleteEventArgs.cs
- counter.cs
- XmlWrappingReader.cs
- SafeNativeHandle.cs
- VBCodeProvider.cs
- ConfigurationElementProperty.cs
- TcpChannelHelper.cs
- precedingquery.cs
- ToolStripDropDownItem.cs
- WebServiceParameterData.cs