C# Class AcManager.Controls.Helpers.FancyBackgroundManager

Inheritance: FirstFloor.ModernUI.Presentation.NotifyPropertyChanged
显示文件 Open project: gro-ove/actools Class Usage Examples

Public Methods

Method Description
AddListener ( IFancyBackgroundListener listener ) : void
ChangeBackground ( [ filename ) : void
Initialize ( ) : FancyBackgroundManager
RemoveListener ( IFancyBackgroundListener listener ) : void
UpdateBackground ( FrameworkElement anyElement, object &backgroundContent ) : void

Private Methods

Method Description
Dispatch ( ) : void
FancyBackgroundManager ( ) : System
Timer_Tick ( object sender, EventArgs e ) : void
UpdateBackgroundLater ( IFancyBackgroundListener listener ) : System.Threading.Tasks.Task

Method Details

AddListener() public method

public AddListener ( IFancyBackgroundListener listener ) : void
listener IFancyBackgroundListener
return void

ChangeBackground() public method

public ChangeBackground ( [ filename ) : void
filename [
return void

Initialize() public static method

public static Initialize ( ) : FancyBackgroundManager
return FancyBackgroundManager

RemoveListener() public method

public RemoveListener ( IFancyBackgroundListener listener ) : void
listener IFancyBackgroundListener
return void

UpdateBackground() public static method

public static UpdateBackground ( FrameworkElement anyElement, object &backgroundContent ) : void
anyElement System.Windows.FrameworkElement
backgroundContent object
return void