Свойство | Тип | Описание | |
---|---|---|---|
ERROR_BRUSH | System.Windows.Media.Brush | ||
SUCCESS_BRUSH | System.Windows.Media.Brush | ||
flashBackground | System.Windows.Media.Brush | ||
flashObject | object |
Метод | Описание | |
---|---|---|
CmbIndexByValue ( |
Searches combobox items by their value
|
|
TodayDate ( System.DateTime Date ) : string |
Returns a short DateString if the input date is today, long DateString otherwise
|
|
flash ( object sender, System.Windows.Media.Brush color = null, int duration = 4000 ) : void |
Flash an UI element to give visual feedback on action result. An example would be flashing the Save button red after an unsuccessful save.
|
|
timer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void |
Called when the flashing timer activates. Resets the background,
|
public static CmbIndexByValue ( |
||
combo | Reference to to combobox (SetValuePath) | |
s | int | Searched value |
Результат | int |
public static TodayDate ( System.DateTime Date ) : string | ||
Date | System.DateTime | |
Результат | string |
public static flash ( object sender, System.Windows.Media.Brush color = null, int duration = 4000 ) : void | ||
sender | object | The target object (button) |
color | System.Windows.Media.Brush | The Brush to paint the object with |
duration | int | How long to flash |
Результат | void |
public static timer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void | ||
sender | object | |
e | System.Timers.ElapsedEventArgs | |
Результат | void |
public static Brush,System.Windows.Media ERROR_BRUSH | ||
Результат | System.Windows.Media.Brush |
public static Brush,System.Windows.Media SUCCESS_BRUSH | ||
Результат | System.Windows.Media.Brush |
public static Brush,System.Windows.Media flashBackground | ||
Результат | System.Windows.Media.Brush |