簡體   English   中英

WPF UserControl容器C#VS 2010

[英]WPF UserControl Container C# VS 2010

我有一個問題,因為y要創建一個可以作為容器具有功能的UserControl。

我使用了鏈接:

http://support.microsoft.com/kb/813450/en-us?fr=1

但我認為這部分不適用於WPF 4.0:

[Designer(“ System.Windows.Forms.Design.ParentControlDesigner,System.Design”,typeof(IDesigner))]公共類UserControl1:System.Windows.Forms.UserControl {

  ...

}

請幫我

您正在使用Forms UserControl ...

開始使用WPF UserControl ,一切都會好起來!

public class UserControl1 : System.Windows.Controls.UserControl

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM