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?
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);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.