示例#1
0
        public PersonPicture()
        {
            DefaultStyleKey = typeof(PersonPicture);

            TemplateSettings = new PersonPictureTemplateSettings();

            Unloaded    += OnUnloaded;
            SizeChanged += OnSizeChanged;
        }
示例#2
0
        public PersonPicture()
        {
            DefaultStyleKey = typeof(PersonPicture);

            TemplateSettings = new PersonPictureTemplateSettings();

            Unloaded    += OnUnloaded;
            SizeChanged += OnSizeChanged;

            this.RegisterDisposablePropertyChangedCallback((s, p, e) => OnPropertyChanged(e));
        }