Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / VisualState.cs / 1305600 / VisualState.cs
// -------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All Rights Reserved. // ------------------------------------------------------------------- using System.Windows; using System.Windows.Markup; using System.Windows.Media.Animation; namespace System.Windows { ////// A visual state that can be transitioned into. /// [ContentProperty("Storyboard")] [RuntimeNameProperty("Name")] public class VisualState : DependencyObject { ////// The name of the VisualState. /// public string Name { get; set; } private static readonly DependencyProperty StoryboardProperty = DependencyProperty.Register( "Storyboard", typeof(Storyboard), typeof(VisualState)); ////// Storyboard defining the values of properties in this visual state. /// public Storyboard Storyboard { get { return (Storyboard)GetValue(StoryboardProperty); } set { SetValue(StoryboardProperty, value); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. // -------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All Rights Reserved. // ------------------------------------------------------------------- using System.Windows; using System.Windows.Markup; using System.Windows.Media.Animation; namespace System.Windows { ////// A visual state that can be transitioned into. /// [ContentProperty("Storyboard")] [RuntimeNameProperty("Name")] public class VisualState : DependencyObject { ////// The name of the VisualState. /// public string Name { get; set; } private static readonly DependencyProperty StoryboardProperty = DependencyProperty.Register( "Storyboard", typeof(Storyboard), typeof(VisualState)); ////// Storyboard defining the values of properties in this visual state. /// public Storyboard Storyboard { get { return (Storyboard)GetValue(StoryboardProperty); } set { SetValue(StoryboardProperty, value); } } } } // 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
- LogFlushAsyncResult.cs
- RightsManagementInformation.cs
- PinnedBufferMemoryStream.cs
- SecondaryIndexList.cs
- RoleManagerSection.cs
- ParentUndoUnit.cs
- ErrorStyle.cs
- ManagementScope.cs
- TableRow.cs
- StrokeDescriptor.cs
- ResourceExpression.cs
- DateTime.cs
- TypedMessageConverter.cs
- OutputCacheModule.cs
- FunctionQuery.cs
- Visual3D.cs
- SmiEventSink_DeferedProcessing.cs
- HeaderPanel.cs
- XPathAxisIterator.cs
- EntityDataSourceSelectingEventArgs.cs
- StrokeCollection2.cs
- ColorConvertedBitmapExtension.cs
- InvokeProviderWrapper.cs
- SiteMapDataSource.cs
- DataView.cs
- DashStyles.cs
- PowerModeChangedEventArgs.cs
- MappingMetadataHelper.cs
- Activity.cs
- RoleManagerSection.cs
- DesignerRegion.cs
- SpnEndpointIdentity.cs
- XPathBinder.cs
- ProgressBar.cs
- InstanceDataCollection.cs
- IPEndPointCollection.cs
- HttpModuleCollection.cs
- JournalEntry.cs
- ScriptControlManager.cs
- RegionData.cs
- AbandonedMutexException.cs
- OleServicesContext.cs
- ConfigXmlAttribute.cs
- QueryParameter.cs
- ModifierKeysConverter.cs
- MembershipAdapter.cs
- AttachedPropertyBrowsableAttribute.cs
- FontFamilyConverter.cs
- HtmlTableCellCollection.cs
- XmlComplianceUtil.cs
- XmlDocumentType.cs
- HTTPNotFoundHandler.cs
- GeometryHitTestResult.cs
- WebBrowserEvent.cs
- AssemblyCache.cs
- TextBoxBase.cs
- ElapsedEventArgs.cs
- TextTreeDeleteContentUndoUnit.cs
- _NegoState.cs
- TextRangeEditLists.cs
- DataPagerFieldCommandEventArgs.cs
- ExpanderAutomationPeer.cs
- TextAdaptor.cs
- XmlCDATASection.cs
- ContainerActivationHelper.cs
- SafeUserTokenHandle.cs
- GlobalizationAssembly.cs
- WebRequestModulesSection.cs
- HandlerFactoryCache.cs
- WebControl.cs
- NetTcpSectionData.cs
- DbConnectionPoolGroup.cs
- FontConverter.cs
- mediaclock.cs
- RouteParameter.cs
- XmlNode.cs
- Point.cs
- SafeNativeMemoryHandle.cs
- XmlNamespaceDeclarationsAttribute.cs
- ItemDragEvent.cs
- ListenerChannelContext.cs
- HtmlTableCellCollection.cs
- PathSegmentCollection.cs
- EncodingTable.cs
- SetUserLanguageRequest.cs
- ProgressBarRenderer.cs
- COM2ColorConverter.cs
- CodeBlockBuilder.cs
- util.cs
- WebPartConnectionsCancelVerb.cs
- GorillaCodec.cs
- StateChangeEvent.cs
- PasswordPropertyTextAttribute.cs
- SingleTagSectionHandler.cs
- PriorityQueue.cs
- Sql8ExpressionRewriter.cs
- DoubleAnimationClockResource.cs
- Util.cs
- DataGridViewColumnDesigner.cs
- GridViewDeleteEventArgs.cs