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
- PersonalizableTypeEntry.cs
- SimpleHandlerFactory.cs
- VirtualPathUtility.cs
- ToolStripDropDownItem.cs
- RelAssertionDirectKeyIdentifierClause.cs
- TrustSection.cs
- BaseCodePageEncoding.cs
- UnsafeNativeMethods.cs
- RequestUriProcessor.cs
- CompiledIdentityConstraint.cs
- Size3DValueSerializer.cs
- TimerEventSubscriptionCollection.cs
- TypeSource.cs
- Attributes.cs
- RootNamespaceAttribute.cs
- TextProviderWrapper.cs
- WebServiceEnumData.cs
- SamlDelegatingWriter.cs
- CircleHotSpot.cs
- OpCellTreeNode.cs
- SqlDependencyListener.cs
- SupportsEventValidationAttribute.cs
- Util.cs
- DynamicRendererThreadManager.cs
- DeleteStoreRequest.cs
- EtwProvider.cs
- WorkingDirectoryEditor.cs
- ObjectItemNoOpAssemblyLoader.cs
- LogLogRecord.cs
- ResolvePPIDRequest.cs
- Utils.cs
- connectionpool.cs
- PathGeometry.cs
- WebPartEditorCancelVerb.cs
- Mappings.cs
- Trace.cs
- StateItem.cs
- ToolStripCodeDomSerializer.cs
- ImmComposition.cs
- Main.cs
- XpsTokenContext.cs
- PackageDigitalSignature.cs
- AdapterUtil.cs
- GetImportedCardRequest.cs
- ErrorFormatterPage.cs
- ApplicationFileCodeDomTreeGenerator.cs
- WebPartRestoreVerb.cs
- RandomNumberGenerator.cs
- ParentControlDesigner.cs
- DefaultWorkflowSchedulerService.cs
- DrawListViewColumnHeaderEventArgs.cs
- CompositeKey.cs
- ResXBuildProvider.cs
- HttpListenerContext.cs
- BitmapImage.cs
- ListViewAutomationPeer.cs
- MediaSystem.cs
- SqlFunctions.cs
- DataGridViewBand.cs
- SchemaImporterExtension.cs
- IdentitySection.cs
- ContainerParaClient.cs
- AnchoredBlock.cs
- ViewCellSlot.cs
- WebPartManager.cs
- ScriptingScriptResourceHandlerSection.cs
- RSAPKCS1KeyExchangeFormatter.cs
- BitmapEncoder.cs
- XmlUnspecifiedAttribute.cs
- ExpressionLexer.cs
- ProfileProvider.cs
- SemaphoreFullException.cs
- TextDecorationCollectionConverter.cs
- Brush.cs
- XmlComplianceUtil.cs
- TokenBasedSet.cs
- RtfToken.cs
- KeyValueConfigurationElement.cs
- ToolStripCustomTypeDescriptor.cs
- CallbackDebugBehavior.cs
- CheckBoxBaseAdapter.cs
- PointIndependentAnimationStorage.cs
- FixedSOMLineRanges.cs
- DataRelation.cs
- TypeNameConverter.cs
- IRCollection.cs
- BinaryUtilClasses.cs
- DataProtection.cs
- ExternalCalls.cs
- SortDescription.cs
- SingleTagSectionHandler.cs
- CodeDirectoryCompiler.cs
- SubMenuStyle.cs
- __TransparentProxy.cs
- UnsafeNativeMethods.cs
- ProfileSettings.cs
- QueryAccessibilityHelpEvent.cs
- LongSumAggregationOperator.cs
- Bold.cs
- ListMarkerLine.cs