RelativeValue Constructor
Initializes a new instance of the RelativeValue structure using a RelativePosition and a value.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
reference As RelativePosition, _
value As Double _
)
public RelativeValue(
RelativePosition reference,
double value
)
public:
RelativeValue(
RelativePosition^ reference,
double value
)
new :
reference:RelativePosition *
value:float -> RelativeValue
public function RelativeValue(
reference : RelativePosition,
value : double
)
Parameters
- reference
Type: Microsoft.Windows.Design.Interaction.RelativePosition
The known relative position type for this value.
- value
Type: System.Double
The value for this relative position.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace