C# Класс FarsiLibrary.WPF.Controls.Decorators.LunaButtonChrome

Наследование: ButtonChrome
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
FillProperty System.Windows.DependencyProperty
ThemeColorProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
CreateCommonBorderPen System.Windows.Media.Brush
GetDisabledBorderBrush System.Windows.Media.Pen
GetDisabledFillBrush System.Windows.Media.Brush
GetPressedFillBrush System.Windows.Media.Brush
IsValidThemeColor bool

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

DrawBackgroundCore() защищенный Метод

protected DrawBackgroundCore ( System.Windows.Media.DrawingContext dc, Rect bounds ) : bool
dc System.Windows.Media.DrawingContext
bounds System.Windows.Rect
Результат bool

DrawBorder() защищенный Метод

protected DrawBorder ( System.Windows.Media.DrawingContext dc, Rect bounds ) : void
dc System.Windows.Media.DrawingContext
bounds System.Windows.Rect
Результат void

DrawInnerHighlight() защищенный Метод

protected DrawInnerHighlight ( System.Windows.Media.DrawingContext dc, Rect bounds ) : void
dc System.Windows.Media.DrawingContext
bounds System.Windows.Rect
Результат void

DrawOuterHighlight() защищенный Метод

protected DrawOuterHighlight ( System.Windows.Media.DrawingContext dc, Rect bounds ) : bool
dc System.Windows.Media.DrawingContext
bounds System.Windows.Rect
Результат bool

DrawShades() защищенный Метод

protected DrawShades ( System.Windows.Media.DrawingContext dc, Rect bounds ) : void
dc System.Windows.Media.DrawingContext
bounds System.Windows.Rect
Результат void

OnRender() защищенный Метод

protected OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void
drawingContext System.Windows.Media.DrawingContext
Результат void

Описание свойств

FillProperty публичное статическое свойство

public static DependencyProperty,System.Windows FillProperty
Результат System.Windows.DependencyProperty

ThemeColorProperty публичное статическое свойство

public static DependencyProperty,System.Windows ThemeColorProperty
Результат System.Windows.DependencyProperty