attachedproperties

WPF attached properties not firing code behind when set in xaml

Hi all. I have a custom ClockFace UserControl which has properties to allow colors, font and hands (as a Path objects) to be changed. This is used in custom TimePicker and Clock UserControls. In these parent controls, the ClockFace properties can be set on the ClockFace object in xaml just fine. What I'm trying to do is expose these Cloc...

Focus on a WPF TextBox doesn not work properly with attached properties

In WPF MVVM environment, I'm trying to ensure that focus is given to a TextBox. What happens is that the Cursor appears in the TextBox but is not flashing and the TextBox does not have focus. The code is: I have a Popup containing this UserControl: <UserControl x:Class="Rendevous.BusinessModules.AdministrationModule.LogonView" ...

The property does not exist in XML namespace

I'm currently working on enabling drag-and-drop support for our company app. The error I keep getting seems weird to me. What this says is that The property 'DragDropHelper.IsDragSource' does not exist in XML namespace 'clr-namespace:DragAndDrop;assembly=DragAndDrop'. Line 61 Position 83 The property is an attached property in the ...