control-template

Checked status not updated in CheckBox template

Hey there. I'm trying to create an hyperlink that changes its text depending on a boolean value. I thought I could leverage the IsChecked method of a CheckBox. So I wrote this ControlTemplate for a CheckBox: <CheckBox Checked="CheckBox_Checked" IsChecked="{Binding Path=SomeBool, Mode=TwoWay}"> <CheckBox.Template> <Contro...

WPF ListBox, how to hide border and change selected item background color?

Hi, I'd like to hide the border of ListBox, and make background of selected item the same as unselected ones. How do I do this? Thx! ...

WPF - Control Template and control visibility based on data

Hi All, Hi I am using Control template to display listbox items. I want to set the visibility of the control based on the item value. I need the same http://efreedom.com/Question/1-424562/Can-Replace-Image-WPF-Grid-Another-Control-Depending-Source-Data How to include this option in my code. (If the image source [ImgUrl] value is null ...