RectValueSerializer.CanConvertFromString(String, IValueSerializerContext) 方法

定义

确定指定的 String 是否可转换为 Rect 的实例。Determines whether the specified String can be converted to an instance of Rect.

public:
 override bool CanConvertFromString(System::String ^ value, System::Windows::Markup::IValueSerializerContext ^ context);
public override bool CanConvertFromString (string value, System.Windows.Markup.IValueSerializerContext context);
override this.CanConvertFromString : string * System.Windows.Markup.IValueSerializerContext -> bool
Public Overrides Function CanConvertFromString (value As String, context As IValueSerializerContext) As Boolean

参数

value
String

要进行计算以供转换的字符串。String to evaluate for conversion.

context
IValueSerializerContext

用于转换的上下文信息。Context information that is used for conversion.

返回

Boolean

始终返回 trueAlways returns true.

适用于