共用方式為


IValueConverter Interface

Definition

Interface defining methods for two-way value conversion between types.

public interface IValueConverter
type IValueConverter = interface
Derived

Methods

Convert(Object, Type, Object, CultureInfo)

Implement this method to convert value to targetType by using parameter and culture.

ConvertBack(Object, Type, Object, CultureInfo)

Implement this method to convert value back from targetType by using parameter and culture.

Applies to