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
- Membership.cs
- Effect.cs
- PerformanceCounterCategory.cs
- PackageRelationshipCollection.cs
- RoleService.cs
- BaseDataBoundControl.cs
- OdbcConnectionString.cs
- SizeConverter.cs
- FamilyTypefaceCollection.cs
- EncodingInfo.cs
- DesignBindingPropertyDescriptor.cs
- Validator.cs
- Separator.cs
- FormsIdentity.cs
- GroupBox.cs
- MetadataUtilsSmi.cs
- Sequence.cs
- NativeMethods.cs
- SamlAuthorityBinding.cs
- EventSourceCreationData.cs
- DecoderReplacementFallback.cs
- IpcPort.cs
- XmlSchemaInferenceException.cs
- CustomErrorsSectionWrapper.cs
- _HelperAsyncResults.cs
- SRDisplayNameAttribute.cs
- SapiRecognizer.cs
- DiagnosticSection.cs
- FixedPageStructure.cs
- ValidationSummary.cs
- StylusPointDescription.cs
- TraceLevelStore.cs
- LocalsItemDescription.cs
- DelayLoadType.cs
- JpegBitmapDecoder.cs
- PrimaryKeyTypeConverter.cs
- LiteralControl.cs
- x509store.cs
- Helper.cs
- DataStorage.cs
- BitmapEffectInput.cs
- MD5CryptoServiceProvider.cs
- RtType.cs
- SecuritySessionFilter.cs
- XPathDocumentIterator.cs
- cryptoapiTransform.cs
- ContentElement.cs
- DataGridTextBoxColumn.cs
- TransactionManager.cs
- PeerApplicationLaunchInfo.cs
- ToolStripContentPanel.cs
- XmlDocumentSerializer.cs
- CustomAssemblyResolver.cs
- DriveInfo.cs
- DebugController.cs
- MembershipValidatePasswordEventArgs.cs
- FormatterServicesNoSerializableCheck.cs
- CompiledQuery.cs
- Choices.cs
- SamlSubjectStatement.cs
- ExecutionScope.cs
- PrinterUnitConvert.cs
- PolyBezierSegment.cs
- Monitor.cs
- Journal.cs
- WsdlInspector.cs
- ConditionalAttribute.cs
- CompositeFontFamily.cs
- XmlSchemaAnnotation.cs
- WindowsRichEdit.cs
- TrackingValidationObjectDictionary.cs
- _UncName.cs
- SrgsGrammarCompiler.cs
- Odbc32.cs
- SecurityRuntime.cs
- HighContrastHelper.cs
- ItemsPanelTemplate.cs
- AnonymousIdentificationSection.cs
- ArrayItemReference.cs
- StylusShape.cs
- SolidBrush.cs
- Sentence.cs
- AstTree.cs
- Soap.cs
- EdmComplexTypeAttribute.cs
- DataGridViewDataErrorEventArgs.cs
- MetaTable.cs
- WebServiceParameterData.cs
- OutputBuffer.cs
- Splitter.cs
- AttachedProperty.cs
- AliasExpr.cs
- Transform3D.cs
- BitmapEffectInputData.cs
- CollectionViewGroupInternal.cs
- DefaultTextStoreTextComposition.cs
- RijndaelManagedTransform.cs
- ErrorRuntimeConfig.cs
- BitmapEffectDrawingContextWalker.cs
- ElasticEase.cs