C# Class Zetbox.Client.WPF.Styles.Controls

Exibir arquivo Open project: daszat/zetbox

Public Properties

Property Type Description
BorderStyleProperty System.Windows.DependencyProperty
HeaderBackgroundProperty System.Windows.DependencyProperty
HeaderForegroundProperty System.Windows.DependencyProperty
HeaderProperty System.Windows.DependencyProperty
HighlightProperty System.Windows.DependencyProperty
HoverBackgroundProperty System.Windows.DependencyProperty
HoverForegroundProperty System.Windows.DependencyProperty
IsSecondaryProperty System.Windows.DependencyProperty
PressedBackgroundProperty System.Windows.DependencyProperty
PressedForegroundProperty System.Windows.DependencyProperty
StopHighlightProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetBorderStyle ( DependencyObject obj ) : System.Windows.Style
GetHeader ( DependencyObject obj ) : String
GetHeaderBackground ( DependencyObject obj ) : System.Windows.Media.Brush
GetHeaderForeground ( DependencyObject obj ) : System.Windows.Media.Brush
GetHighlight ( DependencyObject obj ) : Highlight?
GetHighlightValue ( HighlightState state, string explicitValue, string valueKind ) : object
GetHoverBackground ( DependencyObject obj ) : System.Windows.Media.Brush
GetHoverForeground ( DependencyObject obj ) : System.Windows.Media.Brush
GetIsSecondary ( DependencyObject obj ) : bool
GetPressedBackground ( DependencyObject obj ) : System.Windows.Media.Brush
GetPressedForeground ( DependencyObject obj ) : System.Windows.Media.Brush
GetStopHighlight ( DependencyObject obj ) : bool
SetBorderStyle ( DependencyObject obj, System.Windows.Style value ) : void
SetHeader ( DependencyObject obj, String value ) : void
SetHeaderBackground ( DependencyObject obj, System.Windows.Media.Brush value ) : void
SetHeaderForeground ( DependencyObject obj, System.Windows.Media.Brush value ) : void
SetHighlight ( DependencyObject obj, Zetbox.Client.Presentables.Highlight value ) : void
SetHoverBackground ( DependencyObject obj, System.Windows.Media.Brush value ) : void
SetHoverForeground ( DependencyObject obj, System.Windows.Media.Brush value ) : void
SetIsSecondary ( DependencyObject obj, bool value ) : void
SetPressedBackground ( DependencyObject obj, System.Windows.Media.Brush value ) : void
SetPressedForeground ( DependencyObject obj, System.Windows.Media.Brush value ) : void
SetStopHighlight ( DependencyObject obj, bool value ) : void
highlight_Changed ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
stopHighlight_Changed ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Private Methods

Method Description
ApplyHighlight ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
ConvertFontStyle ( System fontStyle ) : string
ConvertFontWeight ( System fontStyle ) : string

Method Details

GetBorderStyle() public static method

public static GetBorderStyle ( DependencyObject obj ) : System.Windows.Style
obj System.Windows.DependencyObject
return System.Windows.Style

GetHeader() public static method

public static GetHeader ( DependencyObject obj ) : String
obj System.Windows.DependencyObject
return String

GetHeaderBackground() public static method

public static GetHeaderBackground ( DependencyObject obj ) : System.Windows.Media.Brush
obj System.Windows.DependencyObject
return System.Windows.Media.Brush

GetHeaderForeground() public static method

public static GetHeaderForeground ( DependencyObject obj ) : System.Windows.Media.Brush
obj System.Windows.DependencyObject
return System.Windows.Media.Brush

GetHighlight() public static method

public static GetHighlight ( DependencyObject obj ) : Highlight?
obj System.Windows.DependencyObject
return Highlight?

GetHighlightValue() public static method

public static GetHighlightValue ( HighlightState state, string explicitValue, string valueKind ) : object
state HighlightState
explicitValue string
valueKind string
return object

GetHoverBackground() public static method

