I want to create custom container control with development-time support in WPF? How can i do
If you want to have custom container control with development-time support, you can create a ContentControl http://msdn.microsoft.com/en-us/library/system.windows.controls.contentcontrol.aspx to place other user controls inside your control container.
, , , ContentControl. , .
UserControl :
[Designer("System.Windows.Forms.Design.ParentControlDesigner, System.Design", typeof(IDesigner))] public partial class ExpanderControl : UserControl
:
using System.ComponentModel; using System.ComponentModel.Design;