FillBehavior.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / FillBehavior.cs / 1305600 / FillBehavior.cs

                            //------------------------------------------------------------------------------ 
//  Microsoft Windows Client Platform
//  Copyright (c) Microsoft Corporation, 2004
//
//  File: FillBehavior.cs 
//-----------------------------------------------------------------------------
 
using System.Windows.Media.Animation; 

namespace System.Windows.Media.Animation 
{
    /// 
    /// The FillBehavior enumeration is used to indicate how a Timeline will behave
    /// when it is outside of its active period but its parent is inside its 
    /// active period.
    ///  
    public enum FillBehavior 
    {
        ///  
        /// Indicates that a Timeline will hold its progress between the period of
        /// time between the end of its active period and the end of its parents active and
        /// hold periods.
        ///  
        HoldEnd,
 
#if IMPLEMENTED // Uncomment when implemented 

        ///  
        /// Indicates that a Timeline will hold its initial active progress during the
        /// period of time between when its parent has become active and it
        /// becomes active. The Timeline will stop after the completion of
        /// its own active period. 
        /// 
        HoldBegin, 
 
        /// 
        /// Indicates that a Timeline will hold its progress both before and after 
        /// its active period as long as its parent is in its active or hold periods.
        /// 
        HoldBeginAndEnd
 
#endif
 
        ///  
        /// Indicates that a Timeline will stop if it's outside its active
        /// period while its parent is inside its active period. 
        /// 
        Stop,
    }
} 

namespace MS.Internal 
{ 
    internal static partial class TimeEnumHelper
    { 
        private const int c_maxFillBehavior = (int)FillBehavior.Stop;

        static internal bool IsValidFillBehavior(FillBehavior value)
        { 
            return (0 <= value && (int)value <= c_maxFillBehavior);
        } 
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.


                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK