共用方式為


PropertyValue.CanConvertFromString 屬性

在衍生類別中覆寫時,取得值表示 Value 是否可以從字串進行轉換。

命名空間:  Microsoft.Windows.Design.PropertyEditing
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public MustOverride ReadOnly Property CanConvertFromString As Boolean
    Get
public abstract bool CanConvertFromString { get; }
public:
virtual property bool CanConvertFromString {
    bool get () abstract;
}
abstract CanConvertFromString : bool
abstract function get CanConvertFromString () : boolean

屬性值

型別:System.Boolean
如果 Value 可以從字串進行轉換則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

PropertyValue 類別

Microsoft.Windows.Design.PropertyEditing 命名空間

PropertyEntry

PropertyValueEditor

其他資源

WPF 設計工具擴充性

屬性編輯架構