Results 1 to 4 of 4

Thread: Collection Content Property in custom control wpf

  1. #1
    Join Date
    Feb 2009
    Posts
    53

    Collection Content Property in custom control wpf

    How to Build a custom control in WPF which isn't as common as building a custom control, is there any different system controls and simple styles that you can use in your Windows Presentation Foundation (WPF) applications or any other UI enginecollection content property in custom control wpf.

  2. #2
    Join Date
    Dec 2008
    Posts
    161

    Re: Collection Content Property in custom control wpf

    Creating a custom control is quite simple in WPF. But the challenge is to do it the right way. Building a custom control in WPF isn't as common as building a custom control in other UI engines and technologies because there are several ways to customize a built-in control for your needs rather than building a custom control.

  3. #3
    Join Date
    Jan 2006
    Posts
    181

    Re: Collection Content Property in custom control wpf

    However, if these controls or styles do not meet a specific need that you have, you can create a custom control, by creating a Microsoft .NET class that inherits from one of the System.Windows.Controls classes. Many developers continue to write code for items that could be handled more easily with a few lines of XAML, and many WPF demos blindly incorporate large amounts of raw tool-generated XAML.

  4. #4
    Join Date
    Jan 2006
    Posts
    7,109

    Re: Collection Content Property in custom control wpf

    To create the New Project structure, You need to Create a new solution and start with a WPF Custom Control Library. Call it "PopupControlLib". Add a second project of type WPF Application to the solution and call it "PopupControlTest". Content of this popup will be the content of the expander itself. Rename the CustomControl1 to PopupControl.

Similar Threads

  1. Replies: 3
    Last Post: 20-11-2011, 11:16 AM
  2. Replies: 3
    Last Post: 24-02-2011, 11:25 PM
  3. Can I create a custom control in Windows Phone 7
    By mANICKAVASAN in forum Portable Devices
    Replies: 3
    Last Post: 27-10-2010, 11:56 AM
  4. Custom control implementation of a progress bar
    By Hugo Boss in forum Software Development
    Replies: 4
    Last Post: 10-01-2009, 10:39 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,715,176,717.83272 seconds with 17 queries