![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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 | custom panel with xaml+codebehind in designer I am writing a custom panel should be used in xaml like this: <custom:TackPanel Orientation="Horizontal"> <custom:TackPanel.Trackdefinitions> <custom:TrackDefinition Size="10" x:Name="Track1" /> <custom:TrackDefinition Size="*" x:Name="Track2"/> <custom:TrackDefinition Size="2*" x:Name="Track3"/> </custom:TackPanel.Trackdefinitions> <Button TrackPanel.Track="0" />something<Button> <Button TrackPanel.Track="1" />somethingelse<Button> </custom:TrackPanel> My problem now ist that the custom panel is internally composed out of several other panels and controls (grid, stackpanel, scrollviewer). This composition should ideally be done in a xaml file (like the vs extension does for a UserControl). The codebeind.cs then works with these internal controls depending on what TrackDefinitions and childelements get added. How can I (preferably using the vs extension) create a custom panel that has a xaml file attached to a codebehind .cs file ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| xaml visual designer | joe | Avalon | 4 | 11-17-2006 05:29 AM |
| RE: XAML Visual Designer | Janet Fisher | Avalon | 6 | 11-16-2006 09:09 AM |
| A new build of the Aurora XAML Designer has been posted | Ron DeSerranno [Mobiform] | Avalon | 0 | 04-08-2006 11:27 AM |
| How to disable XAML Visual Designer | Tim | Avalon | 2 | 04-04-2006 02:56 AM |
| ANN: Aurora XAML Designer Beta 7.5 for WinFX is now available. | Alexandra | Avalon | 0 | 01-10-2006 03:53 PM |