System\Windows\Documents\XamlToRtfWriter.cs (74)
2857XamlAttribute attribute = XamlAttribute.XAUnknown;
2873case XamlAttribute.XAUnknown:
2876case XamlAttribute.XAFontWeight:
2887case XamlAttribute.XAFontSize:
2896case XamlAttribute.XAFontStyle:
2903case XamlAttribute.XAFontFamily:
2910case XamlAttribute.XAFontStretch:
2917case XamlAttribute.XABackground:
2931case XamlAttribute.XAForeground:
2938case XamlAttribute.XAFlowDirection:
2973case XamlAttribute.XATextDecorations:
2994case XamlAttribute.XALocation:
3015case XamlAttribute.XARowSpan:
3029case XamlAttribute.XAColumnSpan:
3043case XamlAttribute.XACellSpacing:
3057case XamlAttribute.XANavigateUri:
3067case XamlAttribute.XAWidth:
3094case XamlAttribute.XAHeight:
3103case XamlAttribute.XABaselineOffset:
3113case XamlAttribute.XASource:
3120case XamlAttribute.XAUriSource:
3127case XamlAttribute.XAStretch:
3134case XamlAttribute.XAStretchDirection:
3141case XamlAttribute.XATypographyVariants:
3162case XamlAttribute.XAMarkerStyle:
3171case XamlAttribute.XAStartIndex:
3180case XamlAttribute.XAMargin:
3193case XamlAttribute.XAPadding:
3216case XamlAttribute.XABorderThickness:
3250case XamlAttribute.XABorderBrush:
3269case XamlAttribute.XATextIndent:
3278case XamlAttribute.XALineHeight:
3288case XamlAttribute.XALang:
3307case XamlAttribute.XATextAlignment:
3377new LookupTableEntry("", (int)XamlAttribute.XAUnknown),
3378new LookupTableEntry("FontWeight", (int)XamlAttribute.XAFontWeight),
3379new LookupTableEntry("FontSize", (int)XamlAttribute.XAFontSize),
3380new LookupTableEntry("FontStyle", (int)XamlAttribute.XAFontStyle),
3381new LookupTableEntry("FontFamily", (int)XamlAttribute.XAFontFamily),
3382new LookupTableEntry("Background", (int)XamlAttribute.XABackground),
3383new LookupTableEntry("Foreground", (int)XamlAttribute.XAForeground),
3384new LookupTableEntry("FlowDirection", (int)XamlAttribute.XAFlowDirection),
3385new LookupTableEntry("TextDecorations", (int)XamlAttribute.XATextDecorations),
3386new LookupTableEntry("TextAlignment", (int)XamlAttribute.XATextAlignment),
3387new LookupTableEntry("MarkerStyle", (int)XamlAttribute.XAMarkerStyle),
3388new LookupTableEntry("TextIndent", (int)XamlAttribute.XATextIndent),
3389new LookupTableEntry("ColumnSpan", (int)XamlAttribute.XAColumnSpan),
3390new LookupTableEntry("RowSpan", (int)XamlAttribute.XARowSpan),
3391new LookupTableEntry("StartIndex", (int)XamlAttribute.XAStartIndex),
3392new LookupTableEntry("MarkerOffset", (int)XamlAttribute.XAMarkerOffset),
3393new LookupTableEntry("BorderThickness", (int)XamlAttribute.XABorderThickness),
3394new LookupTableEntry("BorderBrush", (int)XamlAttribute.XABorderBrush),
3395new LookupTableEntry("Padding", (int)XamlAttribute.XAPadding),
3396new LookupTableEntry("Margin", (int)XamlAttribute.XAMargin),
3397new LookupTableEntry("KeepTogether", (int)XamlAttribute.XAKeepTogether),
3398new LookupTableEntry("KeepWithNext", (int)XamlAttribute.XAKeepWithNext),
3399new LookupTableEntry("BaselineAlignment", (int)XamlAttribute.XABaselineAlignment),
3400new LookupTableEntry("BaselineOffset", (int)XamlAttribute.XABaselineOffset),
3401new LookupTableEntry("NavigateUri", (int)XamlAttribute.XANavigateUri),
3402new LookupTableEntry("TargetName", (int)XamlAttribute.XATargetName),
3403new LookupTableEntry("LineHeight", (int)XamlAttribute.XALineHeight),
3404new LookupTableEntry("xml:lang", (int)XamlAttribute.XALang),
3405new LookupTableEntry("Height", (int)XamlAttribute.XAHeight),
3406new LookupTableEntry("Source", (int)XamlAttribute.XASource),
3407new LookupTableEntry("UriSource", (int)XamlAttribute.XAUriSource),
3408new LookupTableEntry("Stretch", (int)XamlAttribute.XAStretch),
3409new LookupTableEntry("StretchDirection", (int)XamlAttribute.XAStretchDirection),
3412new LookupTableEntry("Location", (int)XamlAttribute.XALocation),
3413new LookupTableEntry("Width", (int)XamlAttribute.XAWidth),
3414new LookupTableEntry("Typography.Variants", (int)XamlAttribute.XATypographyVariants)
3501internal static bool ConvertToAttribute(ConverterState converterState, string attributeName, ref XamlAttribute xamlAttribute)
3508xamlAttribute = (XamlAttribute)BasicLookup(AttributeTable, attributeName);
3510return xamlAttribute != XamlAttribute.XAUnknown;