C# Class ModernWPF.Converters.TreeDepthLeftMarginConverter

Inheritance: IValueConverter
Datei anzeigen Open project: soukoku/ModernWPF

Public Methods

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

Converts a value.

ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Not supported.

Private Methods

Method Description
GetDepth ( System.Windows.Controls.TreeViewItem item ) : int
GetParent ( System.Windows.Controls.TreeViewItem item ) : System.Windows.Controls.TreeViewItem

Method Details

Convert() public method

Converts a value.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value produced by the binding source.
targetType System.Type The type of the binding target property.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
return object

ConvertBack() public method

Not supported.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value that is produced by the binding target.
targetType System.Type The type to convert to.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
return object