I need to trigger a application bar onclick method onload of the page. I have the following methods.
public MapPage()
{
InitializeComponent();
this.Loaded += MapPage_Loaded;
}
void MapPage_Loaded(object sender, RoutedEventArgs e)
{
abc_Checked(null, null);
efc_Checked(null, null);
String selected = amenties[0];
httpRequest(selected);
}
This is the method i would like to call in the onload.
private void clearGraphics_click(object sender, EventArgs e)
Can someone guide me on how to correctly run this clearGraphics_click on load? I tried clearGraphics_click(null,null); It wont work.
Used a Visible="False" on the graphic layers hides the points that is shown.