Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / SlipBehavior.cs / 1305600 / 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
- SplitterPanel.cs
- OSEnvironmentHelper.cs
- PanelDesigner.cs
- smtppermission.cs
- Method.cs
- WebPartsPersonalizationAuthorization.cs
- WizardStepBase.cs
- SimpleTypeResolver.cs
- OleDbConnectionFactory.cs
- NumericPagerField.cs
- FactoryRecord.cs
- FrameworkElementFactoryMarkupObject.cs
- CheckBoxStandardAdapter.cs
- ObjectDataSourceDesigner.cs
- FileVersion.cs
- CodeObjectCreateExpression.cs
- PropertySegmentSerializationProvider.cs
- XmlExpressionDumper.cs
- TransformerTypeCollection.cs
- SecondaryIndex.cs
- PolicyManager.cs
- EmptyEnumerable.cs
- Canvas.cs
- SmiMetaData.cs
- FrameAutomationPeer.cs
- DataSysAttribute.cs
- Visual.cs
- CompModHelpers.cs
- SerializationFieldInfo.cs
- DataGridTextBoxColumn.cs
- OdbcCommand.cs
- ClickablePoint.cs
- EditCommandColumn.cs
- _SslSessionsCache.cs
- RegexCharClass.cs
- StructuredTypeEmitter.cs
- StreamResourceInfo.cs
- AtomicFile.cs
- MethodAccessException.cs
- Base64Stream.cs
- RuntimeResourceSet.cs
- PrintPreviewControl.cs
- Exception.cs
- TreeViewBindingsEditorForm.cs
- SiteMapNodeItemEventArgs.cs
- ClientApiGenerator.cs
- Visual.cs
- CompilerState.cs
- SettingsProperty.cs
- TypeResolver.cs
- ConfigurationElementCollection.cs
- ToolBarButtonDesigner.cs
- RSAProtectedConfigurationProvider.cs
- UdpSocket.cs
- TextRangeProviderWrapper.cs
- ContainerUtilities.cs
- AffineTransform3D.cs
- IisTraceListener.cs
- Version.cs
- ResolvedKeyFrameEntry.cs
- RuntimeConfigurationRecord.cs
- HtmlCalendarAdapter.cs
- DataSet.cs
- MultiPartWriter.cs
- ResourcesChangeInfo.cs
- MetadataResolver.cs
- XmlComment.cs
- AnimationClock.cs
- HandleTable.cs
- CommandEventArgs.cs
- IdentityReference.cs
- TextRange.cs
- ISAPIWorkerRequest.cs
- HandoffBehavior.cs
- PassportIdentity.cs
- EventLogConfiguration.cs
- ObjectViewListener.cs
- ConfigDefinitionUpdates.cs
- MessageQueuePermissionAttribute.cs
- Library.cs
- XpsResource.cs
- PropertyValueUIItem.cs
- WebBrowserProgressChangedEventHandler.cs
- ToolStripMenuItemDesigner.cs
- XmlNodeChangedEventManager.cs
- RenderCapability.cs
- ConfigurationStrings.cs
- PathFigureCollectionConverter.cs
- MDIClient.cs
- UserControl.cs
- RemotingSurrogateSelector.cs
- selecteditemcollection.cs
- ListControlActionList.cs
- ObjectTag.cs
- SequenceDesigner.xaml.cs
- Attributes.cs
- ProfessionalColorTable.cs
- ProjectionPlan.cs
- PartialTrustHelpers.cs
- ControlIdConverter.cs