You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found this and exactly what I was looking for, so thanks.
When you have the IconVisibility="False", the code deletes the first column every time the AlertBarWpf is displayed. So the first time it runs it does what it's supposed to; removes the icon. The next time the text is shown where the icon would go. Third time the code executes, it throws an exception because there is no more columns to remove.
The line with the issue is this:
grdParent.ColumnDefinitions.RemoveAt(0);
The text was updated successfully, but these errors were encountered:
Found this and exactly what I was looking for, so thanks.
When you have the IconVisibility="False", the code deletes the first column every time the AlertBarWpf is displayed. So the first time it runs it does what it's supposed to; removes the icon. The next time the text is shown where the icon would go. Third time the code executes, it throws an exception because there is no more columns to remove.
The line with the issue is this:
grdParent.ColumnDefinitions.RemoveAt(0);
The text was updated successfully, but these errors were encountered: