C# Class XP.Shadow

Inheritance: Windows.UI.Xaml.Controls.ContentControl
Exibir arquivo Open project: brookshi/XPShadow

Public Properties

Property Type Description
CornerRadiusProperty Windows.UI.Xaml.DependencyProperty
Z_DepthProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
Shadow ( ) : System

Protected Methods

Method Description
OnApplyTemplate ( ) : void

Private Methods

Method Description
CreateEffects ( List shadowParams, CanvasCommandList canvasCommandList ) : CompositeEffect
CreateShadowEffect ( IGraphicsEffectSource source, ShadowParam param ) : Transform2DEffect
DrawEffect ( Microsoft.Graphics.Canvas.CanvasDrawingSession drawSession, CompositeEffect compositeEffect, double shadowWidth, double shadowHeight ) : void
DrawShadow ( CanvasControl canvasCtrl, Microsoft.Graphics.Canvas.CanvasDrawingSession drawSession, List shadowParams ) : void
GetActualCornerRadius ( double length ) : float
OnDraw ( CanvasControl sender, CanvasDrawEventArgs args ) : void
Shadow_SizeChanged ( object sender, SizeChangedEventArgs e ) : void
Shadow_Unloaded ( object sender, RoutedEventArgs e ) : void
UpdateLayout ( double maxOffset_Y, Rect bound, double shadowWidth, double shadowHeight ) : void

Method Details

OnApplyTemplate() protected method

protected OnApplyTemplate ( ) : void
return void

Shadow() public method

public Shadow ( ) : System
return System

Property Details

CornerRadiusProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml CornerRadiusProperty
return Windows.UI.Xaml.DependencyProperty

Z_DepthProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml Z_DepthProperty
return Windows.UI.Xaml.DependencyProperty