CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
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. More...
 

Static Public Attributes

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

Properties

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

Detailed Description

Displays a busy animation.

Definition at line 39 of file Csla.Xaml.Shared/BusyAnimation.cs.

Constructor & Destructor Documentation

◆ BusyAnimation()

Csla.Xaml.BusyAnimation.BusyAnimation ( )

Creates an instance of the control.

Definition at line 127 of file Csla.Xaml.Shared/BusyAnimation.cs.

Member Data Documentation

◆ IsRunningProperty

readonly DependencyProperty Csla.Xaml.BusyAnimation.IsRunningProperty
static
Initial value:
= DependencyProperty.Register(
"IsRunning",
typeof(bool),
typeof(BusyAnimation),
new PropertyMetadata((o, e) => ((BusyAnimation)o).SetupRunningState((bool)e.NewValue)))
BusyAnimation()
Creates an instance of the control.

IsRunning property to control whether the animation is running.

Definition at line 73 of file Csla.Xaml.Shared/BusyAnimation.cs.

◆ StepIntervalProperty

readonly DependencyProperty Csla.Xaml.BusyAnimation.StepIntervalProperty
static
Initial value:
= DependencyProperty.Register(
"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;
}))

StepInterval property to control speed of animation.

Definition at line 55 of file Csla.Xaml.Shared/BusyAnimation.cs.

Property Documentation

◆ IsRunning

bool Csla.Xaml.BusyAnimation.IsRunning
getset

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

Definition at line 98 of file Csla.Xaml.Shared/BusyAnimation.cs.

◆ StepInterval

TimeSpan Csla.Xaml.BusyAnimation.StepInterval
getset

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

Definition at line 84 of file Csla.Xaml.Shared/BusyAnimation.cs.