Author: zoltan
Date: 2007-09-25 19:20:59 -0400 (Tue, 25 Sep 2007)
New Revision: 86371
Modified:
trunk/olive/class/agclr/System.Windows.Documents/ChangeLog
trunk/olive/class/agclr/System.Windows.Documents/Inline.cs
Log:
2007-09-26 Zoltan Varga <[EMAIL PROTECTED]>
* Inline.cs: Use our own properties instead of the TextBlock ones.
Modified: trunk/olive/class/agclr/System.Windows.Documents/ChangeLog
===================================================================
--- trunk/olive/class/agclr/System.Windows.Documents/ChangeLog 2007-09-25
22:54:28 UTC (rev 86370)
+++ trunk/olive/class/agclr/System.Windows.Documents/ChangeLog 2007-09-25
23:20:59 UTC (rev 86371)
@@ -1,3 +1,7 @@
+2007-09-26 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * Inline.cs: Use our own properties instead of the TextBlock ones.
+
2007-07-31 Chris Toshok <[EMAIL PROTECTED]>
* Glyphs.cs: StyleSimulations has switched types from string to
Modified: trunk/olive/class/agclr/System.Windows.Documents/Inline.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Documents/Inline.cs 2007-09-25
22:54:28 UTC (rev 86370)
+++ trunk/olive/class/agclr/System.Windows.Documents/Inline.cs 2007-09-25
23:20:59 UTC (rev 86371)
@@ -34,19 +34,19 @@
public abstract class Inline : DependencyObject {
public static readonly DependencyProperty FontFamilyProperty =
- DependencyProperty.Lookup (Kind.TEXTBLOCK,
"FontFamily", typeof (string));
+ DependencyProperty.Lookup (Kind.INLINE, "FontFamily",
typeof (string));
public static readonly DependencyProperty FontSizeProperty =
- DependencyProperty.Lookup (Kind.TEXTBLOCK, "FontSize",
typeof (double));
+ DependencyProperty.Lookup (Kind.INLINE, "FontSize",
typeof (double));
public static readonly DependencyProperty FontStretchProperty =
- DependencyProperty.Lookup (Kind.TEXTBLOCK,
"FontStretch", typeof (FontStretches));
+ DependencyProperty.Lookup (Kind.INLINE, "FontStretch",
typeof (FontStretches));
public static readonly DependencyProperty FontStyleProperty =
- DependencyProperty.Lookup (Kind.TEXTBLOCK, "FontStyle",
typeof (FontStyles));
+ DependencyProperty.Lookup (Kind.INLINE, "FontStyle",
typeof (FontStyles));
public static readonly DependencyProperty FontWeightProperty =
- DependencyProperty.Lookup (Kind.TEXTBLOCK,
"FontWeight", typeof (int));
+ DependencyProperty.Lookup (Kind.INLINE, "FontWeight",
typeof (int));
public static readonly DependencyProperty ForegroundProperty =
- DependencyProperty.Lookup (Kind.TEXTBLOCK,
"Foreground", typeof (Brush));
+ DependencyProperty.Lookup (Kind.INLINE, "Foreground",
typeof (Brush));
public static readonly DependencyProperty
TextDecorationsProperty =
- DependencyProperty.Lookup (Kind.TEXTBLOCK,
"TextDecorations", typeof (TextDecorations));
+ DependencyProperty.Lookup (Kind.INLINE,
"TextDecorations", typeof (TextDecorations));
public Inline () : base (NativeMethods.glyphs_new ())
{
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches