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

Inheritance: ButtonChrome
Mostrar archivo Open project: HEskandari/FarsiLibrary

Public Properties

Property Type Description
FillProperty System.Windows.DependencyProperty
ThemeColorProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
CreateCommonBorderPen System.Windows.Media.Brush
GetDisabledBorderBrush System.Windows.Media.Pen
GetDisabledFillBrush System.Windows.Media.Brush
GetPressedFillBrush System.Windows.Media.Brush
IsValidThemeColor bool

Protected Methods

Method Description
DrawBackgroundCore ( System.Windows.Media.DrawingContext dc, Rect bounds ) : bool
DrawBorder ( System.Windows.Media.DrawingContext dc, Rect bounds ) : void
DrawInnerHighlight ( System.Windows.Media.DrawingContext dc, Rect bounds ) : void
DrawOuterHighlight ( System.Windows.Media.DrawingContext dc, Rect bounds ) : bool
DrawShades ( System.Windows.Media.DrawingContext dc, Rect bounds ) : void
OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void

Private Methods

Method Description
CreateCommonBorderPen ( System.Windows.Media.Brush borderBrush ) : System.Windows.Media.Brush
GetDisabledBorderBrush ( ) : System.Windows.Media.Pen
GetDisabledFillBrush ( ) : System.Windows.Media.Brush
GetPressedFillBrush ( ) : System.Windows.Media.Brush
IsValidThemeColor ( object o ) : bool

Method Details

DrawBackgroundCore() protected method

protected DrawBackgroundCore ( System.Windows.Media.DrawingContext dc, Rect bounds ) : bool
dc System.Windows.Media.DrawingContext
bounds System.Windows.Rect
return bool

DrawBorder() protected method

protected DrawBorder ( System.Windows.Media.DrawingContext dc, Rect bounds ) : void
dc System.Windows.Media.DrawingContext
bounds System.Windows.Rect
return void

DrawInnerHighlight() protected method

protected DrawInnerHighlight ( System.Windows.Media.DrawingContext dc, Rect bounds ) : void
dc System.Windows.Media.DrawingContext
bounds System.Windows.Rect
return void

DrawOuterHighlight() protected method

protected DrawOuterHighlight ( System.Windows.Media.DrawingContext dc, Rect bounds ) : bool
dc System.Windows.Media.DrawingContext
bounds System.Windows.Rect
return bool

DrawShades() protected method

protected DrawShades ( System.Windows.Media.DrawingContext dc, Rect bounds ) : void
dc System.Windows.Media.DrawingContext
bounds System.Windows.Rect
return void

OnRender() protected method

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

Property Details

FillProperty public_oe static_oe property

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

ThemeColorProperty public_oe static_oe property

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