Silverlight對象拖動總結

Silverlight對象拖動總結   在Silverlight中,要實現拖動對象的功能最簡單的方式是採用Canvas做爲父容器,通過動態的改變元素的附加屬性Top、Left即可實現拖動同能。如圖所示: 下例所示:   XAML: <UserControl x:Class="DragExample.MainPage" xmlns="http://schemas.microsoft.com/
相關文章
相關標籤/搜索