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
- LocatorGroup.cs
- SortedList.cs
- SecureEnvironment.cs
- FreezableDefaultValueFactory.cs
- TimeoutValidationAttribute.cs
- MemberHolder.cs
- SpoolingTask.cs
- RequestCachingSection.cs
- FragmentQueryKB.cs
- CompilerTypeWithParams.cs
- EdgeProfileValidation.cs
- ArgumentOutOfRangeException.cs
- Table.cs
- ReflectionPermission.cs
- DataTableMappingCollection.cs
- DataGridTextBox.cs
- versioninfo.cs
- XmlComment.cs
- CodeExpressionStatement.cs
- GlyphCache.cs
- ByteStack.cs
- BuildProvidersCompiler.cs
- BindingList.cs
- CaseStatementSlot.cs
- NonParentingControl.cs
- DateTimeUtil.cs
- DataBoundControlActionList.cs
- PasswordTextContainer.cs
- CounterSample.cs
- ExtensionFile.cs
- MemoryPressure.cs
- MexTcpBindingElement.cs
- LayoutTableCell.cs
- FlowLayoutPanel.cs
- InputScopeNameConverter.cs
- EncryptedType.cs
- NetworkStream.cs
- FlowPosition.cs
- ReaderContextStackData.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- HtmlGenericControl.cs
- PropertyChangeTracker.cs
- ScalarConstant.cs
- CachingHintValidation.cs
- RegexCapture.cs
- RenderingEventArgs.cs
- FacetValues.cs
- WorkflowLayouts.cs
- WeakReference.cs
- Rotation3D.cs
- ProcessThreadCollection.cs
- SimpleModelProvider.cs
- Win32PrintDialog.cs
- TraceInternal.cs
- RangeValidator.cs
- VectorConverter.cs
- BitmapSizeOptions.cs
- Int64Animation.cs
- MessageTraceRecord.cs
- Pair.cs
- CopyNodeSetAction.cs
- OlePropertyStructs.cs
- HScrollProperties.cs
- WebMessageFormatHelper.cs
- SoundPlayer.cs
- GeometryModel3D.cs
- TagPrefixInfo.cs
- SchemaComplexType.cs
- Crc32.cs
- ThumbButtonInfoCollection.cs
- SaveFileDialog.cs
- AttachedAnnotation.cs
- IsolatedStorageFileStream.cs
- CreateWorkflowOwnerCommand.cs
- ListMarkerLine.cs
- ForwardPositionQuery.cs
- CodeTypeReferenceSerializer.cs
- ParserStack.cs
- GridView.cs
- SmiXetterAccessMap.cs
- UIPropertyMetadata.cs
- KeyboardNavigation.cs
- LinkedResourceCollection.cs
- IsolatedStorageFileStream.cs
- RangeContentEnumerator.cs
- MessageSecurityTokenVersion.cs
- PostBackOptions.cs
- EditBehavior.cs
- Mouse.cs
- unsafenativemethodstextservices.cs
- xmlfixedPageInfo.cs
- DecimalMinMaxAggregationOperator.cs
- UIElement3D.cs
- ContextProperty.cs
- UserControl.cs
- AttributeEmitter.cs
- XmlChildEnumerator.cs
- AtlasWeb.Designer.cs
- ForeignKeyConstraint.cs
- CookielessHelper.cs