C# Class Yuhan.WPF.TextEditor.Demo.FlowDocumentToXamlConverter

Inheritance: IValueConverter
显示文件 Open project: hansuky/Yuhan

Public Methods

Method Description
Convert ( object value, System targetType, object parameter, System culture ) : object

Converts from XAML markup to a WPF FlowDocument.

ConvertBack ( object value, System targetType, object parameter, System culture ) : object

Converts from a WPF FlowDocument to a XAML markup string.

Method Details

Convert() public method

Converts from XAML markup to a WPF FlowDocument.
public Convert ( object value, System targetType, object parameter, System culture ) : object
value object
targetType System
parameter object
culture System
return object

ConvertBack() public method

Converts from a WPF FlowDocument to a XAML markup string.
public ConvertBack ( object value, System targetType, object parameter, System culture ) : object
value object
targetType System
parameter object
culture System
return object