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
파일 보기 프로젝트 열기: zencoders/sambatyon

공개 메소드들

메소드 설명
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