C# Класс WebExpress.StaticFunctions

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AnimateColor ( SolidColorBrush from, SolidColorBrush to, UIElement control, double duration ) : void
AnimateColor ( SolidColorBrush from, System to, UIElement control, double duration ) : void
AnimateColor ( System from, System to, UIElement control, double duration ) : void
AnimateFade ( double from, double to, UIElement control, double duration ) : void
AnimateFade ( double from, double to, UIElement control, double duration, System.Action method ) : void
AnimateHeight ( double from, double to, UIElement control, double duration ) : void
AnimateRipple ( double from, double to, UIElement control, double duration ) : void
AnimateScale ( double fromX, double fromY, double toX, double toY, UIElement control, double duration ) : void
ChangeButtonImage ( string filename, System image ) : void
ConvertBytesToMegabytes ( long bytes ) : double
GetDominantColor ( Bitmap bmp ) : Color
ToMediaColor ( System color ) : System.Windows.Media.System.Drawing.Color

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

AnimateColor() публичный статический Метод

public static AnimateColor ( SolidColorBrush from, SolidColorBrush to, UIElement control, double duration ) : void
from System.Windows.Media.SolidColorBrush
to System.Windows.Media.SolidColorBrush
control System.Windows.UIElement
duration double
Результат void

AnimateColor() публичный статический Метод

public static AnimateColor ( SolidColorBrush from, System to, UIElement control, double duration ) : void
from System.Windows.Media.SolidColorBrush
to System
control System.Windows.UIElement
duration double
Результат void

AnimateColor() публичный статический Метод

public static AnimateColor ( System from, System to, UIElement control, double duration ) : void
from System
to System
control System.Windows.UIElement
duration double
Результат void

AnimateFade() публичный статический Метод

public static AnimateFade ( double from, double to, UIElement control, double duration ) : void
from double
to double
control System.Windows.UIElement
duration double
Результат void

AnimateFade() публичный статический Метод

public static AnimateFade ( double from, double to, UIElement control, double duration, System.Action method ) : void
from double
to double
control System.Windows.UIElement
duration double
method System.Action
Результат void

AnimateHeight() публичный статический Метод

public static AnimateHeight ( double from, double to, UIElement control, double duration ) : void
from double
to double
control System.Windows.UIElement
duration double
Результат void

AnimateRipple() публичный статический Метод

public static AnimateRipple ( double from, double to, UIElement control, double duration ) : void
from double
to double
control System.Windows.UIElement
duration double
Результат void

AnimateScale() публичный статический Метод

public static AnimateScale ( double fromX, double fromY, double toX, double toY, UIElement control, double duration ) : void
fromX double
fromY double
toX double
toY double
control System.Windows.UIElement
duration double
Результат void

ChangeButtonImage() публичный статический Метод

public static ChangeButtonImage ( string filename, System image ) : void
filename string
image System
Результат void

ConvertBytesToMegabytes() публичный статический Метод

public static ConvertBytesToMegabytes ( long bytes ) : double
bytes long
Результат double

GetDominantColor() публичный статический Метод

public static GetDominantColor ( Bitmap bmp ) : Color
bmp System.Drawing.Bitmap
Результат System.Drawing.Color

ToMediaColor() публичный статический Метод

public static ToMediaColor ( System color ) : System.Windows.Media.System.Drawing.Color
color System
Результат System.Windows.Media.System.Drawing.Color