public static TextDecorationCollection GetTextDecorations(this ResourceDictionary resource) { return(resource.Get <TextDecorationCollection>(Constants.EditorFormatKeys.TextDecorations)); }
public static WpfBrush GetBrush(this ResourceDictionary resource, string resourceId = EditorFormatDefinition.ForegroundBrushId) { return(resource.Get <WpfBrush>(resourceId)); }
public static WpfBrush GetBackgroundBrush(this ResourceDictionary resource) { return(resource.Get <WpfBrush>(EditorFormatDefinition.BackgroundBrushId)); }
public static Typeface GetTypeface(this ResourceDictionary resource) { return(resource.Get <Typeface>(Constants.EditorFormatKeys.Typeface)); }