public override void GenerateView() { View = new ZoomableImage(PostMedia.Width, PostMedia.Height) { Source = PostMedia.Url }; }
public ImageAttachmentZoomableControl() { _image = new ZoomableImage(); base.Children.Add(_image); }