MouseGestureValueSerializer.CanConvertToString(Object, IValueSerializerContext) メソッド

定義

指定した ModifierKeysString に変換できるかどうかを判断します。Determines if the specified ModifierKeys can be converted to a String.

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

パラメーター

value
Object

変換の評価対象となる変換キー。The modifier keys to evaluate for conversion.

context
IValueSerializerContext

変換に使用されるコンテキスト情報。Context information that is used for conversion.

戻り値

valueString に変換できる場合は true。それ以外の場合は falsetrue if value can be converted into a String; otherwise, false.

適用対象