Méthode | Description | |
---|---|---|
Convert ( object value, |
Convert a TreeViewItem into a value based on the depth of the item in the TreeView.
|
|
ConvertBack ( object value, |
Convert an indentation back into a TreeViewItem. This always throws a NotSupportedException.
|
|
TreeViewItemIndentationConverter ( ) : System |
Initializes a new instance of the TreeViewItemIndentationConverter class.
|
Méthode | Description | |
---|---|---|
WrapIndentation ( double indentation, |
Wrap the indentation in the desired type.
|
public Convert ( object value, |
||
value | object | The TreeViewItem. |
targetType | /// The indentation type to convert to (such as Thickness or double). /// | |
parameter | object | /// The number of pixels to indent each level of the TreeView. A /// default value of 15.0 will be used if no parameter is provided. /// |
culture | /// The culture used to convert the TreeViewItem. /// | |
Résultat | object |
public ConvertBack ( object value, |
||
value | object | The indentation. |
targetType | The type of the indentation. | |
parameter | object | /// The number of pixels to indent each level of the TreeView. /// |
culture | /// The culture used to convert the TreeViewItem. /// | |
Résultat | object |
public TreeViewItemIndentationConverter ( ) : System | ||
Résultat | System |