Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DayRenderEvent.cs
- SplitContainer.cs
- NavigationPropertyEmitter.cs
- CodeCatchClause.cs
- MetadataProperty.cs
- CornerRadiusConverter.cs
- DesignerOptionService.cs
- DescendantQuery.cs
- MexServiceChannelBuilder.cs
- QilName.cs
- RepeaterItemCollection.cs
- ElementAction.cs
- DataGridViewAutoSizeModeEventArgs.cs
- NoClickablePointException.cs
- XmlArrayItemAttributes.cs
- XmlAnyAttributeAttribute.cs
- MessageBox.cs
- DetailsViewRow.cs
- DataGridPageChangedEventArgs.cs
- _DynamicWinsockMethods.cs
- HwndSource.cs
- InstanceKey.cs
- HttpErrorTraceRecord.cs
- RemoteWebConfigurationHostServer.cs
- BehaviorEditorPart.cs
- SqlDataSourceCommandEventArgs.cs
- DocumentPageView.cs
- EventItfInfo.cs
- RubberbandSelector.cs
- OperandQuery.cs
- ScrollBar.cs
- FormatException.cs
- AnonymousIdentificationSection.cs
- Int16Converter.cs
- CngAlgorithm.cs
- HtmlInputCheckBox.cs
- GetWorkflowTree.cs
- PinnedBufferMemoryStream.cs
- StrokeNode.cs
- ToolboxBitmapAttribute.cs
- TextEncodedRawTextWriter.cs
- AppSecurityManager.cs
- URLString.cs
- ComponentChangedEvent.cs
- BamlCollectionHolder.cs
- ManagementObjectSearcher.cs
- LogicalExpr.cs
- XsltLibrary.cs
- ObjectView.cs
- ZoneMembershipCondition.cs
- WebControl.cs
- XmlObjectSerializerReadContextComplex.cs
- M3DUtil.cs
- EntityUtil.cs
- RectAnimationClockResource.cs
- DataBindingsDialog.cs
- TraceListeners.cs
- NetTcpSecurity.cs
- ModuleConfigurationInfo.cs
- DateTimeParse.cs
- DataGridCellItemAutomationPeer.cs
- UniqueID.cs
- X509Utils.cs
- TypeSystem.cs
- CodeDOMUtility.cs
- _SpnDictionary.cs
- SqlDependencyListener.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- TranslateTransform.cs
- ProfileSection.cs
- IApplicationTrustManager.cs
- RootBuilder.cs
- TextChangedEventArgs.cs
- HttpHandler.cs
- SetIterators.cs
- TreeViewCancelEvent.cs
- Cloud.cs
- DesignerVerb.cs
- InsufficientMemoryException.cs
- CacheDependency.cs
- ExpandCollapseProviderWrapper.cs
- MouseWheelEventArgs.cs
- WorkflowCreationContext.cs
- WebBrowserHelper.cs
- Polygon.cs
- Model3DGroup.cs
- DesignerDeviceConfig.cs
- DataObject.cs
- WorkflowPageSetupDialog.cs
- Soap.cs
- SafeCryptHandles.cs
- ManagedFilter.cs
- DynamicEntity.cs
- _AcceptOverlappedAsyncResult.cs
- MultipartIdentifier.cs
- WebPartHeaderCloseVerb.cs
- PropertyTabChangedEvent.cs
- ChangeConflicts.cs
- ClientSession.cs
- XXXInfos.cs