편집

다음을 통해 공유


RectValueSerializer.ConvertFromString(String, IValueSerializerContext) Method

Definition

Converts a String into a Rect.

public:
 override System::Object ^ ConvertFromString(System::String ^ value, System::Windows::Markup::IValueSerializerContext ^ context);
public override object ConvertFromString (string value, System.Windows.Markup.IValueSerializerContext context);
override this.ConvertFromString : string * System.Windows.Markup.IValueSerializerContext -> obj
Public Overrides Function ConvertFromString (value As String, context As IValueSerializerContext) As Object

Parameters

value
String

The string to convert.

context
IValueSerializerContext

Context information that is used for conversion.

Returns

A new instance of Rect based on the supplied value.

Remarks

The implementation uses Rect.Parse internally.

Applies to