Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / VisualStateChangedEventArgs.cs / 1305600 / VisualStateChangedEventArgs.cs
// -------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All Rights Reserved. // ------------------------------------------------------------------- using System.Windows.Controls; namespace System.Windows { ////// EventArgs for VisualStateGroup.CurrentStateChanging and CurrentStateChanged events. /// ////// This class works on Framework elements, however we call the property 'Control' for name-compat with what SL already released. /// public sealed class VisualStateChangedEventArgs : EventArgs { internal VisualStateChangedEventArgs(VisualState oldState, VisualState newState, FrameworkElement control, FrameworkElement stateGroupsRoot) { _oldState = oldState; _newState = newState; _control = control; _stateGroupsRoot = stateGroupsRoot; } ////// The old state the control is transitioning from /// public VisualState OldState { get { return _oldState; } } ////// The new state the control is transitioning to /// public VisualState NewState { get { return _newState; } } ////// The control involved in the state change /// public FrameworkElement Control { get { return _control; } } ////// The element that contained the VisualStateGroups and/or custom VSM /// public FrameworkElement StateGroupsRoot { get { return _stateGroupsRoot; } } private VisualState _oldState; private VisualState _newState; private FrameworkElement _control; private FrameworkElement _stateGroupsRoot; } } // 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
- PreDigestedSignedInfo.cs
- AssociationSet.cs
- VectorConverter.cs
- MessagePartProtectionMode.cs
- CalendarItem.cs
- NetworkInformationException.cs
- XmlDomTextWriter.cs
- FunctionImportElement.cs
- ObjectMemberMapping.cs
- XmlNodeWriter.cs
- ImagingCache.cs
- AuthenticationServiceManager.cs
- SecurityDocument.cs
- KeySpline.cs
- XLinq.cs
- AuthenticationConfig.cs
- InfiniteTimeSpanConverter.cs
- DebuggerAttributes.cs
- WebConfigurationHost.cs
- WindowsFormsHostAutomationPeer.cs
- MetabaseServerConfig.cs
- Style.cs
- AdapterUtil.cs
- ListViewItem.cs
- DesignBindingPropertyDescriptor.cs
- ZipPackagePart.cs
- InternalConfigEventArgs.cs
- HttpProfileBase.cs
- CustomAttribute.cs
- WindowsAuthenticationEventArgs.cs
- WindowsToolbarAsMenu.cs
- ToolBarOverflowPanel.cs
- Brush.cs
- ConfigXmlDocument.cs
- LocalizedNameDescriptionPair.cs
- ParamArrayAttribute.cs
- ServiceAuthorizationManager.cs
- PassportIdentity.cs
- HierarchicalDataBoundControl.cs
- WindowsComboBox.cs
- SqlDataSourceDesigner.cs
- SystemIPv6InterfaceProperties.cs
- PingOptions.cs
- PeerTransportListenAddressValidator.cs
- RelationshipWrapper.cs
- GlyphRunDrawing.cs
- ForeignKeyConstraint.cs
- AsnEncodedData.cs
- DbConnectionStringBuilder.cs
- _CacheStreams.cs
- DataGridViewBand.cs
- XPathChildIterator.cs
- PagePropertiesChangingEventArgs.cs
- ActivityExecutor.cs
- CodeGenerationManager.cs
- SqlBulkCopyColumnMappingCollection.cs
- PublisherMembershipCondition.cs
- FloaterParagraph.cs
- StringToken.cs
- BitmapSource.cs
- QilInvoke.cs
- IdentitySection.cs
- Calendar.cs
- LabelEditEvent.cs
- ThreadAttributes.cs
- DefaultHttpHandler.cs
- XsdBuilder.cs
- TextFormatterImp.cs
- ValueQuery.cs
- OperationCanceledException.cs
- ControlLocalizer.cs
- XamlInt32CollectionSerializer.cs
- MemberDomainMap.cs
- ViewManager.cs
- SqlNodeTypeOperators.cs
- ConcurrencyBehavior.cs
- SerializerProvider.cs
- IndexOutOfRangeException.cs
- NativeRecognizer.cs
- ProgressBarRenderer.cs
- UrlParameterReader.cs
- OutputCacheProfileCollection.cs
- CultureSpecificStringDictionary.cs
- Debug.cs
- SR.cs
- TableProviderWrapper.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- SimpleHandlerBuildProvider.cs
- RemotingServices.cs
- ReflectionTypeLoadException.cs
- SecurityException.cs
- ListBoxItemAutomationPeer.cs
- RecordConverter.cs
- ClientTarget.cs
- EventLog.cs
- safesecurityhelperavalon.cs
- ComponentChangedEvent.cs
- SafeRightsManagementEnvironmentHandle.cs
- ContainerFilterService.cs
- SmiContext.cs