![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Create Custom Border Panel? I don't know the right way to go about this but I'd like to create a Control like a Border Panel that can hold another element, but that has a custom header on it that I define and can reuse. I tried to edit the Control template of a Border but don't know its format or if its even possible. I want to do something along these lines: <Style TargetType="{x:Type local:MyPanel}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type local:MyPanel}"> <!--My header xaml ... ......--> <Border Background="Blue" Width="200" Height="200"> <element that lets junk be added into it in xaml/> </Border> </ControlTemplate> </Setter.Value> </Setter> </Style> |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can I create a Default output format for custom objects | RickB | PowerShell | 0 | 08-01-2008 09:39 AM |
| Howto create custom objects/classes | Carson | PowerShell | 2 | 03-28-2008 08:32 AM |
| custom panel with xaml+codebehind in designer | Robert Ludig | Avalon | 0 | 03-16-2007 07:15 AM |
| Info: Can you create your own objects with custom properties. | Brandon Shell | PowerShell | 8 | 08-28-2006 03:22 PM |
| Strange border on the Control Panel window | Colin Barnhorst | Vista General | 4 | 06-24-2006 07:46 PM |