public static void SetAttach(DependencyObject d, string attachText) { d.SetValue(AttachProperty, attachText); }