contentcontrol
Loading Views into ContentControl and changing their properties by clicking buttons
I have a mvvm(model view viewmodel) silverlight application that has several views that need to be loaded into ContentControls (i made it all in expression blend). What i dont know how to do is, for e[详细]
2023-03-05 10:16 分类:问答How to set Control Template in code?
I have this in XAML <ControlTemplate TargetType=\"{x:Type Button}\"> <Image ...> </ControlTemplate>[详细]
2023-02-28 06:18 分类:问答TemplateBinding + SIlverlight 4 + Default Style
I have written a content control with an Int Dependency Property in the content Control. The Control has a default style which contains the Template for the control.[详细]
2023-02-20 16:15 分类:问答WPF contentcontrol extend beyond the bounds of its parent control
This is a sort of extension of this question I asked yesterday (the question gave me a contentcontrol that can overlay the current control).I now have a contentcontrol that can be overlayed on the cur[详细]
2023-02-20 05:56 分类:问答WPF in a usercontrol set a controltemplate's content to the value of a dependencyproperty
I am pretty new to WPF, (using it for 3 weeks now), so I might be missing something stupid or not understanding what I am doing![详细]
2023-02-20 02:38 分类:问答Decorating UserControl WPF
I want to decorate some controls in groups like: <UserControl x:Class=\"Infrastructure.UI.ItemsGroup\" ... >[详细]
2023-02-11 15:35 分类:问答WPF - Clipping ContentControl inside Canvas
I have a ContentControl and its content is a custom FrameworkElement. FrameworkElement has only one child and it is a DrawingVisual. Basicly the ContentControl is a container for the DrawingVisual(whi[详细]
2023-02-05 20:43 分类:问答Forcing Arrange in a Custom WPF Canvas
I\'m working on a project that involves creating a custom graphical editor.The graphical editor has multiple tabs, and I want to create a preview function that will show a popup with Bitmap previews o[详细]
2023-02-03 16:15 分类:问答WPF: Can not find the Trigger target 'cc'. The target must appear before any Setters, Triggers
what is wrong about the following code? I get this error during compilation: The property \'TargetName\' does not represent a valid target for the \'Setter\' because an element named \'cc\' was not[详细]
2023-01-30 23:31 分类:问答Problems loading images in a Silverlight ControlTemplate
I have problems accessing images in the ControlTemplate of a \"Silverlight Templated Control\" I implemented. The Style for my control called \"ControlDragger\" is the following:[详细]
2023-01-23 01:42 分类:问答