美文网首页高一一班
Caliburn.Micro 绑定子ViewModel绑定父Vi

Caliburn.Micro 绑定子ViewModel绑定父Vi

作者: psmyfish | 来源:发表于2020-12-15 15:59 被阅读0次
    <ScrollBar Margin="4"
                          Maximum="500"
                          Minimum="0"
                          Orientation="Horizontal"
                          SmallChange="1"
                          Value="{Binding Pa.TimeOffset}"
    
    private GridSplitterResizeViewModel _pa;
    
            public GridSplitterResizeViewModel Pa
            {
                get => _pa;
                set
                {
                    _pa = value;
                    NotifyOfPropertyChange(()=>Pa);
                }
            }
    

    相关文章

      网友评论

        本文标题:Caliburn.Micro 绑定子ViewModel绑定父Vi

        本文链接:https://www.haomeiwen.com/subject/ykywgktx.html