System\Windows\Documents\XamlToRtfWriter.cs (74)
2856XamlAttribute attribute = XamlAttribute.XAUnknown;
2872case XamlAttribute.XAUnknown:
2875case XamlAttribute.XAFontWeight:
2886case XamlAttribute.XAFontSize:
2895case XamlAttribute.XAFontStyle:
2902case XamlAttribute.XAFontFamily:
2909case XamlAttribute.XAFontStretch:
2916case XamlAttribute.XABackground:
2930case XamlAttribute.XAForeground:
2937case XamlAttribute.XAFlowDirection:
2972case XamlAttribute.XATextDecorations:
2993case XamlAttribute.XALocation:
3014case XamlAttribute.XARowSpan:
3028case XamlAttribute.XAColumnSpan:
3042case XamlAttribute.XACellSpacing:
3056case XamlAttribute.XANavigateUri:
3066case XamlAttribute.XAWidth:
3093case XamlAttribute.XAHeight:
3102case XamlAttribute.XABaselineOffset:
3112case XamlAttribute.XASource:
3119case XamlAttribute.XAUriSource:
3126case XamlAttribute.XAStretch:
3133case XamlAttribute.XAStretchDirection:
3140case XamlAttribute.XATypographyVariants:
3161case XamlAttribute.XAMarkerStyle:
3170case XamlAttribute.XAStartIndex:
3179case XamlAttribute.XAMargin:
3192case XamlAttribute.XAPadding:
3215case XamlAttribute.XABorderThickness:
3249case XamlAttribute.XABorderBrush:
3268case XamlAttribute.XATextIndent:
3277case XamlAttribute.XALineHeight:
3287case XamlAttribute.XALang:
3306case XamlAttribute.XATextAlignment:
3376new LookupTableEntry("", (int)XamlAttribute.XAUnknown),
3377new LookupTableEntry("FontWeight", (int)XamlAttribute.XAFontWeight),
3378new LookupTableEntry("FontSize", (int)XamlAttribute.XAFontSize),
3379new LookupTableEntry("FontStyle", (int)XamlAttribute.XAFontStyle),
3380new LookupTableEntry("FontFamily", (int)XamlAttribute.XAFontFamily),
3381new LookupTableEntry("Background", (int)XamlAttribute.XABackground),
3382new LookupTableEntry("Foreground", (int)XamlAttribute.XAForeground),
3383new LookupTableEntry("FlowDirection", (int)XamlAttribute.XAFlowDirection),
3384new LookupTableEntry("TextDecorations", (int)XamlAttribute.XATextDecorations),
3385new LookupTableEntry("TextAlignment", (int)XamlAttribute.XATextAlignment),
3386new LookupTableEntry("MarkerStyle", (int)XamlAttribute.XAMarkerStyle),
3387new LookupTableEntry("TextIndent", (int)XamlAttribute.XATextIndent),
3388new LookupTableEntry("ColumnSpan", (int)XamlAttribute.XAColumnSpan),
3389new LookupTableEntry("RowSpan", (int)XamlAttribute.XARowSpan),
3390new LookupTableEntry("StartIndex", (int)XamlAttribute.XAStartIndex),
3391new LookupTableEntry("MarkerOffset", (int)XamlAttribute.XAMarkerOffset),
3392new LookupTableEntry("BorderThickness", (int)XamlAttribute.XABorderThickness),
3393new LookupTableEntry("BorderBrush", (int)XamlAttribute.XABorderBrush),
3394new LookupTableEntry("Padding", (int)XamlAttribute.XAPadding),
3395new LookupTableEntry("Margin", (int)XamlAttribute.XAMargin),
3396new LookupTableEntry("KeepTogether", (int)XamlAttribute.XAKeepTogether),
3397new LookupTableEntry("KeepWithNext", (int)XamlAttribute.XAKeepWithNext),
3398new LookupTableEntry("BaselineAlignment", (int)XamlAttribute.XABaselineAlignment),
3399new LookupTableEntry("BaselineOffset", (int)XamlAttribute.XABaselineOffset),
3400new LookupTableEntry("NavigateUri", (int)XamlAttribute.XANavigateUri),
3401new LookupTableEntry("TargetName", (int)XamlAttribute.XATargetName),
3402new LookupTableEntry("LineHeight", (int)XamlAttribute.XALineHeight),
3403new LookupTableEntry("xml:lang", (int)XamlAttribute.XALang),
3404new LookupTableEntry("Height", (int)XamlAttribute.XAHeight),
3405new LookupTableEntry("Source", (int)XamlAttribute.XASource),
3406new LookupTableEntry("UriSource", (int)XamlAttribute.XAUriSource),
3407new LookupTableEntry("Stretch", (int)XamlAttribute.XAStretch),
3408new LookupTableEntry("StretchDirection", (int)XamlAttribute.XAStretchDirection),
3411new LookupTableEntry("Location", (int)XamlAttribute.XALocation),
3412new LookupTableEntry("Width", (int)XamlAttribute.XAWidth),
3413new LookupTableEntry("Typography.Variants", (int)XamlAttribute.XATypographyVariants)
3500internal static bool ConvertToAttribute(ConverterState converterState, string attributeName, ref XamlAttribute xamlAttribute)
3507xamlAttribute = (XamlAttribute)BasicLookup(AttributeTable, attributeName);
3509return xamlAttribute != XamlAttribute.XAUnknown;