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
- _SpnDictionary.cs
- DependencyPropertyHelper.cs
- CustomErrorsSectionWrapper.cs
- WindowAutomationPeer.cs
- CodeTryCatchFinallyStatement.cs
- Listbox.cs
- ConditionValidator.cs
- SoapDocumentServiceAttribute.cs
- NativeCompoundFileAPIs.cs
- XmlNodeReader.cs
- ActivitySurrogate.cs
- ComponentDispatcher.cs
- IISMapPath.cs
- ServiceDesigner.cs
- KeyboardNavigation.cs
- smtpconnection.cs
- SuppressMessageAttribute.cs
- WebZoneDesigner.cs
- ConstraintCollection.cs
- ConfigurationElementCollection.cs
- ColorAnimationBase.cs
- TextEditorDragDrop.cs
- ACL.cs
- QueryableFilterRepeater.cs
- ClientConfigurationHost.cs
- AttachmentService.cs
- SoapTypeAttribute.cs
- _ChunkParse.cs
- CacheAxisQuery.cs
- PhysicalAddress.cs
- OleDbErrorCollection.cs
- IndexedWhereQueryOperator.cs
- DecoderFallback.cs
- DownloadProgressEventArgs.cs
- RefExpr.cs
- HuffmanTree.cs
- PriorityChain.cs
- ConfigXmlReader.cs
- XPathNode.cs
- Point3DCollectionConverter.cs
- DefaultDiscoveryServiceExtension.cs
- DigestTraceRecordHelper.cs
- CompositionAdorner.cs
- XmlCharacterData.cs
- StatusBar.cs
- Help.cs
- CommandBindingCollection.cs
- AnyReturnReader.cs
- ContentElement.cs
- SemanticBasicElement.cs
- TableLayoutSettingsTypeConverter.cs
- PrimaryKeyTypeConverter.cs
- FilePrompt.cs
- WithStatement.cs
- SharedConnectionWorkflowTransactionService.cs
- Crc32.cs
- MobileComponentEditorPage.cs
- Shape.cs
- WebPartConnectionCollection.cs
- PointCollection.cs
- IChannel.cs
- TypeDescriptor.cs
- MessageAction.cs
- TemplatedWizardStep.cs
- FlowLayoutSettings.cs
- DataGridViewAutoSizeModeEventArgs.cs
- PrimaryKeyTypeConverter.cs
- MediaPlayer.cs
- contentDescriptor.cs
- NotifyCollectionChangedEventArgs.cs
- XmlnsDictionary.cs
- QueryInterceptorAttribute.cs
- ProfileModule.cs
- XmlDictionaryReaderQuotas.cs
- SqlConnectionHelper.cs
- InputBindingCollection.cs
- CodeConditionStatement.cs
- ToolStripSplitButton.cs
- GridViewSelectEventArgs.cs
- SqlRowUpdatedEvent.cs
- ExpressionPrefixAttribute.cs
- DropSource.cs
- SvcMapFile.cs
- FixedFlowMap.cs
- HTTPNotFoundHandler.cs
- TraceContextEventArgs.cs
- EdmScalarPropertyAttribute.cs
- ToolStripItemGlyph.cs
- TraceRecords.cs
- CompoundFileDeflateTransform.cs
- RubberbandSelector.cs
- TaskForm.cs
- GatewayDefinition.cs
- Crypto.cs
- SQLMembershipProvider.cs
- OleDbMetaDataFactory.cs
- WindowShowOrOpenTracker.cs
- ToolStripDropDownItem.cs
- ConnectionManagementElement.cs
- ListSourceHelper.cs