Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / SlipBehavior.cs / 1305600 / 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
- SerializationHelper.cs
- SharedPerformanceCounter.cs
- BufferModeSettings.cs
- TypeLibConverter.cs
- GatewayIPAddressInformationCollection.cs
- GridViewColumnCollection.cs
- LongPath.cs
- ClockGroup.cs
- BigIntegerStorage.cs
- versioninfo.cs
- FixedDocument.cs
- DBSqlParserTable.cs
- SqlParameterizer.cs
- Stream.cs
- XmlSchemaAnnotated.cs
- TimelineGroup.cs
- FlowLayoutSettings.cs
- EmbeddedMailObjectsCollection.cs
- SafeRegistryHandle.cs
- FocusWithinProperty.cs
- Light.cs
- Context.cs
- TableTextElementCollectionInternal.cs
- SecurityTokenException.cs
- RemotingSurrogateSelector.cs
- NamedPipeHostedTransportConfiguration.cs
- SoapSchemaMember.cs
- BuildProviderAppliesToAttribute.cs
- ItemMap.cs
- ErrorEventArgs.cs
- SurrogateSelector.cs
- RuntimeWrappedException.cs
- MaskInputRejectedEventArgs.cs
- DefaultTextStoreTextComposition.cs
- CommandField.cs
- ActivationArguments.cs
- BitmapData.cs
- ValidatedControlConverter.cs
- TypefaceMetricsCache.cs
- HtmlForm.cs
- NameSpaceEvent.cs
- FormatVersion.cs
- QilName.cs
- LambdaCompiler.Statements.cs
- XamlVector3DCollectionSerializer.cs
- SortedSet.cs
- ProxyGenerator.cs
- PenThreadWorker.cs
- XmlDataProvider.cs
- ImageSourceConverter.cs
- ClientTargetCollection.cs
- TableLayoutPanelResizeGlyph.cs
- HeaderUtility.cs
- XsltException.cs
- PriorityQueue.cs
- Int64Animation.cs
- WinCategoryAttribute.cs
- GenericWebPart.cs
- HtmlDocument.cs
- MediaElementAutomationPeer.cs
- ETagAttribute.cs
- CollectionsUtil.cs
- MimeBasePart.cs
- ExceptionValidationRule.cs
- Matrix.cs
- ZoomingMessageFilter.cs
- SmiSettersStream.cs
- GeneralTransform3DTo2D.cs
- control.ime.cs
- ResourceReferenceKeyNotFoundException.cs
- DataPagerFieldCommandEventArgs.cs
- MemberRestriction.cs
- CompiledELinqQueryState.cs
- XmlLanguage.cs
- ContractValidationHelper.cs
- PopOutPanel.cs
- CustomAssemblyResolver.cs
- SqlCaseSimplifier.cs
- PropertyMapper.cs
- XamlPoint3DCollectionSerializer.cs
- RedistVersionInfo.cs
- EntitySqlException.cs
- StreamResourceInfo.cs
- GridViewSortEventArgs.cs
- LogicalExpr.cs
- BitmapEffectGeneralTransform.cs
- DataGridState.cs
- DataBoundLiteralControl.cs
- DataGridClipboardHelper.cs
- NullExtension.cs
- PanelDesigner.cs
- VerificationException.cs
- FindRequestContext.cs
- AttributeQuery.cs
- ControlParameter.cs
- TcpChannelHelper.cs
- MembershipSection.cs
- UnmanagedMemoryStream.cs
- Control.cs
- ScriptingSectionGroup.cs