I am using Caliburn Micro for MVVM,
so i am able to OpenViews, but not able to Move them.
I have set WindowStyle=None and here is my code.
private void OpenView(object ViewModel)
{
windowManager.ShowWindow(ViewModel,
settings: new Dictionary<string, object>
{
{"Background",Brushes.Transparent},
{ "WindowStyle", WindowStyle.None},
{ "ShowInTaskbar", false},
{"AllowsTransparency",true}
});
}
Please help.
Remove your CreateWindow from WindowManager.cs of Caliburn Micro and add this code.