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
- CalendarButtonAutomationPeer.cs
- ReaderWriterLock.cs
- TypeConverterHelper.cs
- DesignerActionVerbList.cs
- BatchParser.cs
- DbConnectionPool.cs
- NativeMethods.cs
- Slider.cs
- BindToObject.cs
- SqlClientPermission.cs
- ConfigUtil.cs
- CollectionsUtil.cs
- SoapSchemaExporter.cs
- DynamicDataRoute.cs
- StyleModeStack.cs
- GenerateHelper.cs
- EFDataModelProvider.cs
- ListViewDataItem.cs
- SerialStream.cs
- TailCallAnalyzer.cs
- ProtocolsConfigurationHandler.cs
- Keyboard.cs
- XmlSiteMapProvider.cs
- COM2Enum.cs
- GlyphsSerializer.cs
- ChildTable.cs
- TypeConverterHelper.cs
- HatchBrush.cs
- DataGridToolTip.cs
- BamlTreeUpdater.cs
- Model3DGroup.cs
- TypeDescriptionProvider.cs
- ReliableOutputConnection.cs
- RelationshipType.cs
- ObsoleteAttribute.cs
- XmlUtf8RawTextWriter.cs
- QueryableFilterUserControl.cs
- Hash.cs
- AutoScrollHelper.cs
- StorageAssociationSetMapping.cs
- FilterException.cs
- Sql8ConformanceChecker.cs
- bindurihelper.cs
- PenThreadPool.cs
- DSACryptoServiceProvider.cs
- ListBox.cs
- Soap12FormatExtensions.cs
- HttpCookie.cs
- UnsafeNativeMethods.cs
- webeventbuffer.cs
- TextPointerBase.cs
- BooleanAnimationBase.cs
- TemplateBindingExtensionConverter.cs
- Transform.cs
- OutputCacheProfileCollection.cs
- Rotation3DAnimationBase.cs
- DataObject.cs
- mansign.cs
- COM2Properties.cs
- Oci.cs
- StorageEndPropertyMapping.cs
- WebPartMinimizeVerb.cs
- PointF.cs
- DefaultSection.cs
- XmlNodeChangedEventArgs.cs
- DependencyObjectProvider.cs
- AttributeUsageAttribute.cs
- SoapExtensionStream.cs
- PageTheme.cs
- AttachedAnnotationChangedEventArgs.cs
- HttpRawResponse.cs
- TextTreeUndoUnit.cs
- WmlPanelAdapter.cs
- KeyConverter.cs
- CodeIndexerExpression.cs
- StdValidatorsAndConverters.cs
- StatusBarPanel.cs
- CubicEase.cs
- TextSpan.cs
- ErrorFormatter.cs
- PageTextBox.cs
- XMLUtil.cs
- SiteIdentityPermission.cs
- XhtmlBasicObjectListAdapter.cs
- PackageStore.cs
- Predicate.cs
- TableProviderWrapper.cs
- SelectionRange.cs
- Config.cs
- MsdtcClusterUtils.cs
- ArrayTypeMismatchException.cs
- SoapAttributeOverrides.cs
- WindowsScrollBarBits.cs
- DataSourceHelper.cs
- BitmapCodecInfoInternal.cs
- BooleanAnimationUsingKeyFrames.cs
- EventSourceCreationData.cs
- AccessKeyManager.cs
- BamlLocalizer.cs
- WebBrowserContainer.cs