Skip to content

PropertyGrid绑定的对象与Prism提供的基类不兼容 #486

@tzm1119

Description

@tzm1119

BindableBase是Prism框架提供的实现INotifyPropertyChanged接口的基类,我把下面的类绑定到PropertyGrid上时,直接报错了

public class PropertyGridDemoModel:BindableBase
{
private string bValue="66";
public string BValue
{
get { return bValue; }
set { SetProperty(ref bValue, value); }
}
}
这个异常还没法看详细信息
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions