PropertyChanged for indexer property

后端 未结 4 573
天命终不由人
天命终不由人 2020-12-01 04:11

I have a class with an indexer property, with a string key:

public class IndexerProvider {
    public object this[string key] {
        get
        {
                


        
4条回答
  •  不知归路
    2020-12-01 04:55

    Additionaly, you can use

    FirePropertyChanged ("Item[IndexerKeyThingy]");
    

    To notify only controls bound to IndexerKeyThingy on your indexer.

提交回复
热议问题