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
- AuthorizationRule.cs
- PolicyUtility.cs
- UIElement.cs
- ComboBoxAutomationPeer.cs
- BufferedResponseStream.cs
- FormViewUpdateEventArgs.cs
- SyndicationFeedFormatter.cs
- SystemIPGlobalProperties.cs
- SqlDataSource.cs
- XsltSettings.cs
- CollectionTypeElement.cs
- EndpointConfigContainer.cs
- ContentDisposition.cs
- DmlSqlGenerator.cs
- ViewLoader.cs
- FormCollection.cs
- DiscriminatorMap.cs
- ContextProperty.cs
- DataGridViewIntLinkedList.cs
- PagerStyle.cs
- DesignerRegionMouseEventArgs.cs
- SelfIssuedAuthAsymmetricKey.cs
- TimeSpanHelper.cs
- SecurityUtils.cs
- SeverityFilter.cs
- HtmlMeta.cs
- TagPrefixCollection.cs
- ConnectionConsumerAttribute.cs
- WaitHandle.cs
- ListMarkerLine.cs
- ByteAnimationBase.cs
- TextReader.cs
- Button.cs
- FormsAuthenticationConfiguration.cs
- BinaryObjectWriter.cs
- ThreadAbortException.cs
- InputLanguageProfileNotifySink.cs
- input.cs
- Queue.cs
- OracleBoolean.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- HttpCapabilitiesBase.cs
- LogLogRecord.cs
- DbTypeMap.cs
- MultiDataTrigger.cs
- BamlStream.cs
- FreezableOperations.cs
- _AcceptOverlappedAsyncResult.cs
- ReadWriteSpinLock.cs
- AttributedMetaModel.cs
- WebConfigurationManager.cs
- UntrustedRecipientException.cs
- NativeObjectSecurity.cs
- TaskFormBase.cs
- RefExpr.cs
- DataGridCommandEventArgs.cs
- XmlWrappingReader.cs
- ErrorRuntimeConfig.cs
- ClosableStream.cs
- RC2.cs
- GCHandleCookieTable.cs
- ChineseLunisolarCalendar.cs
- ImmComposition.cs
- RegexStringValidatorAttribute.cs
- DataGridPagerStyle.cs
- JoinSymbol.cs
- TemplateBindingExpression.cs
- DecimalMinMaxAggregationOperator.cs
- WebUtil.cs
- WorkflowQueueInfo.cs
- ProgressBarRenderer.cs
- _NetworkingPerfCounters.cs
- SessionIDManager.cs
- ComplexTypeEmitter.cs
- Transform3DGroup.cs
- StylusEventArgs.cs
- RegexRunnerFactory.cs
- DefaultMemberAttribute.cs
- ColorConvertedBitmap.cs
- TrackingStringDictionary.cs
- ReadOnlyObservableCollection.cs
- AttributeTableBuilder.cs
- PersonalizationAdministration.cs
- CharUnicodeInfo.cs
- BaseServiceProvider.cs
- MdiWindowListStrip.cs
- C14NUtil.cs
- ArgumentNullException.cs
- DataGridPageChangedEventArgs.cs
- TriState.cs
- StandardCommandToolStripMenuItem.cs
- PropertyGridCommands.cs
- SoapWriter.cs
- SID.cs
- DataSourceHelper.cs
- SerialErrors.cs
- GroupBoxDesigner.cs
- DetailsViewInsertedEventArgs.cs
- MimeImporter.cs
- path.cs