System\Windows\Documents\XamlToRtfWriter.cs (74)
2858XamlAttribute attribute = XamlAttribute.XAUnknown;
2874case XamlAttribute.XAUnknown:
2877case XamlAttribute.XAFontWeight:
2888case XamlAttribute.XAFontSize:
2897case XamlAttribute.XAFontStyle:
2904case XamlAttribute.XAFontFamily:
2911case XamlAttribute.XAFontStretch:
2918case XamlAttribute.XABackground:
2932case XamlAttribute.XAForeground:
2939case XamlAttribute.XAFlowDirection:
2974case XamlAttribute.XATextDecorations:
2995case XamlAttribute.XALocation:
3016case XamlAttribute.XARowSpan:
3030case XamlAttribute.XAColumnSpan:
3044case XamlAttribute.XACellSpacing:
3058case XamlAttribute.XANavigateUri:
3068case XamlAttribute.XAWidth:
3095case XamlAttribute.XAHeight:
3104case XamlAttribute.XABaselineOffset:
3114case XamlAttribute.XASource:
3121case XamlAttribute.XAUriSource:
3128case XamlAttribute.XAStretch:
3135case XamlAttribute.XAStretchDirection:
3142case XamlAttribute.XATypographyVariants:
3163case XamlAttribute.XAMarkerStyle:
3172case XamlAttribute.XAStartIndex:
3181case XamlAttribute.XAMargin:
3194case XamlAttribute.XAPadding:
3217case XamlAttribute.XABorderThickness:
3251case XamlAttribute.XABorderBrush:
3270case XamlAttribute.XATextIndent:
3279case XamlAttribute.XALineHeight:
3289case XamlAttribute.XALang:
3308case XamlAttribute.XATextAlignment:
3378new LookupTableEntry("", (int)XamlAttribute.XAUnknown),
3379new LookupTableEntry("FontWeight", (int)XamlAttribute.XAFontWeight),
3380new LookupTableEntry("FontSize", (int)XamlAttribute.XAFontSize),
3381new LookupTableEntry("FontStyle", (int)XamlAttribute.XAFontStyle),
3382new LookupTableEntry("FontFamily", (int)XamlAttribute.XAFontFamily),
3383new LookupTableEntry("Background", (int)XamlAttribute.XABackground),
3384new LookupTableEntry("Foreground", (int)XamlAttribute.XAForeground),
3385new LookupTableEntry("FlowDirection", (int)XamlAttribute.XAFlowDirection),
3386new LookupTableEntry("TextDecorations", (int)XamlAttribute.XATextDecorations),
3387new LookupTableEntry("TextAlignment", (int)XamlAttribute.XATextAlignment),
3388new LookupTableEntry("MarkerStyle", (int)XamlAttribute.XAMarkerStyle),
3389new LookupTableEntry("TextIndent", (int)XamlAttribute.XATextIndent),
3390new LookupTableEntry("ColumnSpan", (int)XamlAttribute.XAColumnSpan),
3391new LookupTableEntry("RowSpan", (int)XamlAttribute.XARowSpan),
3392new LookupTableEntry("StartIndex", (int)XamlAttribute.XAStartIndex),
3393new LookupTableEntry("MarkerOffset", (int)XamlAttribute.XAMarkerOffset),
3394new LookupTableEntry("BorderThickness", (int)XamlAttribute.XABorderThickness),
3395new LookupTableEntry("BorderBrush", (int)XamlAttribute.XABorderBrush),
3396new LookupTableEntry("Padding", (int)XamlAttribute.XAPadding),
3397new LookupTableEntry("Margin", (int)XamlAttribute.XAMargin),
3398new LookupTableEntry("KeepTogether", (int)XamlAttribute.XAKeepTogether),
3399new LookupTableEntry("KeepWithNext", (int)XamlAttribute.XAKeepWithNext),
3400new LookupTableEntry("BaselineAlignment", (int)XamlAttribute.XABaselineAlignment),
3401new LookupTableEntry("BaselineOffset", (int)XamlAttribute.XABaselineOffset),
3402new LookupTableEntry("NavigateUri", (int)XamlAttribute.XANavigateUri),
3403new LookupTableEntry("TargetName", (int)XamlAttribute.XATargetName),
3404new LookupTableEntry("LineHeight", (int)XamlAttribute.XALineHeight),
3405new LookupTableEntry("xml:lang", (int)XamlAttribute.XALang),
3406new LookupTableEntry("Height", (int)XamlAttribute.XAHeight),
3407new LookupTableEntry("Source", (int)XamlAttribute.XASource),
3408new LookupTableEntry("UriSource", (int)XamlAttribute.XAUriSource),
3409new LookupTableEntry("Stretch", (int)XamlAttribute.XAStretch),
3410new LookupTableEntry("StretchDirection", (int)XamlAttribute.XAStretchDirection),
3413new LookupTableEntry("Location", (int)XamlAttribute.XALocation),
3414new LookupTableEntry("Width", (int)XamlAttribute.XAWidth),
3415new LookupTableEntry("Typography.Variants", (int)XamlAttribute.XATypographyVariants)
3502internal static bool ConvertToAttribute(ConverterState converterState, string attributeName, ref XamlAttribute xamlAttribute)
3509xamlAttribute = (XamlAttribute)BasicLookup(AttributeTable, attributeName);
3511return xamlAttribute != XamlAttribute.XAUnknown;