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
- CompositionAdorner.cs
- DbgUtil.cs
- FontFamilyValueSerializer.cs
- ToolStripTextBox.cs
- _BasicClient.cs
- TrackBarRenderer.cs
- DbModificationCommandTree.cs
- SplashScreen.cs
- NavigationService.cs
- Pkcs9Attribute.cs
- Command.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- QueryCacheEntry.cs
- AsyncStreamReader.cs
- ProfileServiceManager.cs
- TextTreeNode.cs
- ServiceModelStringsVersion1.cs
- Document.cs
- KeyedHashAlgorithm.cs
- ExtensionQuery.cs
- DrawItemEvent.cs
- DataGridViewUtilities.cs
- ClientUtils.cs
- ToolStripItemImageRenderEventArgs.cs
- ContractCodeDomInfo.cs
- SizeConverter.cs
- KeyManager.cs
- XmlSchemaComplexType.cs
- Solver.cs
- XmlDataSource.cs
- GlobalizationAssembly.cs
- ControlBindingsConverter.cs
- ConfigurationLoaderException.cs
- EventProviderWriter.cs
- SchemaNamespaceManager.cs
- CompoundFileIOPermission.cs
- CqlParserHelpers.cs
- ExtensionQuery.cs
- externdll.cs
- CustomValidator.cs
- DataServiceBuildProvider.cs
- FeatureSupport.cs
- MobileSysDescriptionAttribute.cs
- PropertyToken.cs
- TimersDescriptionAttribute.cs
- ProtocolsConfigurationHandler.cs
- FormClosingEvent.cs
- RequiredAttributeAttribute.cs
- PeerCollaborationPermission.cs
- GenericTypeParameterBuilder.cs
- LoginUtil.cs
- ListViewItemSelectionChangedEvent.cs
- BrowserCapabilitiesCompiler.cs
- EntityDataSourceMemberPath.cs
- ControlBindingsCollection.cs
- MemberInitExpression.cs
- PageThemeBuildProvider.cs
- DataGridViewLinkColumn.cs
- EventLogPermissionEntry.cs
- HwndMouseInputProvider.cs
- ReachSerializerAsync.cs
- TiffBitmapEncoder.cs
- GeneralTransformGroup.cs
- SqlReferenceCollection.cs
- TemplatedAdorner.cs
- MetadataPropertyvalue.cs
- EditingCommands.cs
- HttpCacheVary.cs
- SqlConnectionHelper.cs
- EncryptedKey.cs
- ZipFileInfo.cs
- LinkedResourceCollection.cs
- EncoderFallback.cs
- SuppressMergeCheckAttribute.cs
- RewritingProcessor.cs
- TableRowsCollectionEditor.cs
- GroupStyle.cs
- GroupPartitionExpr.cs
- UnsafeNativeMethods.cs
- TdsValueSetter.cs
- DataGridViewElement.cs
- TreeView.cs
- Win32SafeHandles.cs
- Utils.cs
- EntryPointNotFoundException.cs
- AmbientLight.cs
- SequentialWorkflowHeaderFooter.cs
- Literal.cs
- HttpProfileGroupBase.cs
- XmlAutoDetectWriter.cs
- SiteMapDataSource.cs
- BamlLocalizer.cs
- ExpressionBuilderContext.cs
- SpnEndpointIdentity.cs
- ByteAnimationUsingKeyFrames.cs
- SiteMap.cs
- XmlSignatureProperties.cs
- MustUnderstandBehavior.cs
- MappingItemCollection.cs
- AlignmentXValidation.cs