C# Class WinRTXamlToolkit.Controls.FxContentControl

TODO: Control that applies shader effects to its content.
Inheritance: Windows.UI.Xaml.Controls.ContentControl
Mostrar archivo Open project: xyzzer/WinRTXamlToolkit

Public Methods

Method Description
FxContentControl ( ) : System

Initializes a new instance of the FxContentControl class,

UpdateFxAsync ( ) : System.Threading.Tasks.Task

Updates the effects asynchronously.

Protected Methods

Method Description
OnApplyTemplate ( ) : void

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.

Private Methods

Method Description
OnBackgroundFxChanged ( CpuShaderEffect oldBackgroundFx, CpuShaderEffect newBackgroundFx ) : void

Provides derived classes an opportunity to handle changes to the BackgroundFx property.

OnBackgroundFxChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the BackgroundFx property.

OnContentPresenterSizeChanged ( object sender, SizeChangedEventArgs sizeChangedEventArgs ) : void
OnForegroundFxChanged ( CpuShaderEffect oldForegroundFx, CpuShaderEffect newForegroundFx ) : void

Provides derived classes an opportunity to handle changes to the ForegroundFx property.

OnForegroundFxChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ForegroundFx property.

OnProcessBackgroundImageAsync ( RenderTargetBitmap rtb, WriteableBitmap wb, int pw, int ph ) : System.Threading.Tasks.Task
ProcessForegroundImageAsync ( RenderTargetBitmap rtb, WriteableBitmap wb, int pw, int ph ) : System.Threading.Tasks.Task
UpdateBackgroundFxAsync ( RenderTargetBitmap rtb ) : System.Threading.Tasks.Task
UpdateForegroundFxAsync ( RenderTargetBitmap rtb ) : System.Threading.Tasks.Task

Method Details

FxContentControl() public method

Initializes a new instance of the FxContentControl class,
public FxContentControl ( ) : System
return System

OnApplyTemplate() protected method

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.
protected OnApplyTemplate ( ) : void
return void

UpdateFxAsync() public method

Updates the effects asynchronously.
public UpdateFxAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task