Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- TableLayoutPanelCellPosition.cs
- DelegatingTypeDescriptionProvider.cs
- FactoryGenerator.cs
- MaterializeFromAtom.cs
- ValueProviderWrapper.cs
- NoResizeHandleGlyph.cs
- DtcInterfaces.cs
- DataGridBoolColumn.cs
- IndexedString.cs
- ContractMapping.cs
- DataSet.cs
- PeerCollaborationPermission.cs
- SolidBrush.cs
- BitmapMetadataEnumerator.cs
- DataObject.cs
- Logging.cs
- AccessDataSource.cs
- DataFormats.cs
- Membership.cs
- TimeSpanConverter.cs
- InputBinder.cs
- SessionPageStatePersister.cs
- NativeCppClassAttribute.cs
- UInt16.cs
- EntityStoreSchemaGenerator.cs
- DbConnectionFactory.cs
- ApplicationException.cs
- TypeSemantics.cs
- MailDefinition.cs
- UIElement.cs
- TimeSpanConverter.cs
- EntityDataSourceSelectingEventArgs.cs
- FixedSchema.cs
- QilChoice.cs
- GACMembershipCondition.cs
- FixedSOMElement.cs
- WindowsGraphics.cs
- DateTimeParse.cs
- SystemWebCachingSectionGroup.cs
- ReservationCollection.cs
- ColumnMapVisitor.cs
- HybridWebProxyFinder.cs
- HTTPNotFoundHandler.cs
- IndependentlyAnimatedPropertyMetadata.cs
- storepermissionattribute.cs
- XpsViewerException.cs
- BadImageFormatException.cs
- SafeNativeMemoryHandle.cs
- SafeRightsManagementSessionHandle.cs
- XmlLanguage.cs
- ClientProtocol.cs
- LinkClickEvent.cs
- RoleGroupCollection.cs
- WebBrowserUriTypeConverter.cs
- PackageRelationshipCollection.cs
- FrameworkRichTextComposition.cs
- Baml2006ReaderContext.cs
- SyntaxCheck.cs
- Viewport3DVisual.cs
- Accessible.cs
- XmlWrappingReader.cs
- ValueTable.cs
- FragmentQueryKB.cs
- GestureRecognizer.cs
- FixedDocument.cs
- Metafile.cs
- TreeChangeInfo.cs
- XmlAutoDetectWriter.cs
- Vector3DValueSerializer.cs
- Rect3D.cs
- WebPartVerbCollection.cs
- BuildManager.cs
- WindowsAuthenticationEventArgs.cs
- XmlSchemaSet.cs
- DecoderFallback.cs
- Fx.cs
- ToolTipService.cs
- ConfigurationErrorsException.cs
- ObfuscateAssemblyAttribute.cs
- DataGridViewRowConverter.cs
- _PooledStream.cs
- XPathSingletonIterator.cs
- SplineKeyFrames.cs
- ToolStripControlHost.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- FormClosingEvent.cs
- HtmlInputFile.cs
- SoapExtensionReflector.cs
- AppDomainProtocolHandler.cs
- WaveHeader.cs
- _RequestLifetimeSetter.cs
- DataGridTextColumn.cs
- HostSecurityManager.cs
- EncodingInfo.cs
- DetailsViewInsertedEventArgs.cs
- HandlerElement.cs
- IssuedTokenClientBehaviorsElement.cs
- RelationshipEntry.cs
- WebBrowserSiteBase.cs
- Splitter.cs