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 / SlipBehavior.cs / 1 / SlipBehavior.cs
//------------------------------------------------------------------------------
// Microsoft Windows Client Platform
// Copyright (c) Microsoft Corporation, 2005
//
// File: SlipBehavior.cs
//-----------------------------------------------------------------------------
using System.Windows.Media.Animation;
namespace System.Windows.Media.Animation
{
///
/// The SlipBehavior enumeration is used to indicate how a TimelineGroup will behave
/// when one of its children slips.
///
public enum SlipBehavior
{
///
/// Indicates that a TimelineGroup will not slip with the chidren, but will
/// expand to fit all slipping children.
/// NOTE: This is only effective when the TimelineGroup's duration is not explicitly
/// specified.
///
Grow,
///
/// Indicates that a TimelineGroup will slip along with its first child that
/// has CanSlip set to true.
///
Slip,
}
}
namespace MS.Internal
{
internal static partial class TimeEnumHelper
{
private const int c_maxSlipBehavior = (int)SlipBehavior.Slip;
static internal bool IsValidSlipBehavior(SlipBehavior value)
{
return (0 <= value && (int)value <= c_maxSlipBehavior);
}
}
}
// 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, 2005
//
// File: SlipBehavior.cs
//-----------------------------------------------------------------------------
using System.Windows.Media.Animation;
namespace System.Windows.Media.Animation
{
///
/// The SlipBehavior enumeration is used to indicate how a TimelineGroup will behave
/// when one of its children slips.
///
public enum SlipBehavior
{
///
/// Indicates that a TimelineGroup will not slip with the chidren, but will
/// expand to fit all slipping children.
/// NOTE: This is only effective when the TimelineGroup's duration is not explicitly
/// specified.
///
Grow,
///
/// Indicates that a TimelineGroup will slip along with its first child that
/// has CanSlip set to true.
///
Slip,
}
}
namespace MS.Internal
{
internal static partial class TimeEnumHelper
{
private const int c_maxSlipBehavior = (int)SlipBehavior.Slip;
static internal bool IsValidSlipBehavior(SlipBehavior value)
{
return (0 <= value && (int)value <= c_maxSlipBehavior);
}
}
}
// 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
- TableLayoutPanelCellPosition.cs
- TextViewDesigner.cs
- MimeTypeAttribute.cs
- DataSourceView.cs
- UnsafeNativeMethods.cs
- ProxyDataContractResolver.cs
- SynchronizationValidator.cs
- TemplateBaseAction.cs
- Empty.cs
- FixedPosition.cs
- ToolStripItemDataObject.cs
- SqlParameterizer.cs
- PropertyConverter.cs
- EventManager.cs
- DataSourceCacheDurationConverter.cs
- Executor.cs
- PrintSchema.cs
- Ref.cs
- StorageConditionPropertyMapping.cs
- DynamicRenderer.cs
- ListItemCollection.cs
- TextRangeAdaptor.cs
- ColorConverter.cs
- FixedStringLookup.cs
- ControllableStoryboardAction.cs
- XmlWriterTraceListener.cs
- GiveFeedbackEvent.cs
- IisTraceWebEventProvider.cs
- TraceUtility.cs
- BypassElementCollection.cs
- RuleSettingsCollection.cs
- HyperLink.cs
- ComponentTray.cs
- GrammarBuilderWildcard.cs
- TreeNodeConverter.cs
- ToolBarTray.cs
- RegistryExceptionHelper.cs
- Cursor.cs
- OpenFileDialog.cs
- AllowedAudienceUriElement.cs
- StylusSystemGestureEventArgs.cs
- PreDigestedSignedInfo.cs
- BitmapEffectCollection.cs
- TextProviderWrapper.cs
- SimpleBitVector32.cs
- SqlRewriteScalarSubqueries.cs
- ClientSettingsProvider.cs
- ColumnCollection.cs
- XmlReflectionImporter.cs
- _CookieModule.cs
- OleCmdHelper.cs
- DataGridViewCellStateChangedEventArgs.cs
- OperatorExpressions.cs
- linebase.cs
- ArgumentValidation.cs
- RegexReplacement.cs
- WebHttpSecurityModeHelper.cs
- NetWebProxyFinder.cs
- CancellationTokenSource.cs
- AssociationTypeEmitter.cs
- WebRequestModuleElement.cs
- LifetimeServices.cs
- BaseAsyncResult.cs
- InvalidEnumArgumentException.cs
- ScalarType.cs
- ReferentialConstraint.cs
- ObjectStateEntryDbDataRecord.cs
- ButtonAutomationPeer.cs
- DtrList.cs
- TableLayoutSettings.cs
- UriTemplateQueryValue.cs
- RtfFormatStack.cs
- DisplayClaim.cs
- FixedSOMElement.cs
- Soap11ServerProtocol.cs
- StatusBar.cs
- ReliableSessionBindingElementImporter.cs
- SchemaImporterExtensionElementCollection.cs
- OdbcRowUpdatingEvent.cs
- SQLUtility.cs
- DataColumnMappingCollection.cs
- ToolbarAUtomationPeer.cs
- SpecialTypeDataContract.cs
- ExternalCalls.cs
- URLString.cs
- ScriptResourceAttribute.cs
- LineServicesCallbacks.cs
- XmlHierarchicalDataSourceView.cs
- RuleAction.cs
- CompositionAdorner.cs
- IProvider.cs
- BigInt.cs
- XXXOnTypeBuilderInstantiation.cs
- SecurityProtocolCorrelationState.cs
- MetabaseSettings.cs
- ModuleElement.cs
- FixedPage.cs
- DataExpression.cs
- HttpWebRequestElement.cs
- HtmlInputCheckBox.cs