<actions:ToggleVisibilityAction TargetName="MainPage.MyBaseMaps" /> I am not sure the parameter I set for the TargetName is correct.
<actions:ToggleVisibilityAction TargetName="MyBaseMaps" />
Problem solved. Closed.
this.MyMap.Visibility = System.Windows.Visibility.Collapsed;
this.MyMap.Layers["StreetMap"].Visible = false;
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.