Reputation: 11
I need to open a Screen named EditItemTypeView with codes:
public void EditItemType(DAL.ItemTypeDto itemType)
{
EditItemTypeViewModel viewModel = new EditItemTypeViewModel(itemType);
new WindowManager().ShowDialog(viewModel);
}
The dialog shows with a title bar.
I dont need this and what should I do? The target is to show a dialog (keep top) and is there any other solution on this?
Upvotes: 1
Views: 592
Reputation: 3914
var settings = IDictionary (); you can pass in the necessary items to rid your title bar reference the WindowStyle, ShowDialog(viewmodel, settings);
settings.Add("WindowStyle", WindowStyle.ToolWindow);
Upvotes: 1