This project is read-only.

InputDialog border color / thickness

Aug 8, 2013 at 9:59 PM
Hi. I'm trying to change the theme of the InputDialog slightly. I am able to change the background color to black, but I can't seem to get rid of the white border. See picture:


Code I am using now:
var dialog = new InputDialog();
dialog.BackgroundStripeBrush = new SolidColorBrush(Colors.Black);
dialog.Background = new SolidColorBrush(Colors.Black);
Style btn = new Style(typeof(Button));
btn.Setters.Add(new Windows.UI.Xaml.Setter(Button.BackgroundProperty, new SolidColorBrush(Colors.Black)));
dialog.InputText = "Old name";
dialog.ButtonStyle = btn;
var result = await dialog.ShowAsync("Rename group","Please pick a new name", "Cancel", "Change");
dialog.BorderThickness = new Thickness(0.0);  // doesn't help
dialog.BorderBrush = new SolidColorBrush(Colors.Black); // doesn't help
Any suggestions? Thanks.
Aug 9, 2013 at 3:40 PM
Nevermind, just had to put the Border changes before awaiting the dialog.ShowAsync. oops