C# Класс wpf_player.SizeToMarginConverter

Converter class used to convert position information to margin setup to move the position indication in the GUI
Наследование: System.Windows.Markup.MarkupExtension, IMultiValueConverter
Показать файл Открыть проект

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

Метод Описание
Convert ( object values, Type targetType, object parameter, System culture ) : object

Converts the buffer position information to margin information

ConvertBack ( object value, Type targetType, object parameter, System culture ) : object[]

Perform inverse conversion. Currently Not supported

ProvideValue ( IServiceProvider serviceProvider ) : object

Method needed for the extension system. Return the current instance.

SizeToMarginConverter ( ) : System

Default constructor for this class. Sets all margins to zero.

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

Convert() публичный Метод

Converts the buffer position information to margin information
public Convert ( object values, Type targetType, object parameter, System culture ) : object
values object Three elements array. The first is the buffer portion, the second is the bar size /// and the third is the file size
targetType System.Type Unused param
parameter object Unused Param
culture System Unused Param
Результат object

ConvertBack() публичный Метод

Perform inverse conversion. Currently Not supported
public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object[]
value object
targetType System.Type
parameter object
culture System
Результат object[]

ProvideValue() публичный Метод

Method needed for the extension system. Return the current instance.
public ProvideValue ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider
Результат object

SizeToMarginConverter() публичный Метод

Default constructor for this class. Sets all margins to zero.
public SizeToMarginConverter ( ) : System
Результат System