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
- XpsResource.cs
- DesignerActionItemCollection.cs
- ClassData.cs
- XmlSiteMapProvider.cs
- EntityConnection.cs
- FullTextState.cs
- ParserOptions.cs
- KeyboardEventArgs.cs
- ScriptIgnoreAttribute.cs
- ViewLoader.cs
- PointAnimationClockResource.cs
- Pkcs7Signer.cs
- TextBoxBase.cs
- CorrelationScope.cs
- TypedDataSetSchemaImporterExtension.cs
- _RegBlobWebProxyDataBuilder.cs
- RNGCryptoServiceProvider.cs
- StaticFileHandler.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- CustomCredentialPolicy.cs
- ParameterCollectionEditorForm.cs
- IIS7UserPrincipal.cs
- SQLInt32Storage.cs
- CompositeClientFormatter.cs
- SemanticBasicElement.cs
- Compiler.cs
- COM2ComponentEditor.cs
- Exceptions.cs
- EntityDataSourceQueryBuilder.cs
- followingquery.cs
- InterleavedZipPartStream.cs
- PopupRoot.cs
- ColumnPropertiesGroup.cs
- RequestCachePolicy.cs
- BooleanFacetDescriptionElement.cs
- translator.cs
- DataControlFieldHeaderCell.cs
- AccessedThroughPropertyAttribute.cs
- Point3D.cs
- WinEventTracker.cs
- Vector3D.cs
- HttpDictionary.cs
- Stream.cs
- TypeInitializationException.cs
- SrgsGrammar.cs
- FigureParagraph.cs
- MetadataSource.cs
- MimeParameter.cs
- ChangePassword.cs
- SessionParameter.cs
- PropertyTabAttribute.cs
- _TimerThread.cs
- DataBindingHandlerAttribute.cs
- EdmType.cs
- EncodingTable.cs
- ConsoleKeyInfo.cs
- LocalServiceSecuritySettings.cs
- ExpressionValueEditor.cs
- BindingNavigator.cs
- AuthenticationService.cs
- LogArchiveSnapshot.cs
- Constants.cs
- DetailsViewInsertedEventArgs.cs
- RunInstallerAttribute.cs
- ButtonChrome.cs
- PropertyNames.cs
- StylusPoint.cs
- RangeValuePattern.cs
- Match.cs
- ScriptManager.cs
- SemaphoreSecurity.cs
- DecoderExceptionFallback.cs
- ObjectDataSourceFilteringEventArgs.cs
- WebContext.cs
- TextDecorationLocationValidation.cs
- DataAdapter.cs
- DisableDpiAwarenessAttribute.cs
- MemberListBinding.cs
- TimeoutException.cs
- CodeCommentStatementCollection.cs
- KnownBoxes.cs
- DataRow.cs
- TextAutomationPeer.cs
- TypedReference.cs
- ListenerTraceUtility.cs
- GridItemCollection.cs
- InstanceValue.cs
- BinaryObjectInfo.cs
- Collection.cs
- CreateUserWizard.cs
- TimeSpanMinutesConverter.cs
- OdbcException.cs
- ViewKeyConstraint.cs
- HttpWebResponse.cs
- SchemaImporterExtensionsSection.cs
- TextRange.cs
- ErrorStyle.cs
- AttributeQuery.cs
- XmlReflectionMember.cs
- NameValueConfigurationElement.cs