C# Class Dynamo.Controls.ListIndexMarginConverter

Converter is used in WatchTree.xaml It converts the boolean value of WatchViewModel.IsCollection to determine the margin of the listnode textblock
Inheritance: IValueConverter
Mostra file Open project: DynamoDS/Dynamo

Public Methods

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

Method Details

Convert() public method

public Convert ( object value, Type targetType, object parameter, System culture ) : object
value object
targetType System.Type
parameter object
culture System
return object

ConvertBack() public method

public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object
targetType System.Type
parameter object
culture System
return object