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

Inheritance: ButtonChrome
Afficher le fichier Open project: HEskandari/FarsiLibrary

Méthodes publiques

Свойство Type Description
FillProperty System.Windows.DependencyProperty
ThemeColorProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
CreateCommonBorderPen System.Windows.Media.Brush
GetDisabledBorderBrush System.Windows.Media.Pen
GetDisabledFillBrush System.Windows.Media.Brush
GetPressedFillBrush System.Windows.Media.Brush
IsValidThemeColor bool

Méthodes protégées

Méthode 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

Méthode 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 méthode

protected DrawBackgroundCore ( System.Windows.Media.DrawingContext dc, Rect bounds ) : bool
dc System.Windows.Media.DrawingContext
bounds System.Windows.Rect
Résultat bool

DrawBorder() protected méthode

protected DrawBorder ( System.Windows.Media.DrawingContext dc, Rect bounds ) : void
dc System.Windows.Media.DrawingContext
bounds System.Windows.Rect
Résultat void

DrawInnerHighlight() protected méthode

protected DrawInnerHighlight ( System.Windows.Media.DrawingContext dc, Rect bounds ) : void
dc System.Windows.Media.DrawingContext
bounds System.Windows.Rect
Résultat void

DrawOuterHighlight() protected méthode

protected DrawOuterHighlight ( System.Windows.Media.DrawingContext dc, Rect bounds ) : bool
dc System.Windows.Media.DrawingContext
bounds System.Windows.Rect
Résultat bool

DrawShades() protected méthode

protected DrawShades ( System.Windows.Media.DrawingContext dc, Rect bounds ) : void
dc System.Windows.Media.DrawingContext
bounds System.Windows.Rect
Résultat void

OnRender() protected méthode

protected OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void
drawingContext System.Windows.Media.DrawingContext
Résultat void

Property Details

FillProperty public_oe static_oe property

public static DependencyProperty,System.Windows FillProperty
Résultat System.Windows.DependencyProperty

ThemeColorProperty public_oe static_oe property

public static DependencyProperty,System.Windows ThemeColorProperty
Résultat System.Windows.DependencyProperty