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
- basecomparevalidator.cs
- AcceleratedTokenProvider.cs
- SimpleApplicationHost.cs
- TimeoutConverter.cs
- ResourcesChangeInfo.cs
- XmlQueryCardinality.cs
- DefaultSection.cs
- SoapExtensionTypeElementCollection.cs
- StreamWriter.cs
- TextTreeRootNode.cs
- MappingMetadataHelper.cs
- WindowsGraphicsWrapper.cs
- InheritedPropertyChangedEventArgs.cs
- ImageButton.cs
- EpmSourceTree.cs
- StylusPointProperty.cs
- BindingExpressionUncommonField.cs
- UserControlCodeDomTreeGenerator.cs
- OutputWindow.cs
- MouseCaptureWithinProperty.cs
- HttpResponseInternalWrapper.cs
- DatagridviewDisplayedBandsData.cs
- ServiceDefaults.cs
- NetworkStream.cs
- DataGridViewTextBoxCell.cs
- AbandonedMutexException.cs
- BypassElement.cs
- SubMenuStyleCollection.cs
- OpCodes.cs
- CompilerError.cs
- log.cs
- Expression.cs
- DesignerCalendarAdapter.cs
- FormsAuthentication.cs
- DataRecord.cs
- ExceptionRoutedEventArgs.cs
- Int32AnimationUsingKeyFrames.cs
- OdbcEnvironment.cs
- ProfileSettingsCollection.cs
- WebPartCatalogCloseVerb.cs
- FileSecurity.cs
- Transform.cs
- CryptographicAttribute.cs
- NavigatorOutput.cs
- HtmlInputCheckBox.cs
- SafeHandles.cs
- Rfc2898DeriveBytes.cs
- MessageLogger.cs
- FreeFormDragDropManager.cs
- DbParameterHelper.cs
- TextServicesCompartment.cs
- EdmScalarPropertyAttribute.cs
- FormatConvertedBitmap.cs
- ConditionalAttribute.cs
- MarkupProperty.cs
- DataRecord.cs
- TableCellCollection.cs
- embossbitmapeffect.cs
- PrtTicket_Public_Simple.cs
- FormClosedEvent.cs
- AttachmentCollection.cs
- PerformanceCounter.cs
- UpdateCommand.cs
- ErrorFormatter.cs
- StateRuntime.cs
- TreeViewDesigner.cs
- CustomBindingCollectionElement.cs
- XamlGridLengthSerializer.cs
- PersistenceTypeAttribute.cs
- cache.cs
- SelectionEditor.cs
- SoapElementAttribute.cs
- TitleStyle.cs
- SqlProviderServices.cs
- Ipv6Element.cs
- CatalogPartChrome.cs
- HtmlEmptyTagControlBuilder.cs
- ImageListImage.cs
- WindowsListViewGroupSubsetLink.cs
- FreeFormPanel.cs
- ReadOnlyAttribute.cs
- CodeArrayIndexerExpression.cs
- XhtmlBasicValidationSummaryAdapter.cs
- Cursors.cs
- Behavior.cs
- diagnosticsswitches.cs
- TriggerBase.cs
- TableRow.cs
- CompressedStack.cs
- ColorConvertedBitmap.cs
- FixedSOMTableRow.cs
- UrlAuthorizationModule.cs
- Point3DCollectionValueSerializer.cs
- Logging.cs
- GiveFeedbackEvent.cs
- BuildProvider.cs
- GZipUtils.cs
- HttpApplicationFactory.cs
- CheckBoxField.cs
- BindStream.cs