summaryrefslogtreecommitdiff
path: root/Juick/Classes
diff options
context:
space:
mode:
authorGravatar k0st1x2012-10-01 23:40:40 +0400
committerGravatar k0st1x2012-10-01 23:40:40 +0400
commit2edd605343e167dee0eb81b9ab0f4d8368ff7ac4 (patch)
tree3f7b2dad015d8cd6d27e7dac155c5853f515f3e1 /Juick/Classes
parent28986641046c8ee1dc2aba0055dfa36b811b25d2 (diff)
fix 'unspecified error'
Diffstat (limited to 'Juick/Classes')
-rw-r--r--Juick/Classes/ParagraphBindingBehavior.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Juick/Classes/ParagraphBindingBehavior.cs b/Juick/Classes/ParagraphBindingBehavior.cs
index 6a05579..524f4db 100644
--- a/Juick/Classes/ParagraphBindingBehavior.cs
+++ b/Juick/Classes/ParagraphBindingBehavior.cs
@@ -6,6 +6,9 @@ namespace Juick.Classes
{
public static class ParagraphBindingBehavior
{
+ public static readonly DependencyProperty AssignedInlinesProperty =
+ DependencyProperty.RegisterAttached("AssignedInlines", typeof(IEnumerable<Inline>), typeof(Paragraph), new PropertyMetadata(null, AssignedInlinesCallback));
+
static void AssignedInlinesCallback(DependencyObject target, DependencyPropertyChangedEventArgs e)
{
var inlines = ((Paragraph)target).Inlines;
@@ -29,8 +32,5 @@ namespace Juick.Classes
{
obj.SetValue(AssignedInlinesProperty, value);
}
-
- public static readonly DependencyProperty AssignedInlinesProperty =
- DependencyProperty.RegisterAttached("AssignedInlines", typeof(IEnumerable<Inline>), typeof(Paragraph), new PropertyMetadata(null, AssignedInlinesCallback));
}
}