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
- ToolStripDropDownClosedEventArgs.cs
- TextTreeTextNode.cs
- XmlEventCache.cs
- TextElementCollection.cs
- SafeUserTokenHandle.cs
- SqlDataSourceEnumerator.cs
- Expression.cs
- MSAANativeProvider.cs
- RenderTargetBitmap.cs
- Property.cs
- CodeStatement.cs
- Evidence.cs
- RunClient.cs
- GiveFeedbackEvent.cs
- ScriptControlManager.cs
- ZipIOExtraFieldElement.cs
- COSERVERINFO.cs
- FrameworkObject.cs
- DetailsViewUpdateEventArgs.cs
- XPathItem.cs
- CodeDomDesignerLoader.cs
- WebControlParameterProxy.cs
- ObjectDataProvider.cs
- ChineseLunisolarCalendar.cs
- ObjectReaderCompiler.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- TimeoutException.cs
- EncodingTable.cs
- MailDefinition.cs
- HtmlTextViewAdapter.cs
- UrlMappingsModule.cs
- ChannelSinkStacks.cs
- UnmanagedMemoryStream.cs
- ConfigXmlElement.cs
- CalendarAutoFormat.cs
- DragStartedEventArgs.cs
- PageRanges.cs
- DeviceFilterEditorDialog.cs
- AesCryptoServiceProvider.cs
- TreeViewHitTestInfo.cs
- ImportCatalogPart.cs
- WeakReferenceKey.cs
- ConsoleTraceListener.cs
- PingReply.cs
- OnOperation.cs
- XmlUnspecifiedAttribute.cs
- MailWebEventProvider.cs
- CorrelationManager.cs
- MethodRental.cs
- NewItemsContextMenuStrip.cs
- ConstraintCollection.cs
- DataStreams.cs
- EntityParameter.cs
- JsonXmlDataContract.cs
- GregorianCalendar.cs
- oledbconnectionstring.cs
- DependencyObjectProvider.cs
- CellParagraph.cs
- DatatypeImplementation.cs
- Hex.cs
- HttpRequestWrapper.cs
- ImageDesigner.cs
- UIPermission.cs
- ImageField.cs
- Configuration.cs
- TreeNodeConverter.cs
- nulltextcontainer.cs
- WebDisplayNameAttribute.cs
- OleDbConnection.cs
- FilterableData.cs
- TreeView.cs
- CaseStatementSlot.cs
- StructuredTypeEmitter.cs
- BufferedOutputStream.cs
- DoWorkEventArgs.cs
- Compilation.cs
- BindingRestrictions.cs
- SqlConnectionPoolProviderInfo.cs
- XmlNamespaceManager.cs
- FlagsAttribute.cs
- ItemContainerGenerator.cs
- EditCommandColumn.cs
- GeneralTransform3DGroup.cs
- DataSourceCache.cs
- ConnectionStringSettingsCollection.cs
- SQLBytes.cs
- TickBar.cs
- TextRangeProviderWrapper.cs
- Utilities.cs
- AppDomainFactory.cs
- TraceContextEventArgs.cs
- FlowLayout.cs
- Converter.cs
- ApplicationDirectory.cs
- EdmItemCollection.cs
- VisualTreeUtils.cs
- DbConnectionClosed.cs
- EdmSchemaAttribute.cs
- TypeNameConverter.cs
- DynamicDataRoute.cs