C# Class Thismaker.Goro.ControlExtensions

Mostrar archivo Open project: ocluse/LiquidSnow

Public Properties

Property Type Description
DesignProperty DependencyProperty
DialogResultProperty DependencyProperty
HeaderProperty DependencyProperty
IconProperty DependencyProperty
PasswordLengthProperty DependencyProperty
PlaceholderTextProperty DependencyProperty

Public Methods

Method Description
GetDesign ( UIElement element ) : IconDesign
GetHeader ( UIElement element ) : string
GetIcon ( UIElement element ) : Icon
GetPasswordLength ( UIElement element ) : int
GetPlaceholderText ( UIElement element ) : string
SetDesign ( UIElement element, IconDesign Design ) : void
SetDialogResult ( Window target, bool? value ) : void
SetHeader ( UIElement element, string header ) : void
SetIcon ( UIElement element, Icon icon ) : void
SetPlaceholderText ( UIElement element, string header ) : void

Private Methods

Method Description
DialogResultChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Method Details

GetDesign() public static method

public static GetDesign ( UIElement element ) : IconDesign
element UIElement
return IconDesign

GetHeader() public static method

public static GetHeader ( UIElement element ) : string
element UIElement
return string

GetIcon() public static method

public static GetIcon ( UIElement element ) : Icon
element UIElement
return Icon

GetPasswordLength() public static method

public static GetPasswordLength ( UIElement element ) : int
element UIElement
return int

GetPlaceholderText() public static method

public static GetPlaceholderText ( UIElement element ) : string
element UIElement
return string

SetDesign() public static method

public static SetDesign ( UIElement element, IconDesign Design ) : void
element UIElement
Design IconDesign
return void

SetDialogResult() public static method

public static SetDialogResult ( Window target, bool? value ) : void
target Window
value bool?
return void

SetHeader() public static method

public static SetHeader ( UIElement element, string header ) : void
element UIElement
header string
return void

SetIcon() public static method

public static SetIcon ( UIElement element, Icon icon ) : void
element UIElement
icon Icon
return void

SetPlaceholderText() public static method

public static SetPlaceholderText ( UIElement element, string header ) : void
element UIElement
header string
return void

Property Details

DesignProperty public_oe static_oe property

public static DependencyProperty DesignProperty
return DependencyProperty

DialogResultProperty public_oe static_oe property

public static DependencyProperty DialogResultProperty
return DependencyProperty

HeaderProperty public_oe static_oe property

public static DependencyProperty HeaderProperty
return DependencyProperty

IconProperty public_oe static_oe property

public static DependencyProperty IconProperty
return DependencyProperty

PasswordLengthProperty public_oe static_oe property

public static DependencyProperty PasswordLengthProperty
return DependencyProperty

PlaceholderTextProperty public_oe static_oe property

public static DependencyProperty PlaceholderTextProperty
return DependencyProperty