controltemplate
Custom control inconsistency in border brush property?
I have created my own control in WPF. Initially I created it as a usercontrol but found the preferred way to do this is to create a class which inherits from control and then place my respective xaml[详细]
2023-03-19 00:05 分类:问答WPF Validation Control Template overlapping
I\'ve got a user control with a control template to show validation errors, validation template: <ControlTemplate x:Key=\"TextBoxPropertyValidationTemplate\">[详细]
2023-03-15 22:26 分类:问答Change checkbox size WPF
I want to make a bigger checkbox in WPF. I\'ve discovered that I need to d开发者_如何学Goo a control template, one example of which is found here:[详细]
2023-03-11 21:02 分类:问答How to convert an Expander's Style in WPF to Silverlight
I have the following xaml style in WPF, and I would like to开发者_高级运维 port it to silverlight.[详细]
2023-03-11 13:01 分类:问答Switch ContentPresenter of ListBoxItem Based on Selection
I am trying to switch out the ContentPresenter of a ListBoxItem when it is selected, while using multiple DataTemplates to represent different types of data.[详细]
2023-03-11 10:50 分类:问答Image don't appear on button ControlTemplate WPF
I\'m having a problem with ControlTemplates. When I try to put a image in the button, the image don\'t appear on the application. Here the style:[详细]
2023-03-09 22:43 分类:问答WPF: Problem applying style to custom TabItem Header through ControlTemplate and ContentPresenter.Resources
I am trying to write my own control template for a TabItem Header, and have got the basic layout to work but now I wish to apply styling to the content of the Header, for example to manipulate the siz[详细]
2023-03-09 13:45 分类:问答Include a Button in a TextBox
I want to add a little Button, which removes all the text in the TextBox. Is it possible to put this \"Remove\"-Button into the TextBox (like in the iPhone Textboxs)?[详细]
2023-03-08 06:47 分类:问答WPF string escaping - Exception is thrown while creating control template
I am trying to construct a Control template from code behind. Things were working fine till recently I found that the code was throwing an exception because of escape characters in string. The error m[详细]
2023-03-07 17:18 分类:问答Force binding to occur after apply ControlTemplate?
Hey, I am building a CustomControl that has a bunch of dependency properties and a few visual parts like, for example, a Canvas, a TextBox, etc.[详细]
2023-03-07 13:47 分类:问答