IUpdateVisualState.cs 1.0 KB

123456789101112131415161718192021222324252627
  1. // (c) Copyright Microsoft Corporation.
  2. // This source is subject to the Microsoft Public License (Ms-PL).
  3. // Please see http://go.microsoft.com/fwlink/?LinkID=131993] for details.
  4. // All other rights reserved.
  5. using System;
  6. using System.Diagnostics.CodeAnalysis;
  7. namespace System.Windows.Controls
  8. {
  9. /// <summary>
  10. /// The IUpdateVisualState interface is used to provide the
  11. /// InteractionHelper with access to the type's UpdateVisualState method.
  12. /// </summary>
  13. [SuppressMessage("Microsoft.Design", "CA1064:ExceptionsShouldBePublic", Justification = "This is not an exception class.")]
  14. internal interface IUpdateVisualState
  15. {
  16. /// <summary>
  17. /// Update the visual state of the control.
  18. /// </summary>
  19. /// <param name="useTransitions">
  20. /// A value indicating whether to automatically generate transitions to
  21. /// the new state, or instantly transition to the new state.
  22. /// </param>
  23. void UpdateVisualState(bool useTransitions);
  24. }
  25. }