Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / System / Windows / Media / Animation / FillBehavior.cs / 1 / 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.
//------------------------------------------------------------------------------
// 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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlAttributes.cs
- ObjectResult.cs
- DesignConnection.cs
- CryptoApi.cs
- EnvironmentPermission.cs
- MergeFilterQuery.cs
- SiblingIterators.cs
- WaitingCursor.cs
- ListenerHandler.cs
- ErrorsHelper.cs
- RsaSecurityTokenAuthenticator.cs
- NamedPipeDuplicateContext.cs
- BinaryFormatter.cs
- SHA384Managed.cs
- X509SecurityTokenProvider.cs
- PolyLineSegment.cs
- SystemGatewayIPAddressInformation.cs
- ReservationCollection.cs
- WrappedIUnknown.cs
- ProviderIncompatibleException.cs
- DoubleAnimationUsingPath.cs
- WebBrowserNavigatedEventHandler.cs
- WorkflowServiceHost.cs
- NumberEdit.cs
- PrivilegedConfigurationManager.cs
- SqlErrorCollection.cs
- CompareInfo.cs
- DataRowView.cs
- Button.cs
- HostAdapter.cs
- TableLayoutCellPaintEventArgs.cs
- XmlAtomicValue.cs
- StrongName.cs
- MatrixTransform.cs
- HitTestWithGeometryDrawingContextWalker.cs
- DataContractAttribute.cs
- DataGrid.cs
- Int64.cs
- EventlogProvider.cs
- XmlByteStreamReader.cs
- StrokeNodeData.cs
- EnumUnknown.cs
- BamlResourceContent.cs
- TableStyle.cs
- DrawListViewSubItemEventArgs.cs
- MultipleViewPattern.cs
- Formatter.cs
- AnnotationService.cs
- Signature.cs
- CompilationRelaxations.cs
- Message.cs
- UInt32Converter.cs
- InvokePatternIdentifiers.cs
- DataKeyCollection.cs
- UnsafeNativeMethods.cs
- ToolStripItemTextRenderEventArgs.cs
- TextParaClient.cs
- QueryCacheEntry.cs
- DSASignatureFormatter.cs
- DynamicControl.cs
- ExpandCollapsePattern.cs
- ContentValidator.cs
- CryptoConfig.cs
- ConstraintConverter.cs
- SecurityDocument.cs
- TabPage.cs
- XPathException.cs
- ColumnResizeAdorner.cs
- PageContentCollection.cs
- App.cs
- InternalDispatchObject.cs
- ObjectComplexPropertyMapping.cs
- ComNativeDescriptor.cs
- FillRuleValidation.cs
- CompositeActivityDesigner.cs
- RayHitTestParameters.cs
- ConnectionPointCookie.cs
- PublishLicense.cs
- PathSegment.cs
- SystemIPv4InterfaceProperties.cs
- MouseDevice.cs
- ReaderWriterLockSlim.cs
- DataBoundControl.cs
- SettingsContext.cs
- HtmlToClrEventProxy.cs
- Array.cs
- Rotation3DKeyFrameCollection.cs
- Filter.cs
- UserPreferenceChangingEventArgs.cs
- Lasso.cs
- GenericWebPart.cs
- DocumentGridPage.cs
- GridViewRowCollection.cs
- PrintControllerWithStatusDialog.cs
- BinaryVersion.cs
- ListCollectionView.cs
- MessageSmuggler.cs
- SqlTriggerAttribute.cs
- Int16AnimationBase.cs
- SubMenuStyle.cs