![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | 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 | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Create custom asymmetric encryption algorithm | Vista security | |||
| Can't create a custom page size | Vista print fax & scan | |||
| Info: Can you create your own objects with custom properties. | PowerShell | |||
| Strange border on the Control Panel window | Vista General | |||