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
- ReferenceConverter.cs
- OutputCacheProfile.cs
- MarkupCompiler.cs
- WebPartMenuStyle.cs
- RefreshEventArgs.cs
- DesignerInterfaces.cs
- Context.cs
- PagesChangedEventArgs.cs
- OdbcError.cs
- FontSizeConverter.cs
- CodeSnippetCompileUnit.cs
- Timeline.cs
- PowerModeChangedEventArgs.cs
- SystemIPInterfaceProperties.cs
- LogWriteRestartAreaState.cs
- BindingGroup.cs
- UpdateTracker.cs
- cookieexception.cs
- WindowsListBox.cs
- CroppedBitmap.cs
- ViewStateException.cs
- VectorValueSerializer.cs
- OrderByBuilder.cs
- ServiceObjectContainer.cs
- Collection.cs
- DuplexClientBase.cs
- XPathExpr.cs
- FacetDescription.cs
- DefaultExpressionVisitor.cs
- WorkflowViewElement.cs
- UndoEngine.cs
- PlaceHolder.cs
- ButtonColumn.cs
- ListItemCollection.cs
- LogLogRecordHeader.cs
- UrlMappingsModule.cs
- SqlGatherConsumedAliases.cs
- TabControl.cs
- SamlSubjectStatement.cs
- LinkedResourceCollection.cs
- ScriptComponentDescriptor.cs
- EventListenerClientSide.cs
- MsmqInputChannelListenerBase.cs
- TextClipboardData.cs
- BrowserCapabilitiesCodeGenerator.cs
- RecognizedPhrase.cs
- RightsManagementInformation.cs
- HtmlTableCellCollection.cs
- DetailsViewAutoFormat.cs
- XslUrlEditor.cs
- DiscoveryOperationContext.cs
- DurableErrorHandler.cs
- SoapClientProtocol.cs
- SqlConnection.cs
- TextTrailingCharacterEllipsis.cs
- ExitEventArgs.cs
- Nodes.cs
- DecimalConstantAttribute.cs
- KeyTimeConverter.cs
- exports.cs
- CacheAxisQuery.cs
- DataServiceContext.cs
- BrowserCapabilitiesCompiler.cs
- CacheSection.cs
- TemplateParser.cs
- DesignerActionKeyboardBehavior.cs
- ConfigurationManagerInternalFactory.cs
- OutputCacheSection.cs
- FormViewActionList.cs
- ObjectListFieldCollection.cs
- BrushValueSerializer.cs
- ClientBuildManager.cs
- SessionEndedEventArgs.cs
- Query.cs
- AnnouncementClient.cs
- ToolStripSplitStackLayout.cs
- MetadataArtifactLoaderComposite.cs
- CapabilitiesState.cs
- DataControlButton.cs
- ParagraphVisual.cs
- Rectangle.cs
- ApplicationBuildProvider.cs
- ComplexObject.cs
- BindingContext.cs
- FailedToStartupUIException.cs
- MtomMessageEncodingBindingElement.cs
- BackoffTimeoutHelper.cs
- CustomMenuItemCollection.cs
- DbProviderSpecificTypePropertyAttribute.cs
- WebPartEditorCancelVerb.cs
- MessagePropertyFilter.cs
- SecureEnvironment.cs
- RangeValuePattern.cs
- ImageSourceConverter.cs
- BStrWrapper.cs
- ApplicationFileCodeDomTreeGenerator.cs
- EditorPartChrome.cs
- StorageScalarPropertyMapping.cs
- ActivationService.cs
- NumberAction.cs