Results 1 to 2 of 2

Thread: Custom Controls and Windows

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2009
    Posts
    448

    Custom Controls and Windows

    I am trying to learn some more about custom controls in wpf. I am using Microsoft Expression Blend. I have found some tutorials online but most of them seem to leave out alot of details or are very basic a chimp could do it. The other problem is that they dont actually show you the code to add it to the form. They just show you how to do it in xaml. If anyone has any good custom control tutorials please post here for me to see.

    Also I would like to learn more about customizing windows in wpf. I have just broke the surface on that and it seems very highly customizable but not very easy. I have not been able to find any tutorials on this so if anyone finds one please post it here as well.

    Thanks in advance for any help. I know a little about customizing in wpf so if you have any questions just ask.
    If I helped you please rate me.

  2. #2
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Custom Controls and Windows

    When you say customising windows, the best approach I have found is not to try and customise the actual window but just set the window border and background etc to transparent. Then use another control to act as your Window (but your window is still there of course, its just invisible) - for example using a Border then you can set things like the corner rounding and a nice gradient etc and put whatever you want inside the border to make it look like a window border (like I have done in this app: http://www.vbforums.com/showpost.php...3&postcount=42 )
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width