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
- DynamicArgumentDesigner.xaml.cs
- ResolvedKeyFrameEntry.cs
- ToolTip.cs
- BatchWriter.cs
- DispatcherObject.cs
- ServiceBusyException.cs
- Error.cs
- SqlFlattener.cs
- PersonalizableTypeEntry.cs
- PolicyChain.cs
- UriTemplateLiteralPathSegment.cs
- MessageSecurityProtocolFactory.cs
- Speller.cs
- DataGridViewBand.cs
- TransactionInformation.cs
- RegexGroupCollection.cs
- AssemblyInfo.cs
- RemotingAttributes.cs
- ContainerParaClient.cs
- SQLGuid.cs
- DesignerDataConnection.cs
- ToolStripPanel.cs
- TimelineGroup.cs
- TemplateComponentConnector.cs
- Wildcard.cs
- SqlDataReaderSmi.cs
- EventLog.cs
- ECDiffieHellmanCng.cs
- ManipulationDevice.cs
- TableLayoutPanelCellPosition.cs
- DoubleAnimationUsingKeyFrames.cs
- CollectionViewGroupRoot.cs
- InstanceHandleReference.cs
- ComponentEditorPage.cs
- VirtualPathExtension.cs
- DelegateSerializationHolder.cs
- ValidatedMobileControlConverter.cs
- PageThemeCodeDomTreeGenerator.cs
- DbProviderConfigurationHandler.cs
- ParseChildrenAsPropertiesAttribute.cs
- Suspend.cs
- SecurityPolicySection.cs
- ParseNumbers.cs
- PhonemeEventArgs.cs
- OracleDateTime.cs
- MultiTrigger.cs
- MediaScriptCommandRoutedEventArgs.cs
- Pens.cs
- QueueProcessor.cs
- GridItemPattern.cs
- Interlocked.cs
- ViewBase.cs
- ValidationHelpers.cs
- FontStyleConverter.cs
- CacheMemory.cs
- ColorEditor.cs
- StrongNamePublicKeyBlob.cs
- SecurityElement.cs
- securitymgrsite.cs
- BadImageFormatException.cs
- OleDbReferenceCollection.cs
- SystemDropShadowChrome.cs
- FileInfo.cs
- FromRequest.cs
- TerminatorSinks.cs
- AvTrace.cs
- XmlSchemaInfo.cs
- updateconfighost.cs
- DataSourceConverter.cs
- TcpChannelHelper.cs
- SerializerDescriptor.cs
- LinkUtilities.cs
- HttpWebRequestElement.cs
- QilVisitor.cs
- GeometryHitTestResult.cs
- MimeMultiPart.cs
- WebPartAddingEventArgs.cs
- RecordsAffectedEventArgs.cs
- MatrixTransform.cs
- RectAnimation.cs
- SqlDeflator.cs
- EventHandlers.cs
- GraphicsPathIterator.cs
- Int32CAMarshaler.cs
- PermissionRequestEvidence.cs
- WebPartConnectionsCancelEventArgs.cs
- TreeView.cs
- InputScopeManager.cs
- XsdSchemaFileEditor.cs
- DesignerWidgets.cs
- _Connection.cs
- Span.cs
- XamlToRtfWriter.cs
- EventSetterHandlerConverter.cs
- RouteParameter.cs
- Storyboard.cs
- WorkflowTransactionService.cs
- TextServicesManager.cs
- IsolatedStoragePermission.cs
- AddInAttribute.cs