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
- _ServiceNameStore.cs
- DesignerAdapterAttribute.cs
- Rotation3DKeyFrameCollection.cs
- Helpers.cs
- Sentence.cs
- ActivityDelegate.cs
- WizardStepBase.cs
- LicenseManager.cs
- TokenBasedSetEnumerator.cs
- _DomainName.cs
- hresults.cs
- BitmapEffect.cs
- DataGridViewHitTestInfo.cs
- InnerItemCollectionView.cs
- SchemaComplexType.cs
- ContainerUIElement3D.cs
- GcHandle.cs
- CertificateManager.cs
- TraceSection.cs
- StylusTip.cs
- CodeDomSerializer.cs
- DBPropSet.cs
- CursorConverter.cs
- UserPreferenceChangedEventArgs.cs
- sqlser.cs
- UnionCqlBlock.cs
- XmlQueryRuntime.cs
- MiniModule.cs
- UseManagedPresentationElement.cs
- SharedUtils.cs
- NodeCounter.cs
- SecureStringHasher.cs
- BitmapSourceSafeMILHandle.cs
- dtdvalidator.cs
- DesignerDataParameter.cs
- UnsafeNativeMethods.cs
- DecoderFallbackWithFailureFlag.cs
- MemberDomainMap.cs
- HttpResponseInternalWrapper.cs
- DescendantOverDescendantQuery.cs
- SmiSettersStream.cs
- WebPartRestoreVerb.cs
- SingleAnimationBase.cs
- GCHandleCookieTable.cs
- TypefaceMap.cs
- CryptoStream.cs
- DNS.cs
- TextCollapsingProperties.cs
- HttpHandlerAction.cs
- Math.cs
- ResourceCategoryAttribute.cs
- DesignerTransaction.cs
- HashSetDebugView.cs
- BitmapSourceSafeMILHandle.cs
- WindowsFormsSynchronizationContext.cs
- sqlinternaltransaction.cs
- TextElementEnumerator.cs
- StrokeNodeData.cs
- KnowledgeBase.cs
- WebPartAddingEventArgs.cs
- AppendHelper.cs
- ScrollChrome.cs
- GridPattern.cs
- SqlProviderServices.cs
- XmlSchemaElement.cs
- TableLayout.cs
- CacheVirtualItemsEvent.cs
- HttpValueCollection.cs
- ManagementScope.cs
- Pens.cs
- PersonalizationProvider.cs
- ObjectParameterCollection.cs
- ImageMapEventArgs.cs
- NullableIntMinMaxAggregationOperator.cs
- SecurityDocument.cs
- DataSourceGeneratorException.cs
- TextFormatter.cs
- RowUpdatedEventArgs.cs
- RotateTransform3D.cs
- RoutedCommand.cs
- BufferBuilder.cs
- VerticalAlignConverter.cs
- LoaderAllocator.cs
- EntityProviderServices.cs
- _FtpControlStream.cs
- SourceLocationProvider.cs
- NameValuePermission.cs
- SymmetricAlgorithm.cs
- DefaultObjectMappingItemCollection.cs
- AspCompat.cs
- SpellerInterop.cs
- PopupControlService.cs
- FormatStringEditor.cs
- ListViewInsertedEventArgs.cs
- ObjectQueryState.cs
- GeometryHitTestParameters.cs
- PropertyItem.cs
- CompressStream.cs
- LongValidator.cs
- SetterBaseCollection.cs