Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- PropertyMapper.cs
- XsltException.cs
- Function.cs
- OciLobLocator.cs
- QuinticEase.cs
- GotoExpression.cs
- SqlTransaction.cs
- SmuggledIUnknown.cs
- ChildChangedEventArgs.cs
- AlternateViewCollection.cs
- FastPropertyAccessor.cs
- AttributeQuery.cs
- ValueTable.cs
- ScrollChrome.cs
- XPathChildIterator.cs
- NumberSubstitution.cs
- ViewGenerator.cs
- WebPartConnectionsEventArgs.cs
- PathTooLongException.cs
- ItemContainerGenerator.cs
- SerialStream.cs
- RequestCachingSection.cs
- RefExpr.cs
- TraceEventCache.cs
- _Rfc2616CacheValidators.cs
- ManipulationVelocities.cs
- Effect.cs
- DistinctQueryOperator.cs
- UnknownBitmapEncoder.cs
- NetStream.cs
- ProxyGenerator.cs
- XmlEnumAttribute.cs
- ChannelManagerBase.cs
- M3DUtil.cs
- XmlConvert.cs
- CollectionChangeEventArgs.cs
- DispatcherOperation.cs
- BaseUriHelper.cs
- MessageAction.cs
- BackStopAuthenticationModule.cs
- CheckBox.cs
- Control.cs
- DbParameterCollection.cs
- DbDataAdapter.cs
- ColumnCollection.cs
- AddInSegmentDirectoryNotFoundException.cs
- TraceXPathNavigator.cs
- ColorMap.cs
- RegistryPermission.cs
- DomainConstraint.cs
- ChangeConflicts.cs
- XmlBinaryWriter.cs
- DataSvcMapFile.cs
- SQLDecimalStorage.cs
- XmlSchemaRedefine.cs
- TimeSpanStorage.cs
- SessionStateItemCollection.cs
- InputLanguage.cs
- StringUtil.cs
- SamlDoNotCacheCondition.cs
- Point3DIndependentAnimationStorage.cs
- SqlAliasesReferenced.cs
- SoapCodeExporter.cs
- BitmapMetadata.cs
- DbDataRecord.cs
- WindowsButton.cs
- CommonDialog.cs
- FormsAuthenticationEventArgs.cs
- SinglePageViewer.cs
- ConfigurationValidatorBase.cs
- SizeConverter.cs
- PersonalizablePropertyEntry.cs
- ListChunk.cs
- TableRow.cs
- ReadWriteSpinLock.cs
- TabItemAutomationPeer.cs
- EncryptedKeyHashIdentifierClause.cs
- PrintSystemException.cs
- DataRowView.cs
- XmlDataDocument.cs
- TemplateManager.cs
- Int32KeyFrameCollection.cs
- ProgressBarBrushConverter.cs
- PerfCounterSection.cs
- InfiniteIntConverter.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- _UncName.cs
- StreamReader.cs
- PageAsyncTask.cs
- AttributeQuery.cs
- TextLine.cs
- EdmItemCollection.OcAssemblyCache.cs
- DataBindEngine.cs
- XmlUrlResolver.cs
- JapaneseCalendar.cs
- ActivityAction.cs
- SoapIncludeAttribute.cs
- SettingsSection.cs
- DefaultObjectMappingItemCollection.cs
- ResourceAttributes.cs