public PersonPicture() { DefaultStyleKey = typeof(PersonPicture); TemplateSettings = new PersonPictureTemplateSettings(); Unloaded += OnUnloaded; SizeChanged += OnSizeChanged; }
public PersonPicture() { DefaultStyleKey = typeof(PersonPicture); TemplateSettings = new PersonPictureTemplateSettings(); Unloaded += OnUnloaded; SizeChanged += OnSizeChanged; this.RegisterDisposablePropertyChangedCallback((s, p, e) => OnPropertyChanged(e)); }