C# Class FarsiLibrary.WPF.Controls.Decorators.SystemDropShadowChrome

Inheritance: System.Windows.Controls.Decorator
Show file Open project: HEskandari/FarsiLibrary

Public Properties

Property Type Description
ColorProperty System.Windows.DependencyProperty
CornerRadiusProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
ClearBrushes void
CreateBrushes System.Windows.Media.Brush[]
CreateFrozenBrush System.Windows.Media.LinearGradientBrush
CreateFrozenBrush System.Windows.Media.RadialGradientBrush
CreateFrozenBrush System.Windows.Media.SolidColorBrush
CreateStops GradientStopCollection
GetBrushes System.Windows.Media.Brush[]
IsCornerRadiusValid bool

Protected Methods

Method Description
OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void

Private Methods

Method Description
ClearBrushes ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
CreateBrushes ( Color c, System.Windows.CornerRadius cornerRadius ) : System.Windows.Media.Brush[]
CreateFrozenBrush ( GradientStopCollection stops, Point start, Point end ) : System.Windows.Media.LinearGradientBrush
CreateFrozenBrush ( GradientStopCollection stops, double radX, double radY, Point center, Point origin ) : System.Windows.Media.RadialGradientBrush
CreateFrozenBrush ( Color color ) : SolidColorBrush
CreateStops ( Color c, double cornerRadius ) : GradientStopCollection
GetBrushes ( Color c, System.Windows.CornerRadius cornerRadius ) : System.Windows.Media.Brush[]
IsCornerRadiusValid ( object value ) : bool

Method Details

OnRender() protected method

protected OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void
drawingContext System.Windows.Media.DrawingContext
return void

Property Details

ColorProperty public static property

public static DependencyProperty,System.Windows ColorProperty
return System.Windows.DependencyProperty

CornerRadiusProperty public static property

public static DependencyProperty,System.Windows CornerRadiusProperty
return System.Windows.DependencyProperty