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
- TableRow.cs
- HwndKeyboardInputProvider.cs
- TraceHandler.cs
- MachineKeySection.cs
- MultitargetUtil.cs
- DrawListViewColumnHeaderEventArgs.cs
- FrugalMap.cs
- IPAddress.cs
- WorkflowMarkupSerializationManager.cs
- HighlightComponent.cs
- MaterialGroup.cs
- IndicFontClient.cs
- HTTPNotFoundHandler.cs
- CellIdBoolean.cs
- FieldNameLookup.cs
- MouseGestureValueSerializer.cs
- JsonServiceDocumentSerializer.cs
- URI.cs
- CellQuery.cs
- WebPartConnectionsEventArgs.cs
- FormsAuthenticationTicket.cs
- FormView.cs
- returneventsaver.cs
- RegexStringValidator.cs
- StylusEditingBehavior.cs
- XmlSchemaProviderAttribute.cs
- EntityDataSourceWrapper.cs
- TransportReplyChannelAcceptor.cs
- DbConnectionPoolIdentity.cs
- VariableModifiersHelper.cs
- GridViewColumnHeaderAutomationPeer.cs
- RootNamespaceAttribute.cs
- SchemaNames.cs
- InternalTypeHelper.cs
- ProcessThread.cs
- MemoryResponseElement.cs
- TiffBitmapDecoder.cs
- DataObjectMethodAttribute.cs
- Select.cs
- SplitterPanel.cs
- VScrollProperties.cs
- FacetDescription.cs
- XmlSchemaAny.cs
- ColorTranslator.cs
- PersonalizationState.cs
- StringStorage.cs
- PageThemeParser.cs
- IdentityReference.cs
- UserMapPath.cs
- DbConnectionPoolCounters.cs
- EntityDataSourceStatementEditorForm.cs
- RelationshipConstraintValidator.cs
- PermissionSetEnumerator.cs
- LoginAutoFormat.cs
- SqlRemoveConstantOrderBy.cs
- XmlSchemaInfo.cs
- IisTraceWebEventProvider.cs
- XmlSchemaObjectTable.cs
- DbLambda.cs
- PropertyNames.cs
- xdrvalidator.cs
- PathNode.cs
- GridView.cs
- EndpointAddressProcessor.cs
- PerformanceCounter.cs
- TypeConverterAttribute.cs
- WindowsListViewGroupSubsetLink.cs
- SweepDirectionValidation.cs
- AdPostCacheSubstitution.cs
- MSAAWinEventWrap.cs
- HtmlInputSubmit.cs
- ControlBuilder.cs
- RoleProviderPrincipal.cs
- CultureSpecificStringDictionary.cs
- WSTrustFeb2005.cs
- DateTimeFormat.cs
- MsmqReceiveHelper.cs
- ListViewItemSelectionChangedEvent.cs
- EdmType.cs
- OracleTimeSpan.cs
- StylusPointProperty.cs
- VersionedStream.cs
- WindowsToolbarAsMenu.cs
- PageContent.cs
- HtmlPageAdapter.cs
- XmlByteStreamReader.cs
- CodeNamespace.cs
- RoutedCommand.cs
- MemoryFailPoint.cs
- DataGridPagerStyle.cs
- ErrorStyle.cs
- SemanticResultKey.cs
- propertytag.cs
- RequestCacheValidator.cs
- RangeValidator.cs
- LinqDataSourceSelectEventArgs.cs
- OletxVolatileEnlistment.cs
- ConstructorNeedsTagAttribute.cs
- SqlNodeAnnotations.cs
- InlineUIContainer.cs