Code:
/ 4.0 / 4.0 / 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.
//------------------------------------------------------------------------------
// 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
- ObjectSet.cs
- CustomCredentialPolicy.cs
- RecognizerBase.cs
- streamingZipPartStream.cs
- HttpCapabilitiesEvaluator.cs
- SrgsElementFactoryCompiler.cs
- DatePickerAutomationPeer.cs
- ConnectionAcceptor.cs
- TextTreeTextElementNode.cs
- TreeViewBindingsEditor.cs
- StreamBodyWriter.cs
- GridSplitterAutomationPeer.cs
- PhysicalOps.cs
- PropertyIdentifier.cs
- WindowsStatic.cs
- StructuredTypeInfo.cs
- MetabaseServerConfig.cs
- LambdaCompiler.Address.cs
- HwndTarget.cs
- Documentation.cs
- SqlVersion.cs
- SerialStream.cs
- SkinBuilder.cs
- DesignerForm.cs
- StyleReferenceConverter.cs
- LinkClickEvent.cs
- StylusPointProperty.cs
- WinEventTracker.cs
- SqlServer2KCompatibilityAnnotation.cs
- ZoneMembershipCondition.cs
- ModelEditingScope.cs
- HScrollProperties.cs
- Command.cs
- ConnectionPointCookie.cs
- DebugTrace.cs
- DataKeyArray.cs
- ConnectivityStatus.cs
- WebPartDisplayMode.cs
- DataGridViewColumnHeaderCell.cs
- SafeCryptHandles.cs
- GenerateTemporaryAssemblyTask.cs
- DesignerOptionService.cs
- OrthographicCamera.cs
- BaseTemplateCodeDomTreeGenerator.cs
- PersonalizationStateQuery.cs
- NonParentingControl.cs
- CodeMethodInvokeExpression.cs
- GetParentChain.cs
- ValuePattern.cs
- DeferredReference.cs
- ContractSearchPattern.cs
- DrawingState.cs
- BindableAttribute.cs
- GraphicsContext.cs
- SqlReferenceCollection.cs
- OutputCacheProfileCollection.cs
- HtmlEmptyTagControlBuilder.cs
- OrderedDictionary.cs
- SingleAnimation.cs
- ColorInterpolationModeValidation.cs
- RelationshipEntry.cs
- DesignerTransaction.cs
- TableLayoutRowStyleCollection.cs
- GenericUI.cs
- WebPartConnectionsCancelEventArgs.cs
- AttributeCollection.cs
- ExtenderProvidedPropertyAttribute.cs
- FormsIdentity.cs
- SyndicationLink.cs
- EdmPropertyAttribute.cs
- DataControlImageButton.cs
- ApplicationManager.cs
- ObjectStorage.cs
- DynamicDocumentPaginator.cs
- CfgParser.cs
- GregorianCalendarHelper.cs
- HttpProcessUtility.cs
- ToolStripItem.cs
- Script.cs
- ReadOnlyCollectionBase.cs
- StoreContentChangedEventArgs.cs
- WithParamAction.cs
- FixedTextView.cs
- x509utils.cs
- CheckBox.cs
- ProxyHwnd.cs
- xmlformatgeneratorstatics.cs
- AnimatedTypeHelpers.cs
- TypeConverter.cs
- NamedObjectList.cs
- QueueProcessor.cs
- DataGridCell.cs
- AnimationException.cs
- HtmlInputControl.cs
- BitmapEffectDrawingContextState.cs
- AccessDataSourceDesigner.cs
- PolicyChain.cs
- RelatedImageListAttribute.cs
- SerializationEventsCache.cs
- OrderablePartitioner.cs