Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- TreeChangeInfo.cs
- StrokeCollection.cs
- ScrollProviderWrapper.cs
- PropertyTabChangedEvent.cs
- StorageEndPropertyMapping.cs
- AnimatedTypeHelpers.cs
- _TLSstream.cs
- ToolStripSystemRenderer.cs
- LayoutManager.cs
- TileBrush.cs
- CompilerTypeWithParams.cs
- TableSectionStyle.cs
- KeyProperty.cs
- BufferModeSettings.cs
- DataBindingCollection.cs
- EntityUtil.cs
- DbConnectionHelper.cs
- QilStrConcat.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ReferentialConstraint.cs
- ExtentCqlBlock.cs
- Stream.cs
- VersionValidator.cs
- SafeNativeMethodsCLR.cs
- ImageSource.cs
- FixedDocumentSequencePaginator.cs
- SyndicationSerializer.cs
- MissingMemberException.cs
- ModelPropertyDescriptor.cs
- DocumentOrderComparer.cs
- MetadataItemSerializer.cs
- TransformBlockRequest.cs
- HiddenFieldPageStatePersister.cs
- EntityDesignerUtils.cs
- TreeNodeConverter.cs
- PriorityBindingExpression.cs
- SqlUserDefinedAggregateAttribute.cs
- ContentType.cs
- RotateTransform3D.cs
- MetabaseServerConfig.cs
- ReflectPropertyDescriptor.cs
- TimeEnumHelper.cs
- RoutingService.cs
- InputGestureCollection.cs
- EventMetadata.cs
- ResourceDescriptionAttribute.cs
- MenuScrollingVisibilityConverter.cs
- Int16AnimationBase.cs
- PermissionSet.cs
- BinaryObjectWriter.cs
- CodeTypeMemberCollection.cs
- Tuple.cs
- WebPartChrome.cs
- ProfileServiceManager.cs
- ModifiableIteratorCollection.cs
- ApplicationServiceManager.cs
- RouteParametersHelper.cs
- SQLInt32Storage.cs
- StringCollection.cs
- SqlCommandSet.cs
- XmlEncodedRawTextWriter.cs
- BitmapEffectOutputConnector.cs
- MemberProjectionIndex.cs
- TypeUnloadedException.cs
- EntityProviderFactory.cs
- VerificationAttribute.cs
- CookieProtection.cs
- ParameterCollection.cs
- OwnerDrawPropertyBag.cs
- OperandQuery.cs
- Model3DGroup.cs
- Stack.cs
- CharAnimationUsingKeyFrames.cs
- X509Certificate2.cs
- DataContractSerializerMessageContractImporter.cs
- HtmlButton.cs
- MessageFilterTable.cs
- StyleBamlRecordReader.cs
- SerialErrors.cs
- TcpTransportSecurityElement.cs
- NamespaceInfo.cs
- KnownIds.cs
- ConfigsHelper.cs
- BoolExpressionVisitors.cs
- InputBinder.cs
- ResolveMatchesCD1.cs
- ContentOperations.cs
- PointAnimationUsingPath.cs
- SafeCryptoKeyHandle.cs
- WindowsListViewItemCheckBox.cs
- PointAnimation.cs
- xmlfixedPageInfo.cs
- RequestResponse.cs
- ReceiveMessageContent.cs
- PageRequestManager.cs
- KeyGestureValueSerializer.cs
- MemoryMappedFile.cs
- DataSourceCache.cs
- TextBox.cs
- XPathMultyIterator.cs