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
- ClosableStream.cs
- CompilerError.cs
- URI.cs
- SqlClientPermission.cs
- CollectionViewGroup.cs
- SqlConnectionPoolProviderInfo.cs
- SetIndexBinder.cs
- FileSystemWatcher.cs
- TaskSchedulerException.cs
- CssTextWriter.cs
- SafeFileMappingHandle.cs
- MarshalDirectiveException.cs
- ServiceDiscoveryElement.cs
- Helper.cs
- SiteMapPathDesigner.cs
- RoutedEventValueSerializer.cs
- PropertyValue.cs
- TextDecoration.cs
- Executor.cs
- FlowDocumentScrollViewer.cs
- COM2Properties.cs
- TemplateInstanceAttribute.cs
- EventRouteFactory.cs
- KnownTypesHelper.cs
- DesignTimeTemplateParser.cs
- DiscoveryMessageSequence11.cs
- RegexCapture.cs
- SqlBinder.cs
- SerializationObjectManager.cs
- SafeThemeHandle.cs
- FormsAuthenticationEventArgs.cs
- ObjectConverter.cs
- Win32Exception.cs
- FunctionGenerator.cs
- PhysicalOps.cs
- IRCollection.cs
- Dictionary.cs
- KeyFrames.cs
- StringComparer.cs
- DataService.cs
- BufferedWebEventProvider.cs
- HtmlTable.cs
- CodeExporter.cs
- IndexerNameAttribute.cs
- DataGridViewSortCompareEventArgs.cs
- Span.cs
- HtmlTableRow.cs
- InteropDesigner.xaml.cs
- WindowsFormsSynchronizationContext.cs
- UIElement3D.cs
- SqlDataSourceView.cs
- DbDeleteCommandTree.cs
- EventHandlersStore.cs
- TemplateBindingExpressionConverter.cs
- LogRecordSequence.cs
- _NegotiateClient.cs
- BlurBitmapEffect.cs
- ClaimComparer.cs
- SystemPens.cs
- externdll.cs
- DataKeyCollection.cs
- Directory.cs
- DataGrid.cs
- XmlArrayItemAttributes.cs
- Shape.cs
- FloaterParagraph.cs
- WindowsPen.cs
- WinFormsComponentEditor.cs
- SettingsProviderCollection.cs
- MatrixKeyFrameCollection.cs
- InkSerializer.cs
- PageStatePersister.cs
- SQLInt16Storage.cs
- HMAC.cs
- Condition.cs
- SqlDataSourceEnumerator.cs
- DispatchWrapper.cs
- ParameterInfo.cs
- ResXFileRef.cs
- GZipDecoder.cs
- MetadataArtifactLoader.cs
- SimpleTextLine.cs
- EnumUnknown.cs
- CommandValueSerializer.cs
- DeviceSpecific.cs
- NameTable.cs
- XmlMessageFormatter.cs
- HashAlgorithm.cs
- Popup.cs
- DataView.cs
- TdsParameterSetter.cs
- ToolStripContentPanelRenderEventArgs.cs
- assertwrapper.cs
- OverflowException.cs
- PtsHost.cs
- StringDictionaryEditor.cs
- RelationshipFixer.cs
- figurelengthconverter.cs
- ConfigurationStrings.cs
- MetaModel.cs