src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (74)
2864XamlAttribute attribute = XamlAttribute.XAUnknown;
2880case XamlAttribute.XAUnknown:
2883case XamlAttribute.XAFontWeight:
2894case XamlAttribute.XAFontSize:
2903case XamlAttribute.XAFontStyle:
2910case XamlAttribute.XAFontFamily:
2917case XamlAttribute.XAFontStretch:
2924case XamlAttribute.XABackground:
2938case XamlAttribute.XAForeground:
2945case XamlAttribute.XAFlowDirection:
2980case XamlAttribute.XATextDecorations:
3001case XamlAttribute.XALocation:
3022case XamlAttribute.XARowSpan:
3036case XamlAttribute.XAColumnSpan:
3050case XamlAttribute.XACellSpacing:
3064case XamlAttribute.XANavigateUri:
3074case XamlAttribute.XAWidth:
3101case XamlAttribute.XAHeight:
3110case XamlAttribute.XABaselineOffset:
3120case XamlAttribute.XASource:
3127case XamlAttribute.XAUriSource:
3134case XamlAttribute.XAStretch:
3141case XamlAttribute.XAStretchDirection:
3148case XamlAttribute.XATypographyVariants:
3169case XamlAttribute.XAMarkerStyle:
3178case XamlAttribute.XAStartIndex:
3187case XamlAttribute.XAMargin:
3200case XamlAttribute.XAPadding:
3223case XamlAttribute.XABorderThickness:
3257case XamlAttribute.XABorderBrush:
3276case XamlAttribute.XATextIndent:
3285case XamlAttribute.XALineHeight:
3295case XamlAttribute.XALang:
3314case XamlAttribute.XATextAlignment:
3384new LookupTableEntry("", (int)XamlAttribute.XAUnknown),
3385new LookupTableEntry("FontWeight", (int)XamlAttribute.XAFontWeight),
3386new LookupTableEntry("FontSize", (int)XamlAttribute.XAFontSize),
3387new LookupTableEntry("FontStyle", (int)XamlAttribute.XAFontStyle),
3388new LookupTableEntry("FontFamily", (int)XamlAttribute.XAFontFamily),
3389new LookupTableEntry("Background", (int)XamlAttribute.XABackground),
3390new LookupTableEntry("Foreground", (int)XamlAttribute.XAForeground),
3391new LookupTableEntry("FlowDirection", (int)XamlAttribute.XAFlowDirection),
3392new LookupTableEntry("TextDecorations", (int)XamlAttribute.XATextDecorations),
3393new LookupTableEntry("TextAlignment", (int)XamlAttribute.XATextAlignment),
3394new LookupTableEntry("MarkerStyle", (int)XamlAttribute.XAMarkerStyle),
3395new LookupTableEntry("TextIndent", (int)XamlAttribute.XATextIndent),
3396new LookupTableEntry("ColumnSpan", (int)XamlAttribute.XAColumnSpan),
3397new LookupTableEntry("RowSpan", (int)XamlAttribute.XARowSpan),
3398new LookupTableEntry("StartIndex", (int)XamlAttribute.XAStartIndex),
3399new LookupTableEntry("MarkerOffset", (int)XamlAttribute.XAMarkerOffset),
3400new LookupTableEntry("BorderThickness", (int)XamlAttribute.XABorderThickness),
3401new LookupTableEntry("BorderBrush", (int)XamlAttribute.XABorderBrush),
3402new LookupTableEntry("Padding", (int)XamlAttribute.XAPadding),
3403new LookupTableEntry("Margin", (int)XamlAttribute.XAMargin),
3404new LookupTableEntry("KeepTogether", (int)XamlAttribute.XAKeepTogether),
3405new LookupTableEntry("KeepWithNext", (int)XamlAttribute.XAKeepWithNext),
3406new LookupTableEntry("BaselineAlignment", (int)XamlAttribute.XABaselineAlignment),
3407new LookupTableEntry("BaselineOffset", (int)XamlAttribute.XABaselineOffset),
3408new LookupTableEntry("NavigateUri", (int)XamlAttribute.XANavigateUri),
3409new LookupTableEntry("TargetName", (int)XamlAttribute.XATargetName),
3410new LookupTableEntry("LineHeight", (int)XamlAttribute.XALineHeight),
3411new LookupTableEntry("xml:lang", (int)XamlAttribute.XALang),
3412new LookupTableEntry("Height", (int)XamlAttribute.XAHeight),
3413new LookupTableEntry("Source", (int)XamlAttribute.XASource),
3414new LookupTableEntry("UriSource", (int)XamlAttribute.XAUriSource),
3415new LookupTableEntry("Stretch", (int)XamlAttribute.XAStretch),
3416new LookupTableEntry("StretchDirection", (int)XamlAttribute.XAStretchDirection),
3419new LookupTableEntry("Location", (int)XamlAttribute.XALocation),
3420new LookupTableEntry("Width", (int)XamlAttribute.XAWidth),
3421new LookupTableEntry("Typography.Variants", (int)XamlAttribute.XATypographyVariants)
3508internal static bool ConvertToAttribute(ConverterState converterState, string attributeName, ref XamlAttribute xamlAttribute)
3515xamlAttribute = (XamlAttribute)BasicLookup(AttributeTable, attributeName);
3517return xamlAttribute != XamlAttribute.XAUnknown;