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
- WebProxyScriptElement.cs
- ReturnValue.cs
- BinaryUtilClasses.cs
- XmlSchemaAppInfo.cs
- SessionEndingEventArgs.cs
- GridItemProviderWrapper.cs
- NamespaceExpr.cs
- Size.cs
- TextModifier.cs
- ToolStripItemTextRenderEventArgs.cs
- RewritingPass.cs
- ShortcutKeysEditor.cs
- COMException.cs
- ObjectReaderCompiler.cs
- TimeZoneNotFoundException.cs
- SafeArrayTypeMismatchException.cs
- PeerChannelFactory.cs
- RelationalExpressions.cs
- CharacterMetricsDictionary.cs
- RunWorkerCompletedEventArgs.cs
- SettingsBase.cs
- ChannelBase.cs
- DocumentXmlWriter.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- TraceSource.cs
- DiagnosticsConfiguration.cs
- Expander.cs
- UnmanagedMemoryStreamWrapper.cs
- BitmapEffectGeneralTransform.cs
- Transform3DCollection.cs
- DBSchemaTable.cs
- InvariantComparer.cs
- SafeProcessHandle.cs
- ManifestSignatureInformation.cs
- StatusBarAutomationPeer.cs
- __ComObject.cs
- ImageBrush.cs
- ZipPackage.cs
- SamlSubjectStatement.cs
- PathParser.cs
- ClientRolePrincipal.cs
- OleDbRowUpdatingEvent.cs
- ExpressionNormalizer.cs
- BamlResourceSerializer.cs
- FileInfo.cs
- DocumentEventArgs.cs
- MTConfigUtil.cs
- HtmlFormWrapper.cs
- OutputCacheSettingsSection.cs
- UserInitiatedNavigationPermission.cs
- UnionCodeGroup.cs
- InternalEnumValidatorAttribute.cs
- InputLanguageEventArgs.cs
- DataGridPagerStyle.cs
- ToolStripSeparator.cs
- EntityModelSchemaGenerator.cs
- X509Extension.cs
- AsnEncodedData.cs
- Triangle.cs
- Substitution.cs
- JsonReaderDelegator.cs
- FormViewActionList.cs
- VirtualDirectoryMapping.cs
- FormViewRow.cs
- ValidatingReaderNodeData.cs
- SystemTcpStatistics.cs
- BitmapEffectvisualstate.cs
- GZipStream.cs
- SafePEFileHandle.cs
- NaturalLanguageHyphenator.cs
- AnnotationAuthorChangedEventArgs.cs
- FastEncoderStatics.cs
- CodeGeneratorAttribute.cs
- HtmlInputButton.cs
- SpAudioStreamWrapper.cs
- AssociationSetEnd.cs
- SplitterCancelEvent.cs
- Screen.cs
- TrackPoint.cs
- ConsumerConnectionPointCollection.cs
- ConnectionConsumerAttribute.cs
- CommandField.cs
- precedingquery.cs
- OpenFileDialog.cs
- DataGridViewHitTestInfo.cs
- ValueUtilsSmi.cs
- ComboBoxAutomationPeer.cs
- ErrorsHelper.cs
- DeploymentSection.cs
- HttpResponseHeader.cs
- CodeEventReferenceExpression.cs
- ConfigurationStrings.cs
- CompositeTypefaceMetrics.cs
- MergePropertyDescriptor.cs
- TypeBuilderInstantiation.cs
- TextEmbeddedObject.cs
- DateTimeOffsetAdapter.cs
- GACMembershipCondition.cs
- cryptoapiTransform.cs
- LinqDataSourceValidationException.cs