Show / Hide Table of Contents

Class FadeTransition

Fade transition.

Inheritance
System.Object
FadeTransition
FadeInTransition
FadeOutTransition
Implements
ITransition
Namespace: GraphShape.Controls
Assembly: GraphShape.Controls.dll
Syntax
public class FadeTransition : object, ITransition

Constructors

| Improve this Doc View Source

FadeTransition(Double, Double)

Initializes a new instance of the FadeTransition class.

Declaration
public FadeTransition(double startOpacity, double endOpacity)
Parameters
Type Name Description
System.Double startOpacity

Starting opacity value.

System.Double endOpacity

Ending opacity value.

| Improve this Doc View Source

FadeTransition(Double, Double, Int32)

Initializes a new instance of the FadeTransition class.

Declaration
public FadeTransition(double startOpacity, double endOpacity, int rounds)
Parameters
Type Name Description
System.Double startOpacity

Starting opacity value.

System.Double endOpacity

Ending opacity value.

System.Int32 rounds

Number of transition rounds.

Methods

| Improve this Doc View Source

Run(IAnimationContext, Control, TimeSpan, Action<Control>)

Runs the transition.

Declaration
public void Run(IAnimationContext context, Control control, TimeSpan duration, Action<Control> endAction)
Parameters
Type Name Description
IAnimationContext context

The context of the transition.

Control control

The control which the transition should be run on.

TimeSpan duration

The duration of the transition.

Action<Control> endAction

The method that should be called when the transition finished.

Implements

ITransition

Extension Methods

GraphHelpers.GetDistances<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph, out Double[,])
  • Improve this Doc
  • View Source
In This Article
Back to top GraphShape