原文:ArcGIS API for Silverlight 当DataGrid选中项时,地图聚焦弹出窗口,并可以播放音频文件 先看效果图,然后上代码: <UserControl x:Class="MapClient.PicMusic" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx
In the WPF example the Popup and the ToggleButton (the arrow on the right) are bound with the property IsDropDownOpen: 在模版里面设置 <Popup IsOpen="{TemplateBinding IsDropDownOpen}" ... <ToggleButton IsChecked="{Binding Path=IsDropDownOpen,