public static GetHoverBackground ( DependencyObject obj ) : System.Windows.Media.Brush
obj System.Windows.DependencyObject
return System.Windows.Media.Brush

GetHoverForeground() public static method

public static GetHoverForeground ( DependencyObject obj ) : System.Windows.Media.Brush
obj System.Windows.DependencyObject
return System.Windows.Media.Brush

GetIsSecondary() public static method

public static GetIsSecondary ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
return bool

GetPressedBackground() public static method

public static GetPressedBackground ( DependencyObject obj ) : System.Windows.Media.Brush
obj System.Windows.DependencyObject
return System.Windows.Media.Brush

GetPressedForeground() public static method

public static GetPressedForeground ( DependencyObject obj ) : System.Windows.Media.Brush
obj System.Windows.DependencyObject
return System.Windows.Media.Brush

GetStopHighlight() public static method

public static GetStopHighlight ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
return bool

SetBorderStyle() public static method

public static SetBorderStyle ( DependencyObject obj, System.Windows.Style value ) : void
obj System.Windows.DependencyObject
value System.Windows.Style
return void

SetHeader() public static method

public static SetHeader ( DependencyObject obj, String value ) : void
obj System.Windows.DependencyObject
value String
return void

SetHeaderBackground() public static method

public static SetHeaderBackground ( DependencyObject obj, System.Windows.Media.Brush value ) : void
obj System.Windows.DependencyObject
value System.Windows.Media.Brush
return void

SetHeaderForeground() public static method

public static SetHeaderForeground ( DependencyObject obj, System.Windows.Media.Brush value ) : void
obj System.Windows.DependencyObject
value System.Windows.Media.Brush
return void

SetHighlight() public static method

public static SetHighlight ( DependencyObject obj, Zetbox.Client.Presentables.Highlight value ) : void
obj System.Windows.DependencyObject
value Zetbox.Client.Presentables.Highlight
return void

SetHoverBackground() public static method

public static SetHoverBackground ( DependencyObject obj, System.Windows.Media.Brush value ) : void
obj System.Windows.DependencyObject
value System.Windows.Media.Brush
return void

SetHoverForeground() public static method

public static SetHoverForeground ( DependencyObject obj, System.Windows.Media.Brush value ) : void
obj System.Windows.DependencyObject
value System.Windows.Media.Brush
return void

SetIsSecondary() public static method

public static SetIsSecondary ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
return void

SetPressedBackground() public static method

public static SetPressedBackground ( DependencyObject obj, System.Windows.Media.Brush value ) : void
obj System.Windows.DependencyObject
value System.Windows.Media.Brush
return void

SetPressedForeground() public static method

public static SetPressedForeground ( DependencyObject obj, System.Windows.Media.Brush value ) : void
obj System.Windows.DependencyObject
value System.Windows.Media.Brush
return void

SetStopHighlight() public static method

public static SetStopHighlight ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
return void

highlight_Changed() public static method

public static highlight_Changed ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
sender object
e System.Windows.DependencyPropertyChangedEventArgs
return void

stopHighlight_Changed() public static method

public static stopHighlight_Changed ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
sender object
e System.Windows.DependencyPropertyChangedEventArgs
return void

Property Details

BorderStyleProperty public_oe static_oe property

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

HeaderBackgroundProperty public_oe static_oe property

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

HeaderForegroundProperty public_oe static_oe property

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

HeaderProperty public_oe static_oe property

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

HighlightProperty public_oe static_oe property

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

HoverBackgroundProperty public_oe static_oe property

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

HoverForegroundProperty public_oe static_oe property

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

IsSecondaryProperty public_oe static_oe property

Designates a control as secondary. It should be rendered less intense.
public static DependencyProperty,System.Windows IsSecondaryProperty
return System.Windows.DependencyProperty

PressedBackgroundProperty public_oe static_oe property

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

PressedForegroundProperty public_oe static_oe property

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

StopHighlightProperty public_oe static_oe property

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