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
- PersonalizableAttribute.cs
- HttpRuntime.cs
- AgileSafeNativeMemoryHandle.cs
- WebPartDisplayModeEventArgs.cs
- FormViewModeEventArgs.cs
- OleAutBinder.cs
- _Semaphore.cs
- OptimizedTemplateContent.cs
- TextDecorationUnitValidation.cs
- PasswordRecovery.cs
- SecureStringHasher.cs
- XmlSchemaAll.cs
- X509ChainElement.cs
- ServicePoint.cs
- TracePayload.cs
- AsyncPostBackTrigger.cs
- HtmlInputText.cs
- Rijndael.cs
- WebException.cs
- FormsAuthenticationCredentials.cs
- ComboBoxDesigner.cs
- CuspData.cs
- QueryInterceptorAttribute.cs
- Ray3DHitTestResult.cs
- BinHexEncoding.cs
- DrawingBrush.cs
- XmlSchemaSimpleTypeUnion.cs
- RoleGroup.cs
- FileLoadException.cs
- WebBrowserContainer.cs
- ListDesigner.cs
- SectionVisual.cs
- oledbmetadatacollectionnames.cs
- VariableAction.cs
- KerberosSecurityTokenProvider.cs
- SecurityKeyEntropyMode.cs
- SerializationInfoEnumerator.cs
- BufferedGraphics.cs
- Rotation3DAnimation.cs
- HttpPostedFile.cs
- OdbcEnvironmentHandle.cs
- Positioning.cs
- CacheChildrenQuery.cs
- HandlerFactoryWrapper.cs
- XpsPackagingPolicy.cs
- BuildManager.cs
- ModulesEntry.cs
- Utils.cs
- FixedSOMLineCollection.cs
- Size3D.cs
- ToolStripStatusLabel.cs
- BulletedListEventArgs.cs
- MetadataItem_Static.cs
- MessageBox.cs
- FederatedMessageSecurityOverHttp.cs
- ColorConvertedBitmap.cs
- EpmTargetPathSegment.cs
- TemplatedAdorner.cs
- FileSystemWatcher.cs
- ChannelCacheSettings.cs
- ColorTranslator.cs
- OpacityConverter.cs
- LineGeometry.cs
- DataGridViewColumn.cs
- TagNameToTypeMapper.cs
- OracleCommandSet.cs
- IItemProperties.cs
- WmlMobileTextWriter.cs
- _Rfc2616CacheValidators.cs
- LineBreak.cs
- FileDataSourceCache.cs
- BufferedWebEventProvider.cs
- CodeNamespaceCollection.cs
- TrackBarRenderer.cs
- ServiceHostingEnvironment.cs
- CompoundFileDeflateTransform.cs
- StringConcat.cs
- DeferredBinaryDeserializerExtension.cs
- NativeMethods.cs
- TreeNodeMouseHoverEvent.cs
- MachineKeyValidationConverter.cs
- DataBoundControlAdapter.cs
- UserInitiatedNavigationPermission.cs
- InputLanguage.cs
- InlineCollection.cs
- RepeaterItemEventArgs.cs
- EditingScope.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- _SslSessionsCache.cs
- LinqDataSourceHelper.cs
- TemplateApplicationHelper.cs
- LoadRetryConstantStrategy.cs
- Group.cs
- SocketElement.cs
- ProfilePropertySettingsCollection.cs
- ErrorFormatter.cs
- SiteMap.cs
- QilFactory.cs
- MaskedTextProvider.cs
- Model3DGroup.cs