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
- XamlValidatingReader.cs
- ExpressionBuilder.cs
- PriorityBinding.cs
- GeometryCollection.cs
- TextRenderer.cs
- ProjectionPath.cs
- VisualTarget.cs
- ColorConvertedBitmap.cs
- SchemaInfo.cs
- SharedUtils.cs
- TextViewElement.cs
- MULTI_QI.cs
- Vector3dCollection.cs
- StringConcat.cs
- TemplateBuilder.cs
- EntityCommandCompilationException.cs
- LambdaCompiler.Binary.cs
- Ipv6Element.cs
- XPathScanner.cs
- IntegerValidatorAttribute.cs
- TextFormatterHost.cs
- FixedFlowMap.cs
- ColumnMapVisitor.cs
- LineSegment.cs
- TextBoxRenderer.cs
- PlatformNotSupportedException.cs
- GradientStop.cs
- CfgParser.cs
- ComboBoxItem.cs
- InheritanceRules.cs
- MultiBindingExpression.cs
- ElementNotAvailableException.cs
- GenerateScriptTypeAttribute.cs
- EndpointDispatcherTable.cs
- GridErrorDlg.cs
- CryptoApi.cs
- SR.cs
- DbParameterCollection.cs
- ConstrainedDataObject.cs
- DataTrigger.cs
- CodeDirectionExpression.cs
- InstanceNameConverter.cs
- SelectorAutomationPeer.cs
- Brush.cs
- InvariantComparer.cs
- Visual3DCollection.cs
- PinnedBufferMemoryStream.cs
- BaseResourcesBuildProvider.cs
- AnnotationHighlightLayer.cs
- UIAgentAsyncParams.cs
- MenuTracker.cs
- CompositeDataBoundControl.cs
- Nullable.cs
- cookiecontainer.cs
- SerializableAttribute.cs
- Thumb.cs
- UmAlQuraCalendar.cs
- TrimSurroundingWhitespaceAttribute.cs
- DataTransferEventArgs.cs
- AvTraceDetails.cs
- UrlPath.cs
- CellParagraph.cs
- UiaCoreProviderApi.cs
- counter.cs
- AdornedElementPlaceholder.cs
- XPathNodeIterator.cs
- Tile.cs
- ApplicationServicesHostFactory.cs
- VectorConverter.cs
- Vector3dCollection.cs
- DSACryptoServiceProvider.cs
- SqlCacheDependencyDatabaseCollection.cs
- BitStack.cs
- PreviewPageInfo.cs
- GetFileNameResult.cs
- dataprotectionpermission.cs
- UIElement.cs
- WebBrowserNavigatedEventHandler.cs
- RichTextBox.cs
- DesignerSerializerAttribute.cs
- ReadContentAsBinaryHelper.cs
- ServiceModelReg.cs
- LazyTextWriterCreator.cs
- Point4D.cs
- Rotation3DAnimation.cs
- Native.cs
- GridViewPageEventArgs.cs
- QilList.cs
- SqlBulkCopy.cs
- TextParaClient.cs
- SuspendDesigner.cs
- ZoneButton.cs
- GroupDescription.cs
- XDeferredAxisSource.cs
- OdbcErrorCollection.cs
- ArgumentFixer.cs
- BinaryReader.cs
- FacetChecker.cs
- TransformerInfoCollection.cs
- ColorInterpolationModeValidation.cs