CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Xaml.BusyAnimation Class Reference

Displays a busy animation. More...

Inheritance diagram for Csla.Xaml.BusyAnimation:

Public Member Functions

 BusyAnimation ()
 Creates an instance of the control.

Static Public Attributes

static readonly DependencyProperty StepIntervalProperty
 StepInterval property to control speed of animation.
static readonly DependencyProperty IsRunningProperty
 IsRunning property to control whether the animation is running.

Properties

TimeSpan StepInterval [get, set]
 Gets or sets a property controlling the speed of the animation.
bool IsRunning [get, set]
 Gets or sets a property controlling whether the animation is running.

Detailed Description

Displays a busy animation.

Constructor & Destructor Documentation

◆ BusyAnimation()

Csla.Xaml.BusyAnimation.BusyAnimation ( )
inline

Creates an instance of the control.

Member Data Documentation

◆ IsRunningProperty

readonly DependencyProperty Csla.Xaml.BusyAnimation.IsRunningProperty
static
Initial value:
= DependencyProperty.Register(
nameof(IsRunning),
typeof(bool),
typeof(BusyAnimation),
new PropertyMetadata((o, e) => ((BusyAnimation)o).SetupRunningState((bool)e.NewValue)))
bool IsRunning
Gets or sets a property controlling whether the animation is running.
Definition BusyAnimation.cs:94
BusyAnimation()
Creates an instance of the control.
Definition BusyAnimation.cs:116

IsRunning property to control whether the animation is running.

◆ StepIntervalProperty

readonly DependencyProperty Csla.Xaml.BusyAnimation.StepIntervalProperty
static
Initial value:
= DependencyProperty.Register(
nameof(StepInterval),
typeof(TimeSpan),
typeof(BusyAnimation),
new PropertyMetadata(
TimeSpan.FromMilliseconds(100),
(o, e) =>
{
var busyAnimation = (BusyAnimation)o;
busyAnimation.StepInterval = (TimeSpan)e.NewValue;
if (busyAnimation._timer != null)
busyAnimation._timer.Interval = busyAnimation.StepInterval;
}))
TimeSpan StepInterval
Gets or sets a property controlling the speed of the animation.
Definition BusyAnimation.cs:83

StepInterval property to control speed of animation.

Property Documentation

◆ IsRunning

bool Csla.Xaml.BusyAnimation.IsRunning
getset

Gets or sets a property controlling whether the animation is running.

◆ StepInterval

TimeSpan Csla.Xaml.BusyAnimation.StepInterval
getset

Gets or sets a property controlling the speed of the animation.


The documentation for this class was generated from the following file: