Share via


DoubleToThicknessConverter.Convert Method

Convert a double value to a border thickness.

Syntax

public Object Convert (
         Object value,
         Type targetType,
         Object parameter,
         CultureInfo culture
)

Parameters

  • value
    Type: Object
    The value to convert.
  • targetType
    Type: Type
    Unused.
  • parameter
    Type: Object
    Contains information about which border component to convert. May contain any or all of 'left', 'right', 'top', or 'bottom'.
  • culture
    Type: CultureInfo
    Specifies the Culture in which the application is running. Used during the double conversion.

Return Value

Type: Object
Returns the border thickness as a system object.

Requirements

Namespace: Microsoft.Kinect.Toolkit.Controls

Assembly: Microsoft.Kinect.Toolkit.Controls (in microsoft.kinect.toolkit.controls.dll)

See Also

Reference

DoubleToThicknessConverter Class
DoubleToThicknessConverter Members
Microsoft.Kinect.Toolkit.Controls Namespace