public OverlayStreamClipItemViewModel(OverlayStreamClipItemModel item) : this() { this.width = item.Width; this.height = item.Height; this.Volume = item.Volume; this.entranceAnimation = item.Effects.EntranceAnimation; this.exitAnimation = item.Effects.ExitAnimation; }
public OverlayStreamClipItemControl(OverlayStreamClipItemModel item) { InitializeComponent(); this.viewModel = new OverlayStreamClipItemViewModel(item); }