Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- BuildResultCache.cs
- LinkConverter.cs
- LZCodec.cs
- SafeFileMappingHandle.cs
- SystemInfo.cs
- IssuanceLicense.cs
- EntityContainerRelationshipSet.cs
- PackageRelationshipSelector.cs
- DBBindings.cs
- HostSecurityManager.cs
- FileDetails.cs
- NameScope.cs
- ActiveDocumentEvent.cs
- latinshape.cs
- NonPrimarySelectionGlyph.cs
- MarkedHighlightComponent.cs
- ExtensionFile.cs
- MSHTMLHost.cs
- XmlSchemaGroupRef.cs
- InvalidPropValue.cs
- ParameterCollection.cs
- PerfService.cs
- FieldAccessException.cs
- SHA256Managed.cs
- IItemContainerGenerator.cs
- ComplexTypeEmitter.cs
- ColumnReorderedEventArgs.cs
- TableItemPattern.cs
- WpfXamlType.cs
- DateTimeFormatInfo.cs
- NamedPipeTransportManager.cs
- SetterBaseCollection.cs
- ServicesSection.cs
- AliasGenerator.cs
- GridViewCommandEventArgs.cs
- MonthCalendar.cs
- StringAttributeCollection.cs
- HandlerBase.cs
- recordstatescratchpad.cs
- WhereQueryOperator.cs
- StateDesignerConnector.cs
- NativeMethods.cs
- ApplicationActivator.cs
- EpmTargetTree.cs
- PointValueSerializer.cs
- DesignSurface.cs
- StringValidatorAttribute.cs
- ObjectDataSourceView.cs
- SQLDateTimeStorage.cs
- MenuItem.cs
- ScriptResourceMapping.cs
- IEnumerable.cs
- DataErrorValidationRule.cs
- SecurityUniqueId.cs
- XmlChoiceIdentifierAttribute.cs
- RegionInfo.cs
- WorkflowApplicationIdleEventArgs.cs
- SingleAnimation.cs
- CommandManager.cs
- HandledEventArgs.cs
- _NegoState.cs
- AppLevelCompilationSectionCache.cs
- HttpClientCertificate.cs
- LocationSectionRecord.cs
- CompensateDesigner.cs
- FormClosingEvent.cs
- PathFigureCollectionConverter.cs
- XsltSettings.cs
- ImageIndexConverter.cs
- TypeUtil.cs
- PolyLineSegment.cs
- TableDesigner.cs
- NamespaceEmitter.cs
- Matrix.cs
- TouchesOverProperty.cs
- ObjectQuery_EntitySqlExtensions.cs
- RepeaterItemEventArgs.cs
- CompatibleIComparer.cs
- WorkflowValidationFailedException.cs
- IgnoreFlushAndCloseStream.cs
- ElementHost.cs
- CompositeFontInfo.cs
- Base64Decoder.cs
- ContentPropertyAttribute.cs
- ProgressBarAutomationPeer.cs
- XmlDataDocument.cs
- ScalarOps.cs
- ServiceInfo.cs
- Line.cs
- RuleInfoComparer.cs
- RijndaelManaged.cs
- TrackingWorkflowEventArgs.cs
- IpcChannelHelper.cs
- PolicyException.cs
- SerializerProvider.cs
- PasswordRecovery.cs
- DataTableExtensions.cs
- Int16AnimationBase.cs
- AggregateException.cs
- SqlDataSource.cs